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=cb3cca2cc434b264ba7089143969db9e0d8b01ad;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