add user variables for quagga configuration 71/52871/2
authorPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Wed, 28 Feb 2018 19:10:24 +0000 (20:10 +0100)
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Wed, 28 Feb 2018 19:16:21 +0000 (20:16 +0100)
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>
scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml

index 5a95a8a..47ef29b 100644 (file)
@@ -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
+