And FYI, based on Carl's comments, I tried to override some related code make Legacy/HA/DVR router have same behavior, no FIP ip hosted by devices like qg/rfp.
To FipNamespace method "scan_fip_ports"(changed its name now), it's changed to:
1) get (fixed_ip, priority) pairs from fip ns by ip rule,
2) get (fixed_ip, floatingip) pairs from qrouter ns by iptables.
This can help ip rules for floatingip can keep the same priority after l3-agent restart.
And method get_router_cidrs, both its name and the way it processing are changed.
@Stephen Ma, Sure, that will be a great help!
And FYI, based on Carl's comments, I tried to override some related code make Legacy/HA/DVR router have same behavior, no FIP ip hosted by devices like qg/rfp.
To FipNamespace method "scan_fip_ ports"( changed its name now), it's changed to:
1) get (fixed_ip, priority) pairs from fip ns by ip rule,
2) get (fixed_ip, floatingip) pairs from qrouter ns by iptables.
This can help ip rules for floatingip can keep the same priority after l3-agent restart.
And method get_router_cidrs, both its name and the way it processing are changed.