Allow BondEthernet to set MAC, and disallow interfaces to set their MAC if they are a bond member

This commit is contained in:
Pim van Pelt
2022-04-09 21:18:26 +00:00
parent 35edcff884
commit be36cc0ede
5 changed files with 40 additions and 1 deletions

View File

@ -36,6 +36,7 @@ loopback:
---
bondethernet:
description: str(exclude='\'"',len=64,required=False)
mac: mac(required=False)
interfaces: list(str(matches='.*GigabitEthernet[0-9]+/[0-9]+/[0-9]+'),required=False)
mode: enum('round-robin','active-backup','broadcast','lacp','xor',required=False)
load-balance: enum('l2','l23','l34',required=False)