allow text true at vim openstack config use_floating_ip 43/6243/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 31 May 2018 13:08:52 +0000 (15:08 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 31 May 2018 13:09:31 +0000 (15:09 +0200)
Change-Id: I9b950b6552f2c52c2d60c9aa767f573bf2b89af7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/vimconn_openstack.py

index 651afd3..619620c 100644 (file)
@@ -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