4.Update fixed_ips of internal port:
neutron port-update --fixed-ip subnet_id=a4a2a463-4e6c-4bbe-a3c7-fc0bc7e9de39,ip_address=192.168.111.209 3eb12869-dd08-425b-8071-9750b10fc463
5.Query nat list in ovn-nb:
# ovn-nbctl lr-nat-list 403071bd-67a0-437e-bcbb-0cd5bc8078d0
TYPE EXTERNAL_IP EXTERNAL_PORT LOGICAL_IP EXTERNAL_MAC LOGICAL_PORT
dnat_and_snat 172.41.0.103 192.168.111.208
We found the dnat_and_snat entry not changed.
There is not a mechanism that notify floatingip update while internal port has changed, maybe we could fix it.
version:wallaby
reproduce steps:
1.Create a new port: neutron port-create share_net
id:3eb12869- dd08-425b- 8071-9750b10fc4 63 4e6c-4bbe- a3c7-fc0bc7e9de 39", "ip_address" :"192.168. 111.208" }
fixed_ips:
{"subnet_id": "a4a2a463-
2.Create a new floatingip: neutron floatingip-create public_net
id:07eeb37f- 27ec-4f3d- b201-a632ce3193 b4 ip_address: 172.41. 0.103
floating_
3.Associated floating IP: neutron floatingip- associate 07eeb37f- 27ec-4f3d- b201-a632ce3193 b4 3eb12869- dd08-425b- 8071-9750b10fc4 63
4.Update fixed_ips of internal port: id=a4a2a463- 4e6c-4bbe- a3c7-fc0bc7e9de 39,ip_address= 192.168. 111.209 3eb12869- dd08-425b- 8071-9750b10fc4 63
neutron port-update --fixed-ip subnet_
5.Query nat list in ovn-nb: 67a0-437e- bcbb-0cd5bc8078 d0
# ovn-nbctl lr-nat-list 403071bd-
TYPE EXTERNAL_IP EXTERNAL_PORT LOGICAL_IP EXTERNAL_MAC LOGICAL_PORT
dnat_and_snat 172.41.0.103 192.168.111.208
We found the dnat_and_snat entry not changed.
There is not a mechanism that notify floatingip update while internal port has changed, maybe we could fix it.