diff --git a/manifests/neutron.pp b/manifests/neutron.pp index f9f323ea4..74a5c35d9 100644 --- a/manifests/neutron.pp +++ b/manifests/neutron.pp @@ -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, diff --git a/manifests/ovn.pp b/manifests/ovn.pp index 91b4c51c6..ccce6118e 100644 --- a/manifests/ovn.pp +++ b/manifests/ovn.pp @@ -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,