From cb3cca2cc434b264ba7089143969db9e0d8b01ad Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 31 May 2018 15:08:52 +0200 Subject: [PATCH] allow text true at vim openstack config use_floating_ip Change-Id: I9b950b6552f2c52c2d60c9aa767f573bf2b89af7 Signed-off-by: tierno --- osm_ro/vimconn_openstack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osm_ro/vimconn_openstack.py b/osm_ro/vimconn_openstack.py index 651afd3a..619620cb 100644 --- a/osm_ro/vimconn_openstack.py +++ b/osm_ro/vimconn_openstack.py @@ -1170,7 +1170,8 @@ class vimconnector(vimconn.vimconnector): continue free_floating_ip = ip.get("floating_ip_address") else: - if isinstance(floating_network['floating_ip'], str): + if isinstance(floating_network['floating_ip'], str) and \ + floating_network['floating_ip'].lower() != "true": pool_id = floating_network['floating_ip'] else: # Find the external network -- 2.25.1