Commit Graph

14 Commits

Author SHA1 Message Date
a068f25f19 Re-order the Pruning flow
1. sub-ints have to be removed before their parent, particularly
   bondethernets, because destroying BondEthernet0 will cascade
   destruction of all of its sub-ints. So:
   - first prune_sub_interfaces()
   - then prune_bondethernets()
   - finally prune_phys()
2. for any interface (loop, bvi, sub, phy, bond), prune_addresses()
   before destroying the interface

Update the README with this new flow.
2022-03-25 13:35:14 +00:00
0a31a22e7e Add docstrings, reorder functions. Rename prune_addresses_set_interface_down() to merely prune_interfaces_down(), and make distinction on setting down and pruning addresses, so we don't do it twice. 2022-03-25 11:55:30 +00:00
c381c7cbaa Prune Step 6: Remove BondEthernets and their member interfaces that are not in the config 2022-03-24 23:17:56 +00:00
cd4d44a2b1 Implement Prune Step 3 -- remove BVI and Loopback interfaces and IPs that are not in the config 2022-03-24 22:02:31 +00:00
8ac9b50d94 Add some clarification to the reconsiliation algorithm 2022-03-23 23:28:12 +00:00
f37b80c012 Break into three sections 2022-03-23 17:16:29 +00:00
bcc4c8ff05 Merge branch 'main' of github.com:pimvanpelt/vppcfg into main 2022-03-23 17:11:46 +00:00
7390322693 Add first stab approximation of the reconsiliation order 2022-03-23 17:11:34 +00:00
613b4a27c7 Update README.md 2022-03-22 23:03:22 +01:00
df1b1bbbef Update README.md 2022-03-22 22:58:38 +01:00
412ecfdbf7 Add important note :) 2022-03-13 21:06:02 +00:00
974ff054d3 Add BUILD instructions. Add LICENSE 2022-03-13 20:59:20 +00:00
be102d5b6d Add ip_interface() validator 2022-03-13 09:55:01 +00:00
9862129ab0 Initial commit 2022-03-13 09:54:50 +00:00