Create a separate ovn manifest
... so that we can reuse the manifest in acceptance tests. Change-Id: I4ecc5ec4271badabbf421eade7f32ea006d773b2
This commit is contained in:
parent
d1f691e0a3
commit
8ba8fb649d
@ -72,6 +72,7 @@ include openstack_integration::apache
|
||||
include openstack_integration::memcached
|
||||
include openstack_integration::rabbitmq
|
||||
include openstack_integration::mysql
|
||||
include openstack_integration::ovn
|
||||
include openstack_integration::keystone
|
||||
include openstack_integration::glance
|
||||
|
||||
|
@ -44,6 +44,7 @@ include openstack_integration::apache
|
||||
include openstack_integration::memcached
|
||||
include openstack_integration::rabbitmq
|
||||
include openstack_integration::mysql
|
||||
include openstack_integration::ovn
|
||||
include openstack_integration::keystone
|
||||
include openstack_integration::glance
|
||||
class { 'openstack_integration::neutron':
|
||||
|
@ -260,14 +260,6 @@ class openstack_integration::neutron (
|
||||
}
|
||||
}
|
||||
'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,
|
||||
# thus it should be included after neutron::plugins::ml2.
|
||||
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