neutron-vpnaas/neutron_vpnaas/tests/unit
Niklas Schwarz 04fbc1ed4e Improve the reconciling for VPNaaS
* Update the router (holding RouterInfo objects) with current data
   on update / sync. Since the sync method should reconcile out of
   any state, we need to update the RouterInfo we store locally in
   the driver to ensure we have not missed e.g. a ha_state_change.

 * Consistently use RouterInfo instead of some mix of dict and Router
   and RouterInfo.

 * Ensure NAT rules are current by using a tag to clean them all and
   then re-create the currently required rules before applying them via
   iptables manager. This ensures there are no dangling rules or duplicates.

Co-Authored-By: Niklas Schwarz <niklas.schwarz@inovex.de>
Closes-Bug: https://bugs.launchpad.net/neutron/+bug/1943449

Depends-On: https://review.opendev.org/c/openstack/neutron-vpnaas/+/911412
Change-Id: I378ba5a0b500110ce5f9293a885730c0a62578b0
2024-04-24 14:02:22 +02:00
..
db Improve the reconciling for VPNaaS 2024-04-24 14:02:22 +02:00
extensions Add aggressive negotiation mode for ikepolicy 2020-06-04 11:25:56 -04:00
services Improve the reconciling for VPNaaS 2024-04-24 14:02:22 +02:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:04:58 +01:00
dummy_ipsec.py use common rpc and exceptions from neutron-lib 2018-09-26 09:28:19 -06:00