OVN: Use appropriate IP version for OVN db
... instead of using IP v4 alwasys. Change-Id: I7403eb8186ab1961b18b574613426995dad36128
This commit is contained in:
parent
bd0ff7cedf
commit
f6167d7731
@ -246,8 +246,8 @@ class openstack_integration::neutron (
|
||||
# NOTE(tkajinam): neutron::plugins::ml2::ovn requires neutron::plugins::ml2,
|
||||
# thus it should be included after neutron::plugins::ml2.
|
||||
class { 'neutron::plugins::ml2::ovn':
|
||||
ovn_nb_connection => 'tcp:127.0.0.1:6641',
|
||||
ovn_sb_connection => 'tcp:127.0.0.1:6642',
|
||||
ovn_nb_connection => "tcp:${::openstack_integration::config::ip_for_url}:6641",
|
||||
ovn_sb_connection => "tcp:${::openstack_integration::config::ip_for_url}:6642",
|
||||
ovn_metadata_enabled => true,
|
||||
}
|
||||
}
|
||||
@ -281,6 +281,7 @@ class openstack_integration::neutron (
|
||||
shared_secret => 'a_big_secret',
|
||||
metadata_host => $metadata_host,
|
||||
metadata_protocol => $metadata_protocol,
|
||||
ovn_sb_connection => "tcp:${::openstack_integration::config::ip_for_url}:6642",
|
||||
}
|
||||
} else {
|
||||
class { 'neutron::agents::metadata':
|
||||
|
@ -120,8 +120,8 @@ class openstack_integration::octavia (
|
||||
}
|
||||
$enabled_provider_agents = 'ovn'
|
||||
class { 'octavia::provider::ovn':
|
||||
ovn_nb_connection => 'tcp:127.0.0.1:6641',
|
||||
ovn_sb_connection => 'tcp:127.0.0.1:6642',
|
||||
ovn_nb_connection => "tcp:${::openstack_integration::config::ip_for_url}:6641",
|
||||
ovn_sb_connection => "tcp:${::openstack_integration::config::ip_for_url}:6642",
|
||||
}
|
||||
} else{
|
||||
$enabled_provider_drivers = $::os_service_default
|
||||
|
@ -6,9 +6,11 @@ class openstack_integration::ovn(
|
||||
include openstack_integration::config
|
||||
include openstack_integration::params
|
||||
|
||||
class { 'ovn::northd': }
|
||||
class { 'ovn::northd':
|
||||
dbs_listen_ip => $::openstack_integration::config::ip_for_url,
|
||||
}
|
||||
class { 'ovn::controller':
|
||||
ovn_remote => 'tcp:127.0.0.1:6642',
|
||||
ovn_remote => "tcp:${::openstack_integration::config::ip_for_url}:6642",
|
||||
ovn_encap_ip => '127.0.0.1',
|
||||
ovn_bridge_mappings => ['external:br-ex'],
|
||||
ovn_cms_options => 'enable-chassis-as-gw',
|
||||
|
Loading…
x
Reference in New Issue
Block a user