CreateMLAG: enable bond member interfaces
This commit is contained in:
		
							parent
							
								
									19c26ecc76
								
							
						
					
					
						commit
						1c594c18af
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,7 @@ class CreateMLAGScript(Script):
 | 
			
		|||
            bond_iface.full_clean()
 | 
			
		||||
            bond_iface.save()
 | 
			
		||||
 | 
			
		||||
            iface.enabled = True
 | 
			
		||||
            iface.lag = bond_iface
 | 
			
		||||
            self.log_info(f'setting {bond_iface} as LAG for interface {iface}')
 | 
			
		||||
            iface.full_clean()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue