mirror of
				https://github.com/CumulusNetworks/ifupdown2.git
				synced 2024-05-06 15:54:50 +00:00 
			
		
		
		
	addons: bridge: add "none" to the bridge-ports validvals (closes #75)
--syntax-check was failing because "none" was missing in the validvals list for bridge-ports closes #75 Reported-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
		@@ -68,7 +68,7 @@ class bridge(moduleBase):
 | 
			
		||||
                        {'help' : 'bridge ports',
 | 
			
		||||
                         'multivalue' : True,
 | 
			
		||||
                         'required' : True,
 | 
			
		||||
                         'validvals': ['<interface-list>'],
 | 
			
		||||
                         'validvals': ['<interface-list>', 'none'],
 | 
			
		||||
                         'example' : ['bridge-ports swp1.100 swp2.100 swp3.100',
 | 
			
		||||
                                      'bridge-ports glob swp1-3.100',
 | 
			
		||||
                                      'bridge-ports regex (swp[1|2|3].100)']},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user