Puppet Class: profile::openstack::codfw1dev::cloudgw

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

Overview

Parameters:

  • dmz_cidr (Array[Stdlib::IP::Address::V4::Nosubnet]) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::dmz_cidr', {default_value => ['0.0.0.0']}))
  • routing_source (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::routing_source_ip',{default_value => '185.15.57.1'}))
  • virt_subnet (Stdlib::IP::Address::V4::CIDR) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::virt_subnet_cidr', {default_value => '172.16.128.0/24'}))
  • virt_vlan (Integer) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::virt_vlan', {default_value => 2107}))
  • virt_peer (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::virt_peer', {default_value => '127.0.0.5'}))
  • virt_floating (Stdlib::IP::Address::V4::CIDR) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::virt_floating', {default_value => '127.0.0.5/24'}))
  • wan_vlan (Integer) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::wan_vlan', {default_value => 2120}))
  • wan_addr (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::wan_addr', {default_value => '127.0.0.4'}))
  • wan_netm (Integer) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::wan_netm', {default_value => 8}))
  • wan_gw (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::wan_gw', {default_value => '127.0.0.1'}))
  • nic_sshplane (String) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::nic_controlplane', {default_value => 'eno1'}))
  • nic_dataplane (String) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::nic_dataplane', {default_value => 'eno2'}))
  • vrrp_vips (Array[String]) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::vrrp_vips', {default_value => ['127.0.0.1 dev eno2']}))
  • vrrp_peer (Stdlib::IP::Address) (defaults to: lookup('profile::openstack::codfw1dev::cloudgw::vrrp_peer', {default_value => '127.0.0.1'}))
  • conntrackd (Hash) (defaults to: lookup('profile::openstack::codfw1dev::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
36
# File 'modules/profile/manifests/openstack/codfw1dev/cloudgw.pp', line 1

class profile::openstack::codfw1dev::cloudgw (
    Array[Stdlib::IP::Address::V4::Nosubnet] $dmz_cidr = lookup('profile::openstack::codfw1dev::cloudgw::dmz_cidr',    {default_value => ['0.0.0.0']}),
    Stdlib::IP::Address           $routing_source = lookup('profile::openstack::codfw1dev::cloudgw::routing_source_ip',{default_value => '185.15.57.1'}),
    Stdlib::IP::Address::V4::CIDR $virt_subnet    = lookup('profile::openstack::codfw1dev::cloudgw::virt_subnet_cidr', {default_value => '172.16.128.0/24'}),
    Integer                       $virt_vlan      = lookup('profile::openstack::codfw1dev::cloudgw::virt_vlan',        {default_value => 2107}),
    Stdlib::IP::Address           $virt_peer      = lookup('profile::openstack::codfw1dev::cloudgw::virt_peer',        {default_value => '127.0.0.5'}),
    Stdlib::IP::Address::V4::CIDR $virt_floating  = lookup('profile::openstack::codfw1dev::cloudgw::virt_floating',    {default_value => '127.0.0.5/24'}),
    Integer                       $wan_vlan       = lookup('profile::openstack::codfw1dev::cloudgw::wan_vlan',         {default_value => 2120}),
    Stdlib::IP::Address           $wan_addr       = lookup('profile::openstack::codfw1dev::cloudgw::wan_addr',         {default_value => '127.0.0.4'}),
    Integer                       $wan_netm       = lookup('profile::openstack::codfw1dev::cloudgw::wan_netm',         {default_value => 8}),
    Stdlib::IP::Address           $wan_gw         = lookup('profile::openstack::codfw1dev::cloudgw::wan_gw',           {default_value => '127.0.0.1'}),
    String                        $nic_sshplane   = lookup('profile::openstack::codfw1dev::cloudgw::nic_controlplane', {default_value => 'eno1'}),
    String                        $nic_dataplane  = lookup('profile::openstack::codfw1dev::cloudgw::nic_dataplane',    {default_value => 'eno2'}),
    Array[String]                 $vrrp_vips      = lookup('profile::openstack::codfw1dev::cloudgw::vrrp_vips',        {default_value => ['127.0.0.1 dev eno2']}),
    Stdlib::IP::Address           $vrrp_peer      = lookup('profile::openstack::codfw1dev::cloudgw::vrrp_peer',        {default_value => '127.0.0.1'}),
    Hash                          $conntrackd     = lookup('profile::openstack::codfw1dev::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_cidr      => $virt_subnet,
        wan_vlan       => $wan_vlan,
        wan_addr       => $wan_addr,
        wan_netm       => $wan_netm,
        wan_gw         => $wan_gw,
        nic_dataplane  => $nic_dataplane,
        vrrp_vips      => $vrrp_vips,
        vrrp_peer      => $vrrp_peer,
        conntrackd     => $conntrackd,
    }
    contain '::profile::openstack::base::cloudgw'
}