From eecc16dfe618800f469d058f60377cefede821f9 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 17 Apr 2018 11:04:32 +0200 Subject: Lookup ODL_VERSION variable We require that variable to select different ODL versions Change-Id: I37aca357a7a5e0772529dac70ec8ee81b52f3cf8 Signed-off-by: Manuel Buil --- scenarios/os-odl-sfc/xci_overrides | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scenarios/os-odl-sfc/xci_overrides') diff --git a/scenarios/os-odl-sfc/xci_overrides b/scenarios/os-odl-sfc/xci_overrides index 0f8f7436..74cba615 100644 --- a/scenarios/os-odl-sfc/xci_overrides +++ b/scenarios/os-odl-sfc/xci_overrides @@ -3,3 +3,8 @@ if [[ $XCI_FLAVOR == "ha" ]]; then else export VM_MEMORY_SIZE=16384 fi + +# Until this feature is developed, ODL_VERSION must be intialized: +# https://github.com/ansible/ansible/issues/17329 +# otherwise the lookup in vars/main returns an empty string when not defined +export ODL_VERSION=${ODL_VERSION:-oxygen} -- cgit 1.2.3-korg