Puppet Class: profile::openstack::eqiad1::cloudgw

Defined in:
modules/profile/manifests/openstack/eqiad1/cloudgw.pp

Overview

Parameters:

  • dmz_cidr (Array[Stdlib::IP::Address::V4::Nosubnet]) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::dmz_cidr', {default_value => ['0.0.0.0']}))
  • routing_source (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::routing_source_ip',{default_value => '185.15.57.1'}))
  • virt_subnet (Stdlib::IP::Address::V4::CIDR) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::virt_subnet_cidr', {default_value => '172.16.128.0/24'}))
  • virt_vlan (Integer) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::virt_vlan', {default_value => 2107}))
  • virt_peer (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::virt_peer', {default_value => '127.0.0.5'}))
  • virt_floating (Stdlib::IP::Address::V4::CIDR) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::virt_floating', {default_value => '127.0.0.5/24'}))
  • virt_floating_additional (Optional[Stdlib::IP::Address::V4::CIDR]) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::virt_floating_additional', {default_value => undef}))
  • wan_vlan (Integer) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::wan_vlan', {default_value => 2120}))
  • wan_addr (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::wan_addr', {default_value => '127.0.0.4'}))
  • wan_netm (Integer) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::wan_netm', {default_value => 8}))
  • wan_gw (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::wan_gw', {default_value => '127.0.0.1'}))
  • vrrp_vips (Array[String]) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::vrrp_vips', {default_value => ['127.0.0.1 dev eno2']}))
  • vrrp_peer (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::vrrp_peer', {default_value => '127.0.0.1'}))
  • conntrackd (Hash) (defaults to: lookup('profile::openstack::eqiad1::cloudgw::conntrackd', {default_value => {}}))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'modules/profile/manifests/openstack/eqiad1/cloudgw.pp', line 1

class profile::openstack::eqiad1::cloudgw (
    Array[Stdlib::IP::Address::V4::Nosubnet] $dmz_cidr = lookup('profile::openstack::eqiad1::cloudgw::dmz_cidr',    {default_value => ['0.0.0.0']}),
    Stdlib::IP::Address           $routing_source = lookup('profile::openstack::eqiad1::cloudgw::routing_source_ip',{default_value => '185.15.57.1'}),
    Stdlib::IP::Address::V4::CIDR $virt_subnet    = lookup('profile::openstack::eqiad1::cloudgw::virt_subnet_cidr', {default_value => '172.16.128.0/24'}),
    Integer                       $virt_vlan      = lookup('profile::openstack::eqiad1::cloudgw::virt_vlan',        {default_value => 2107}),
    Stdlib::IP::Address           $virt_peer      = lookup('profile::openstack::eqiad1::cloudgw::virt_peer',        {default_value => '127.0.0.5'}),
    Stdlib::IP::Address::V4::CIDR $virt_floating  = lookup('profile::openstack::eqiad1::cloudgw::virt_floating',    {default_value => '127.0.0.5/24'}),
    Optional[Stdlib::IP::Address::V4::CIDR] $virt_floating_additional  = lookup('profile::openstack::eqiad1::cloudgw::virt_floating_additional', {default_value => undef}),
    Integer                       $wan_vlan       = lookup('profile::openstack::eqiad1::cloudgw::wan_vlan',         {default_value => 2120}),
    Stdlib::IP::Address           $wan_addr       = lookup('profile::openstack::eqiad1::cloudgw::wan_addr',         {default_value => '127.0.0.4'}),
    Integer                       $wan_netm       = lookup('profile::openstack::eqiad1::cloudgw::wan_netm',         {default_value => 8}),
    Stdlib::IP::Address           $wan_gw         = lookup('profile::openstack::eqiad1::cloudgw::wan_gw',           {default_value => '127.0.0.1'}),
    Array[String]                 $vrrp_vips      = lookup('profile::openstack::eqiad1::cloudgw::vrrp_vips',        {default_value => ['127.0.0.1 dev eno2']}),
    Stdlib::IP::Address           $vrrp_peer      = lookup('profile::openstack::eqiad1::cloudgw::vrrp_peer',        {default_value => '127.0.0.1'}),
    Hash                          $conntrackd     = lookup('profile::openstack::eqiad1::cloudgw::conntrackd',       {default_value => {}}),
) {
    class { '::profile::openstack::base::cloudgw':
        dmz_cidr                 => $dmz_cidr,
        routing_source           => $routing_source,
        virt_subnet              => $virt_subnet,
        virt_vlan                => $virt_vlan,
        virt_peer                => $virt_peer,
        virt_floating            => $virt_floating,
        virt_floating_additional => $virt_floating_additional,
        virt_cidr                => $virt_subnet,
        wan_vlan                 => $wan_vlan,
        wan_addr                 => $wan_addr,
        wan_netm                 => $wan_netm,
        wan_gw                   => $wan_gw,
        vrrp_vips                => $vrrp_vips,
        vrrp_peer                => $vrrp_peer,
        conntrackd               => $conntrackd,
    }
    contain '::profile::openstack::base::cloudgw'
}