if we list floating ip and want to operate a port forwarding, we cannot
call the update 'port forwarding' api, because we don't know the port
forwarding id.
The reason for exposing 'internal_port_id' is also to find the
associated port as soon as possible, so as to facilitate users to obtain
vm information and decide whether to update this port forwarding.
this patch adds the port forwarding returned contents: 'id' and
'internal_port_id' when list floatingip.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- lib/+/840796 /opendev. org/openstack/ neutron- lib/commit/ 9c90f78a8b70d1d 718e34092cc76a8 9567f726e3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 9c90f78a8b70d1d 718e34092cc76a8 9567f726e3
Author: zhouhenglc <email address hidden>
Date: Fri May 6 09:47:52 2022 +0800
Add floating- ip-port- forwarding- detail shim extension
if we list floating ip and want to operate a port forwarding, we cannot port_id' when list floatingip.
call the update 'port forwarding' api, because we don't know the port
forwarding id.
The reason for exposing 'internal_port_id' is also to find the
associated port as soon as possible, so as to facilitate users to obtain
vm information and decide whether to update this port forwarding.
this patch adds the port forwarding returned contents: 'id' and
'internal_
Partial-bug: #1971646
Change-Id: I34aa6948fccc66 9fc729d032b540b d1aa0c17ce9