Fix for AttributeError: 'dict' object has no attribute 'status'.
Story: 2010610 Task: 47505 Change-Id: I9e138d8f282de9adfb3d7e1142c10ab77c22578e
This commit is contained in:
parent
92c3e87467
commit
497f020100
@ -244,7 +244,7 @@ class NetworkingFloatingIPModule(OpenStackModule):
|
|||||||
else: # ip
|
else: # ip
|
||||||
# Requested floating ip address exists already
|
# Requested floating ip address exists already
|
||||||
|
|
||||||
if ip.port_details and (ip.port_details.status == 'ACTIVE') \
|
if ip.port_details and (ip.port_details['status'] == 'ACTIVE') \
|
||||||
and (floating_ip_address not in self._filter_ips(
|
and (floating_ip_address not in self._filter_ips(
|
||||||
self.server)):
|
self.server)):
|
||||||
# Floating ip address exists and has been attached
|
# Floating ip address exists and has been attached
|
||||||
|
Loading…
Reference in New Issue
Block a user