From f409f083d2c63e7ec2f484a77b2229613252de5e Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Fri, 16 Mar 2018 08:16:49 -0400 Subject: Add physnets and type_driver settings Change-Id: I472879b8f67e64b571638a0385943597a9120e6c Signed-off-by: Feng Pan --- manifests/profile/base/neutron/plugins/ml2/vpp.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/profile/base/neutron/plugins/ml2/vpp.pp') diff --git a/manifests/profile/base/neutron/plugins/ml2/vpp.pp b/manifests/profile/base/neutron/plugins/ml2/vpp.pp index 7d59239..0312eff 100644 --- a/manifests/profile/base/neutron/plugins/ml2/vpp.pp +++ b/manifests/profile/base/neutron/plugins/ml2/vpp.pp @@ -41,9 +41,15 @@ class tripleo::profile::base::neutron::plugins::ml2::vpp ( } if $step >= 4 { + if $::hostname in hiera('controller_node_names') { + $l3_hosts = strip(hiera('controller_node_names').split(',')[0]) + } else { + $l3_hosts = undef + } class { '::neutron::plugins::ml2::vpp': etcd_host => $etcd_host, etcd_port => $etcd_port, + l3_hosts => $l3_hosts, } } } -- cgit 1.2.3-korg