Puppet Class: kickstack::quantum::agent::l3

Inherits:
kickstack
Defined in:
manifests/quantum/agent/l3.pp

Overview



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
# File 'manifests/quantum/agent/l3.pp', line 1

class kickstack::quantum::agent::l3 inherits kickstack {

  include kickstack::quantum::config

  class { "vswitch::bridge":
    name => 'br-ex'
  } 

  class { "::quantum::agents::l3":
    debug            => $::kickstack::debug,
    interface_driver => $::kickstack::quantum_plugin ? {
                          'ovs' => 'quantum.agent.linux.interface.OVSInterfaceDriver',
                          'linuxbridge' => 'quantum.agent.linux.interface.BridgeInterfaceDriver'
                        },
    external_network_bridge => $::kickstack::quantum_external_bridge,
    use_namespaces   => $::kickstack::quantum_network_type ? {
                          'per-tenant-router' => true,
                          default => false
                        },
    router_id        => $::kickstack::quantum_network_type ? {
                          'provider-router' => "$::kickstack::quantum_router_id",
                          default => undef
                        },
    gateway_external_network_id => $::kickstack::quantum_network_type ? {
                          'provider-router' => "$::kickstack::quantum_gateway_external_network_id",
                          default => undef
                        },
    require => Class['kickstack::quantum::agent::metadata','vswitch::bridge']
  }
}