Update git submodules
* Update openstacksdk from branch 'master' to 0ded7ac398843b6b1ce46668eb3b45ce02628428 - Enable add_ips_to_server() and _needs_floating_ip() for pristine server resources Previously, both functions [1] and [2] would have to be called with server objects which have been enhanced by add_server_interfaces() [3]. The latter adds 'public_v4' and 'private_v4' attributes to the server objects which the default server resource [4] does not have. Now, we check server's 'addresses' attributes for fixed and floating ip addresses [5] in case the 'public_v4' and 'private_v4' attributes are not available. The checks for fixed vs floating ip addresses are equal to how find_nova_addresses() [6] distinguishes between both ip address types. [1]3f81d0001d/openstack/cloud/_floating_ip.py (L979)
[2]3f81d0001d/openstack/cloud/_floating_ip.py (L997)
[3]3f81d0001d/openstack/cloud/meta.py (L439)
[4] https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/server.py [5]3f81d0001d/openstack/compute/v2/server.py (L81)
[6]3f81d0001d/openstack/cloud/meta.py (L69)
Change-Id: I064ed922be440d911fbc492dab8465e8f75236df
This commit is contained in:
parent
02b1228cbd
commit
4d329a13c6
|
@ -1 +1 @@
|
||||||
Subproject commit 3f81d0001dd994cde990d38f6e2671ee0694d7d5
|
Subproject commit 0ded7ac398843b6b1ce46668eb3b45ce02628428
|
Loading…
Reference in New Issue