You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetch Subnet totalip for each SubnetPort creation (#1380)
This PR fixes 2 issues for the current Subnet totalIP calculation
- We only fetch the Subnet totalIP for DHCP_DEACTIVATED Subnet with StaticIPAllocation enabled
once at the first SubnetPort is created on the Subnet, but when Subnet IPReservation is created or delete,
the Subnet totalIP will change. Thus we need to get the totalIP for such Subnet every time when a
SubnetPort is created.
- When shared Subnet is removed from cache, the Port count info of the Subnet should be deleted.
Signed-off-by: Yanjun Zhou <yanjun.zhou@broadcom.com>
0 commit comments