neutron-vpnaas/neutron_vpnaas/tests/unit/services/vpn
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
..
common Using unittest.mock instead of mock 2020-04-02 01:56:51 +00:00
device_drivers Improve the reconciling for VPNaaS 2024-04-24 14:02:22 +02:00
service_drivers Improve the reconciling for VPNaaS 2024-04-24 14:02:22 +02:00
__init__.py VPNaaS: Advanced Services split - unit tests 2014-12-14 14:23:58 -05:00
test_plugin.py Using unittest.mock instead of mock 2020-04-02 01:56:51 +00:00
test_vpn_service.py Migrate to neutron-lib released API definition for VPNaaS APIs 2022-05-23 11:42:13 -04:00