From 592ab94bcf0e34fb9a7a04492b017caa3dd4e964 Mon Sep 17 00:00:00 2001 From: Periyasamy Palanisamy Date: Wed, 28 Feb 2018 20:10:24 +0100 Subject: 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 --- .../os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 + -- cgit 1.2.3-korg