diff options
author | Tim Rozet <trozet@redhat.com> | 2016-10-17 11:29:10 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-10-17 11:29:10 -0400 |
commit | 4cf346d257611f88a00d30350c3d062fd32cd83e (patch) | |
tree | baed5b3cf938f5cfd30e20e5f63068bef0b488a0 /manifests/profile/base/neutron/plugins/ovs | |
parent | b54e9c3a05f9bf5870e7bb98b2a8322640a6c847 (diff) |
Removes logic dependent on 'odl_on_controller'
Since moving to composable service/roles there was some logic here that
was relying on a variable to enable ODL rather than enabling the service
itself to decide where ODL was enabled. Now that ODL and ODL OVS
configuration are split into 2 different services we can make these
truly composable.
Partial-Bug: 1633625
Change-Id: Ia55c05e12d5d434111a13e1ed795da530e3ff4a5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'manifests/profile/base/neutron/plugins/ovs')
-rw-r--r-- | manifests/profile/base/neutron/plugins/ovs/opendaylight.pp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/profile/base/neutron/plugins/ovs/opendaylight.pp b/manifests/profile/base/neutron/plugins/ovs/opendaylight.pp index 7548046..91c5168 100644 --- a/manifests/profile/base/neutron/plugins/ovs/opendaylight.pp +++ b/manifests/profile/base/neutron/plugins/ovs/opendaylight.pp @@ -48,14 +48,8 @@ class tripleo::profile::base::neutron::plugins::ovs::opendaylight ( ) { if $step >= 4 { - # Figure out ODL IP (and VIP if on controller) - if hiera('odl_on_controller') { - $opendaylight_controller_ip = $odl_api_ips[0] - $odl_url_ip = hiera('opendaylight_api_vip') - } else { - $opendaylight_controller_ip = hiera('opendaylight::odl_bind_ip') - $odl_url_ip = $opendaylight_controller_ip - } + $opendaylight_controller_ip = $odl_api_ips[0] + $odl_url_ip = hiera('opendaylight_api_vip') if ! $opendaylight_controller_ip { fail('OpenDaylight Controller IP is Empty') } |