Pim van Pelt 
							
						 
					 
					
						
						
							
						
						3f2b80172c 
					 
					
						
						
							
							Add another schema validation test  
						
						 
						
						
						
						
					 
					
						2022-03-13 21:18:08 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						5c61259edd 
					 
					
						
						
							
							Add copyright and license  
						
						 
						
						
						
						
					 
					
						2022-03-13 21:08:32 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						412ecfdbf7 
					 
					
						
						
							
							Add important note :)  
						
						 
						
						
						
						
					 
					
						2022-03-13 21:06:02 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						9c88e2a0cc 
					 
					
						
						
							
							Add a --quiet/-q flag, which only logs warnings and errors  
						
						 
						
						
						
						
					 
					
						2022-03-13 21:01:59 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						974ff054d3 
					 
					
						
						
							
							Add BUILD instructions. Add LICENSE  
						
						 
						
						
						
						
					 
					
						2022-03-13 20:59:20 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						660e240eb7 
					 
					
						
						
							
							Add some more garbage fields and tpyoes  
						
						 
						
						
						
						
					 
					
						2022-03-13 20:38:12 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						0f03d6cbaa 
					 
					
						
						
							
							Add unit test that ensures exact-match=False can't be on a sub-int with an LCP or address  
						
						 
						
						
						
						
					 
					
						2022-03-13 20:10:06 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						ec93195832 
					 
					
						
						
							
							Print unittest description in case it's available  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:58:17 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						763c1ca74c 
					 
					
						
						
							
							Ensure that LCP names are globally unique (between interface/sub-interface/loopback/bridgedomain)  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:53:13 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						0d8a28cadd 
					 
					
						
						
							
							Enforce that when a bridgedomain has an address (ie a BVI), that it must also have an LCP  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:32:30 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						8825984d49 
					 
					
						
						
							
							Force loopbacks with an address to have an LCP  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:27:27 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						d693c41c72 
					 
					
						
						
							
							Add four simple loopback examples (with and without LCP or address)  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:19:39 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						1adb91d227 
					 
					
						
						
							
							Add LCP/Address example bridgedomains  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:19:18 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						1340e5db42 
					 
					
						
						
							
							Remove the attempted plural 'address(es)', and keep it singular. Fix a typo (addd-ress); update unit tests  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:08:45 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						878f94b2bd 
					 
					
						
						
							
							Add unit tests for bondethernet, including a set of correctly form ones  
						
						 
						
						
						
						
					 
					
						2022-03-13 19:04:31 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						527b1ca95b 
					 
					
						
						
							
							Add a set of bridgedomain unit tests, including a fully formed correct one. Fix one bug found along the way!  
						
						 
						
						
						
						
					 
					
						2022-03-13 18:55:00 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						6ce6718b34 
					 
					
						
						
							
							Typofix  
						
						 
						
						
						
						
					 
					
						2022-03-13 18:35:44 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						5207b920d7 
					 
					
						
						
							
							Rename unittest  
						
						 
						
						
						
						
					 
					
						2022-03-13 18:35:28 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						9aec425bc0 
					 
					
						
						
							
							Add unit tests for all interface/sub-interface failure modes  
						
						 
						
						
						
						
					 
					
						2022-03-13 18:35:11 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						cc0ec92638 
					 
					
						
						
							
							Bugfix - get correct parent MTU  
						
						 
						
						
						
						
					 
					
						2022-03-13 17:42:16 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						95c8be553f 
					 
					
						
						
							
							Simple unit tester, with a few example tests  
						
						 
						
						
						
						
					 
					
						2022-03-13 17:20:10 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						eda78b30d0 
					 
					
						
						
							
							Downgrade logging to debug  
						
						 
						
						
						
						
					 
					
						2022-03-13 17:19:54 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						881c0faaab 
					 
					
						
						
							
							Only pass 'schema' to the validator creation.  
						
						 
						
						
						
						
					 
					
						2022-03-13 16:48:52 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						0313666f69 
					 
					
						
						
							
							Force LCP names to be unique  
						
						 
						
						
						
						
					 
					
						2022-03-13 13:17:14 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						2ced42e97a 
					 
					
						
						
							
							Add constraint for unique encapsulation  
						
						 
						
						... 
						
						
						
						if any sub-int exists with a certain [dot1q,dot1ad,inner-dot1q], no
other sub-int in the same parent may exist with the same encapsulation.
- refactor sub-int mtu check to use get_mtu()
- if a sub-int has no config, raise a validation error 
						
						
					 
					
						2022-03-13 13:06:44 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						29fcdaefe9 
					 
					
						
						
							
							Add check to ensure combined length of sub-int LCP name is not larger than 15 chars. For the main int, this is ensured already by schema validation  
						
						 
						
						
						
						
					 
					
						2022-03-13 12:38:54 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						e7e957ed5f 
					 
					
						
						
							
							Ensure that when the sub-int is L3, exact-match must be true  
						
						 
						
						
						
						
					 
					
						2022-03-13 12:19:38 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						17831dafc3 
					 
					
						
						
							
							Rework arguments: -c/--config are required. The others optional w/ sane defaults  
						
						 
						
						
						
						
					 
					
						2022-03-13 12:11:13 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						3d6903bfdc 
					 
					
						
						
							
							Rewrite 'exists' to 'get_by_name'  
						
						 
						
						
						
						
					 
					
						2022-03-13 10:44:59 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						61b6c01e73 
					 
					
						
						
							
							Only loop over loopbacks if they are present in the config  
						
						 
						
						
						
						
					 
					
						2022-03-13 10:30:06 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						8a7c2f8b7c 
					 
					
						
						
							
							Remove invalid config from the example  
						
						 
						
						
						
						
					 
					
						2022-03-13 10:20:38 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						edb8e301ff 
					 
					
						
						
							
							Add loopbacks  
						
						 
						
						
						
						
					 
					
						2022-03-13 10:18:27 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						b5d8f03e66 
					 
					
						
						
							
							Add MTU validation - sub cannot be higher than parent  
						
						 
						
						
						
						
					 
					
						2022-03-13 10:12:07 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						9250e07aed 
					 
					
						
						
							
							Continue validation even after error occurs, catching as many errors as possible for the user  
						
						 
						
						
						
						
					 
					
						2022-03-13 09:58:29 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						be102d5b6d 
					 
					
						
						
							
							Add ip_interface() validator  
						
						 
						
						
						
						
					 
					
						2022-03-13 09:55:01 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pim van Pelt 
							
						 
					 
					
						
						
							
						
						9862129ab0 
					 
					
						
						
							
							Initial commit  
						
						 
						
						
						
						
					 
					
						2022-03-13 09:54:50 +00:00