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

@ -5,6 +5,7 @@ test:
---
bondethernets:
BondEthernet0:
mac: 00:01:02:03:04:05
description: "Infra: xsw0.lab.ipng.ch LACP"
interfaces: [ GigabitEthernet2/0/0, GigabitEthernet2/0/1 ]
@ -36,7 +37,6 @@ interfaces:
BondEthernet0:
description: "Bond, James Bond!"
mac: 00:01:02:03:04:05
lcp: "bond0"
sub-interfaces:
200: