diff options
author | Tim Rozet <trozet@redhat.com> | 2018-04-12 14:08:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-12 14:08:06 +0000 |
commit | b779f161972bf52055a8074432d82fadc12d730a (patch) | |
tree | 8bd7d9009f0f08b62e43331d926c22c4237b5fa7 /manifests/profile/base/neutron/plugins | |
parent | 70c26142c8c7436ab5dd0a3a98b6645dd1e7d545 (diff) | |
parent | f409f083d2c63e7ec2f484a77b2229613252de5e (diff) |
Merge "Add physnets and type_driver settings"
Diffstat (limited to 'manifests/profile/base/neutron/plugins')
-rw-r--r-- | manifests/profile/base/neutron/plugins/ml2/vpp.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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, } } } |