commit eef658bf5354e1a47b742851c29a1479c9aebcf8
Author: Stephen Finucane <email address hidden>
Date: Tue Feb 4 15:44:54 2020 +0000
Handle neutron without the fip-port-details extension
The 'fip-port-details' API extension was added to neutron in Rocky [1]
and is optional. As a result, we cannot rely on the 'port_details' field
being present in API responses. If it is not, we need to make a second
query for all ports and build 'port_details' using the 'port_id' field.
Reviewed: https:/ /review. opendev. org/705760 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=eef658bf535 4e1a47b742851c2 9a1479c9aebcf8
Committed: https:/
Submitter: Zuul
Branch: master
commit eef658bf5354e1a 47b742851c29a14 79c9aebcf8
Author: Stephen Finucane <email address hidden>
Date: Tue Feb 4 15:44:54 2020 +0000
Handle neutron without the fip-port-details extension
The 'fip-port-details' API extension was added to neutron in Rocky [1]
and is optional. As a result, we cannot rely on the 'port_details' field
being present in API responses. If it is not, we need to make a second
query for all ports and build 'port_details' using the 'port_id' field.
[1] https:/ /docs.openstack .org/releasenot es/neutron- lib/rocky. html#relnotes- 1-14-0- stable- rocky-new- features
Change-Id: Ifb96f31f471cc0 a25c1dfce2161a6 69b97a384ae
Signed-off-by: Stephen Finucane <email address hidden>
Closes-bug: #1861876