Use appropriate IP version for underlay network

Change-Id: I5ffa08efd155747da77760a6da35c58c61b54c6a
This commit is contained in:
Takashi Kajinami 2023-03-07 20:58:07 +09:00
parent 863628b2fe
commit 7aa961141c
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ class openstack_integration::neutron (
case $driver {
'openvswitch': {
class { 'neutron::agents::ml2::ovs':
local_ip => '127.0.0.1',
local_ip => $::openstack_integration::config::host,
tunnel_types => ['vxlan'],
bridge_mappings => ['external:br-ex'],
manage_vswitch => false,

View File

@ -11,7 +11,7 @@ class openstack_integration::ovn(
}
class { 'ovn::controller':
ovn_remote => "tcp:${::openstack_integration::config::ip_for_url}:6642",
ovn_encap_ip => '127.0.0.1',
ovn_encap_ip => $::openstack_integration::config::host,
ovn_bridge_mappings => ['external:br-ex'],
ovn_cms_options => 'enable-chassis-as-gw',
manage_ovs_bridge => false,