In some cases, the arp entry of snat port is not updated
in qrouter namespace. l3-agent calls get_ports_by_subnet()
while setting arps for the subnet. And the snat port is
not returned if it is still unbound. One of the scenario
this is observed is when router is created, external
gateway set and internal subnet attached to router in
quick succession.
This patch retrieves snat port details from router info
as well and updates arp entry for snat port.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/799197 /opendev. org/openstack/ neutron/ commit/ be7d0bb6abc893e 53dfc864c525069 28b1d38fa3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit be7d0bb6abc893e 53dfc864c525069 28b1d38fa3
Author: Hemanth Nakkina <email address hidden>
Date: Fri Jul 2 17:01:55 2021 +0530
Update arp entry of snat port on qrouter ns
In some cases, the arp entry of snat port is not updated by_subnet( )
in qrouter namespace. l3-agent calls get_ports_
while setting arps for the subnet. And the snat port is
not returned if it is still unbound. One of the scenario
this is observed is when router is created, external
gateway set and internal subnet attached to router in
quick succession.
This patch retrieves snat port details from router info
as well and updates arp entry for snat port.
Closes-Bug: #1933092 6cf6360922d855f 8b24f1b813d
Change-Id: I7ee797b4b93030