Use appropriate IP version for underlay network
Change-Id: I5ffa08efd155747da77760a6da35c58c61b54c6a
This commit is contained in:
parent
863628b2fe
commit
7aa961141c
@ -247,7 +247,7 @@ class openstack_integration::neutron (
|
|||||||
case $driver {
|
case $driver {
|
||||||
'openvswitch': {
|
'openvswitch': {
|
||||||
class { 'neutron::agents::ml2::ovs':
|
class { 'neutron::agents::ml2::ovs':
|
||||||
local_ip => '127.0.0.1',
|
local_ip => $::openstack_integration::config::host,
|
||||||
tunnel_types => ['vxlan'],
|
tunnel_types => ['vxlan'],
|
||||||
bridge_mappings => ['external:br-ex'],
|
bridge_mappings => ['external:br-ex'],
|
||||||
manage_vswitch => false,
|
manage_vswitch => false,
|
||||||
|
@ -11,7 +11,7 @@ class openstack_integration::ovn(
|
|||||||
}
|
}
|
||||||
class { 'ovn::controller':
|
class { 'ovn::controller':
|
||||||
ovn_remote => "tcp:${::openstack_integration::config::ip_for_url}:6642",
|
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_bridge_mappings => ['external:br-ex'],
|
||||||
ovn_cms_options => 'enable-chassis-as-gw',
|
ovn_cms_options => 'enable-chassis-as-gw',
|
||||||
manage_ovs_bridge => false,
|
manage_ovs_bridge => false,
|
||||||
|
Loading…
Reference in New Issue
Block a user