From: tierno Date: Thu, 31 May 2018 13:08:52 +0000 (+0200) Subject: allow text true at vim openstack config use_floating_ip X-Git-Tag: v4.0.1~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F6243%2F1;p=osm%2FRO.git allow text true at vim openstack config use_floating_ip Change-Id: I9b950b6552f2c52c2d60c9aa767f573bf2b89af7 Signed-off-by: tierno --- 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