Install and enable neutron baremetal ML2 and L2 agent
Ironic use binding:vnic_type baremetal for flat interfaces. The baremetal mechanism driver is required to bind this vnic_type correctly. The L2 agent populates segmenthostmapping data in neutron which is a requirement for routed-networks. Implements: blueprint tripleo-routed-networks-deployment Change-Id: I8e192df9068c3f5d6657f5ea92e7e2f44646c290
This commit is contained in:
parent
8872920c7f
commit
28ff631ef0
|
@ -397,6 +397,11 @@ include ::neutron::quota
|
|||
include ::neutron::plugins::ml2
|
||||
include ::neutron::agents::dhcp
|
||||
include ::neutron::agents::l3
|
||||
include ::neutron::plugins::ml2::networking_baremetal
|
||||
include ::neutron::agents::ml2::networking_baremetal
|
||||
|
||||
# Make sure ironic endpoint exists before starting the service
|
||||
Keystone_endpoint <||> -> Service['ironic-neutron-agent']
|
||||
|
||||
class { '::neutron::agents::ml2::ovs':
|
||||
bridge_mappings => split(hiera('neutron_bridge_mappings'), ','),
|
||||
|
|
|
@ -257,7 +257,7 @@ neutron::keystone::authtoken::project_domain_name: "%{hiera('keystone_default_do
|
|||
neutron::server::database_connection: mysql+pymysql://neutron:{{UNDERCLOUD_NEUTRON_PASSWORD}}@{{LOCAL_IP_WRAPPED}}/neutron
|
||||
neutron::server::sync_db: true
|
||||
neutron::agents::ml2::ovs::local_ip: {{LOCAL_IP}}
|
||||
neutron::plugins::ml2::mechanism_drivers: ['openvswitch']
|
||||
neutron::plugins::ml2::mechanism_drivers: ['openvswitch', 'baremetal']
|
||||
neutron_bridge_mappings: ctlplane:br-ctlplane
|
||||
neutron_public_interface: {{LOCAL_INTERFACE}}
|
||||
neutron_physical_bridge: br-ctlplane
|
||||
|
@ -276,6 +276,13 @@ neutron::keystone::auth::password: {{UNDERCLOUD_NEUTRON_PASSWORD}}
|
|||
neutron::keystone::auth::region: "%{hiera('keystone_region')}"
|
||||
neutron::plugins::ml2::extension_drivers: 'port_security'
|
||||
neutron::service_plugins: ['segments']
|
||||
neutron::agents::ml2::networking_baremetal::user: 'ironic'
|
||||
neutron::agents::ml2::networking_baremetal::password: {{UNDERCLOUD_IRONIC_PASSWORD}}
|
||||
neutron::agents::ml2::networking_baremetal::auth_url: {{UNDERCLOUD_ENDPOINT_KEYSTONE_PUBLIC}}
|
||||
neutron::agents::ml2::networking_baremetal::project_name: "%{hiera('neutron::keystone::auth::tenant')}"
|
||||
neutron::agents::ml2::networking_baremetal::user_domain_name: "%{hiera('keystone_default_domain')}"
|
||||
neutron::agents::ml2::networking_baremetal::project_domain_name: "%{hiera('keystone_default_domain')}"
|
||||
neutron::agents::ml2::networking_baremetal::region_name: "%{hiera('keystone_region')}"
|
||||
|
||||
# Ceilometer
|
||||
ceilometer::debug: "%{hiera('debug')}"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- The undercloud now uses the ``baremetal`` neutron ML2 mechanism driver, and
|
||||
the l2 agent ironic-neutron-agent. This enables the possibility to use
|
||||
neutron routed networks in the undercloud.
|
Loading…
Reference in New Issue