Commit Graph

7 Commits

Author SHA1 Message Date
5c61259edd Add copyright and license 2022-03-13 21:08:32 +00:00
2ca7cc3f11 Check for fields that are of the wrong type. Fix bug in ip_interface() validator thanks to this unittest 2022-03-13 20:20:14 +00:00
eda78b30d0 Downgrade logging to debug 2022-03-13 17:19:54 +00:00
881c0faaab Only pass 'schema' to the validator creation. 2022-03-13 16:48:52 +00:00
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
be102d5b6d Add ip_interface() validator 2022-03-13 09:55:01 +00:00
9862129ab0 Initial commit 2022-03-13 09:54:50 +00:00