Files
vppcfg/intest/hippo9.yaml
Pim van Pelt a7545ac5af Add ability to manipulate MACs
Special care is taken for bondethernet, where the MAC changes when
the first member is added to it. BondEthernet requires its MAC to
be set in the bondethernets section, disallowing the MAC of individual
members to be set.

Also write a dumper for MACs of all types. Update integration test
cases to stress the MAC changes on loops, bonds, and phys.
2022-04-10 09:54:51 +00:00

92 lines
1.7 KiB
YAML

bondethernets:
BondEthernet0:
mac: 02:b0:b0:00:00:00
interfaces: [ GigabitEthernet3/0/0, GigabitEthernet3/0/1 ]
interfaces:
GigabitEthernet3/0/0:
mtu: 9000
description: "LAG #1"
GigabitEthernet3/0/1:
mtu: 9000
description: "LAG #2"
HundredGigabitEthernet12/0/0:
mac: 02:ff:ba:12:00:00
lcp: "ice0"
HundredGigabitEthernet12/0/1:
lcp: "ice1"
mtu: 9000
addresses: [ 192.0.2.17/30, 2001:db8:3::1/64 ]
sub-interfaces:
1234:
mtu: 1500
lcp: "ice1.1234"
encapsulation:
dot1q: 1234
exact-match: True
1235:
mtu: 1400
lcp: "ice1.1234.1000"
encapsulation:
dot1q: 1234
inner-dot1q: 1000
exact-match: True
BondEthernet0:
mtu: 9000
lcp: "be0"
sub-interfaces:
100:
mtu: 2500
l2xc: BondEthernet0.200
encapsulation:
dot1q: 100
exact-match: False
200:
mtu: 2500
l2xc: BondEthernet0.100
encapsulation:
dot1q: 200
exact-match: False
500:
mtu: 2000
encapsulation:
dot1ad: 500
exact-match: False
501:
mtu: 2000
encapsulation:
dot1ad: 501
exact-match: False
vxlan_tunnel1:
mtu: 1500
loopbacks:
loop1:
lcp: "bvi1"
addresses: [ 192.0.2.1/30 ]
loop2:
lcp: "bvi2"
mtu: 2000
addresses: [ 192.0.2.5/30 ]
bridgedomains:
bd1:
mtu: 2000
bvi: loop2
interfaces: [ BondEthernet0.500, BondEthernet0.501 ]
settings:
mac-age-minutes: 10
learn: False
bd11:
mtu: 1500
vxlan_tunnels:
vxlan_tunnel1:
local: 192.0.2.1
remote: 192.0.2.2
vni: 101