go-network-configurator/tests/netplan/results/2/netplan.yaml
2026-07-01 15:17:11 -05:00

47 lines
1.3 KiB
YAML

network:
version: 2
ethernets:
test_eth0:
match:
macaddress: 52:54:00:b9:ab:93
set-name: test_eth0
addresses:
- 1.2.10.4/24
gateway4: 1.2.10.254
mtu: 1500
test_eth1:
match:
macaddress: 52:54:00:8b:0d:93
set-name: test_eth1
mtu: 1500
test_eth3:
match:
macaddress: 52:54:00:8b:cd:93
set-name: test_eth3
addresses:
- abcd:ef12:3456:10::4/64
- 203.0.113.2/24
gateway4: 203.0.113.1
gateway6: abcd:ef12:3456:10::1
mtu: 1500
routes:
- to: abcd:ef12:3455:10::/64
via: abcd:ef12:3456:10::1
metric: 100
- to: 10.253.2.0/24
via: 203.0.113.22
metric: 100
vlans:
test_eth0.1556:
id: 1556
link: test_eth0
addresses:
- 1.2.3.4/24
- 1.2.3.43/24
- fc00::2/64
gateway4: 1.2.3.1
gateway6: fc00::1
nameservers:
search: [example.com, maas]
addresses: [10.0.0.1]
mtu: 1500