Commit Graph

209 Commits

Author SHA1 Message Date
6b8735bb18 Add bridge-domain support.
Refactor validator main function to avoid 'interface' symbol clash.
Add get_mtu() for interfaces, returns the sub-int's MTU or its parent's MTU, defaulting to 1500.
Ensure MTU for all bridge-domain members is set to the same value.
Ensure all bridge-domain members are L2 (have no LCP, have no address)
2022-03-13 11:20:40 +00:00
3d6903bfdc Rewrite 'exists' to 'get_by_name' 2022-03-13 10:44:59 +00:00
61b6c01e73 Only loop over loopbacks if they are present in the config 2022-03-13 10:30:06 +00:00
8a7c2f8b7c Remove invalid config from the example 2022-03-13 10:20:38 +00:00
edb8e301ff Add loopbacks 2022-03-13 10:18:27 +00:00
b5d8f03e66 Add MTU validation - sub cannot be higher than parent 2022-03-13 10:12:07 +00:00
9250e07aed Continue validation even after error occurs, catching as many errors as possible for the user 2022-03-13 09:58:29 +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