Merge "Create a separate ovn manifest"
This commit is contained in:
commit
d87969c40f
@ -64,6 +64,7 @@ include openstack_integration::apache
|
|||||||
include openstack_integration::memcached
|
include openstack_integration::memcached
|
||||||
include openstack_integration::rabbitmq
|
include openstack_integration::rabbitmq
|
||||||
include openstack_integration::mysql
|
include openstack_integration::mysql
|
||||||
|
include openstack_integration::ovn
|
||||||
include openstack_integration::keystone
|
include openstack_integration::keystone
|
||||||
include openstack_integration::glance
|
include openstack_integration::glance
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ include openstack_integration::apache
|
|||||||
include openstack_integration::memcached
|
include openstack_integration::memcached
|
||||||
include openstack_integration::rabbitmq
|
include openstack_integration::rabbitmq
|
||||||
include openstack_integration::mysql
|
include openstack_integration::mysql
|
||||||
|
include openstack_integration::ovn
|
||||||
include openstack_integration::keystone
|
include openstack_integration::keystone
|
||||||
include openstack_integration::glance
|
include openstack_integration::glance
|
||||||
class { 'openstack_integration::neutron':
|
class { 'openstack_integration::neutron':
|
||||||
|
@ -260,14 +260,6 @@ class openstack_integration::neutron (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
'ovn': {
|
'ovn': {
|
||||||
class { 'ovn::northd': }
|
|
||||||
class { 'ovn::controller':
|
|
||||||
ovn_remote => 'tcp:127.0.0.1:6642',
|
|
||||||
ovn_encap_ip => '127.0.0.1',
|
|
||||||
ovn_bridge_mappings => ['external:br-ex'],
|
|
||||||
ovn_cms_options => 'enable-chassis-as-gw',
|
|
||||||
manage_ovs_bridge => false,
|
|
||||||
}
|
|
||||||
# NOTE(tkajinam): neutron::plugins::ml2::ovn requires neutron::plugins::ml2,
|
# NOTE(tkajinam): neutron::plugins::ml2::ovn requires neutron::plugins::ml2,
|
||||||
# thus it should be included after neutron::plugins::ml2.
|
# thus it should be included after neutron::plugins::ml2.
|
||||||
class { 'neutron::plugins::ml2::ovn':
|
class { 'neutron::plugins::ml2::ovn':
|
||||||
|
17
manifests/ovn.pp
Normal file
17
manifests/ovn.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Configure the ovn service
|
||||||
|
#
|
||||||
|
class openstack_integration::ovn(
|
||||||
|
){
|
||||||
|
|
||||||
|
include openstack_integration::config
|
||||||
|
include openstack_integration::params
|
||||||
|
|
||||||
|
class { 'ovn::northd': }
|
||||||
|
class { 'ovn::controller':
|
||||||
|
ovn_remote => 'tcp:127.0.0.1:6642',
|
||||||
|
ovn_encap_ip => '127.0.0.1',
|
||||||
|
ovn_bridge_mappings => ['external:br-ex'],
|
||||||
|
ovn_cms_options => 'enable-chassis-as-gw',
|
||||||
|
manage_ovs_bridge => false,
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user