Neutron/Octavia: Ensure ovs/ovn is started
Change-Id: I64b07a9741023eca6d25890d9e594f3268542643
This commit is contained in:
parent
0d756eca70
commit
b882bdb25e
@ -123,8 +123,11 @@ class openstack_integration::neutron (
|
|||||||
}
|
}
|
||||||
|
|
||||||
case $driver {
|
case $driver {
|
||||||
'openvswitch', 'ovn': {
|
'openvswitch': {
|
||||||
include openstack_integration::ovs
|
require openstack_integration::ovs
|
||||||
|
}
|
||||||
|
'ovn': {
|
||||||
|
require openstack_integration::ovn
|
||||||
}
|
}
|
||||||
'linuxbridge': {
|
'linuxbridge': {
|
||||||
exec { 'create_dummy_iface':
|
exec { 'create_dummy_iface':
|
||||||
|
@ -134,6 +134,7 @@ class openstack_integration::octavia (
|
|||||||
ovn_sb_certificate => '/etc/octavia/ovnsb-cert.pem',
|
ovn_sb_certificate => '/etc/octavia/ovnsb-cert.pem',
|
||||||
ovn_sb_ca_cert => '/etc/octavia/switchcacert.pem',
|
ovn_sb_ca_cert => '/etc/octavia/switchcacert.pem',
|
||||||
}
|
}
|
||||||
|
require openstack_integration::ovn
|
||||||
} else{
|
} else{
|
||||||
$enabled_provider_drivers = undef
|
$enabled_provider_drivers = undef
|
||||||
$enabled_provider_agents = undef
|
$enabled_provider_agents = undef
|
||||||
|
@ -6,6 +6,8 @@ class openstack_integration::ovn(
|
|||||||
include openstack_integration::config
|
include openstack_integration::config
|
||||||
include openstack_integration::params
|
include openstack_integration::params
|
||||||
|
|
||||||
|
require openstack_integration::ovs
|
||||||
|
|
||||||
if $::openstack_integration::config::ssl {
|
if $::openstack_integration::config::ssl {
|
||||||
class { 'vswitch::pki::cacert': }
|
class { 'vswitch::pki::cacert': }
|
||||||
vswitch::pki::cert { ['ovnnb', 'ovnsb', 'ovncontroller']: }
|
vswitch::pki::cert { ['ovnnb', 'ovnsb', 'ovncontroller']: }
|
||||||
|
Loading…
Reference in New Issue
Block a user