summaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-bgpvpn
diff options
context:
space:
mode:
authorPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2018-02-28 20:10:24 +0100
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2018-02-28 20:16:21 +0100
commit592ab94bcf0e34fb9a7a04492b017caa3dd4e964 (patch)
treecd035abf15ca291e808ea6072f38eb4b300f6dd1 /scenarios/os-odl-bgpvpn
parentc2d2043fe34461b66011b974fc535f703e5fa2de (diff)
add user variables for quagga configuration
As per the review https://git.opendaylight.org/gerrit/#/c/66195 in ansible-opendaylight role, adding required quagga specific user variables to configure OpenDaylight with BGPVPN functionality. Change-Id: I78e3389c4624fe92f34da13bde6a03d3f51c9675 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Diffstat (limited to 'scenarios/os-odl-bgpvpn')
-rw-r--r--scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml b/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml
index 5a95a8a..47ef29b 100644
--- a/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml
+++ b/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml
@@ -37,4 +37,16 @@ neutron_ml2_drivers_type: "flat,vlan,vxlan"
neutron_plugin_base:
- odl-router_v2
- - bgpvpn \ No newline at end of file
+ - bgpvpn
+
+# The neutron server node on which OSA configures ODL
+# as the BGP speaker
+odl_bgp_speaker_host: "{{ ((groups['neutron_server'] | intersect(ansible_play_hosts)) | list)[0] }}"
+
+# The neutron server node ip address (br-admin) on which OSA configures ODL
+# as the BGP speaker
+odl_bgp_speaker_host_ip_address: "{{ hostvars[groups['neutron_server'][0]]['container_address'] }}"
+
+# Configure OpenDaylight with Quagga
+quagga: true
+