141 lines
2.9 KiB
JSON
141 lines
2.9 KiB
JSON
{
|
|
"config": [
|
|
{
|
|
"mac_address": "52:54:00:e8:53:b5",
|
|
"mtu": 1500,
|
|
"name": "test_eth0",
|
|
"subnets": [
|
|
{
|
|
"type": "manual"
|
|
}
|
|
],
|
|
"type": "physical"
|
|
},
|
|
{
|
|
"mtu": 1500,
|
|
"name": "test_eth0.1556",
|
|
"subnets": [
|
|
{
|
|
"address": "1.2.3.4/24",
|
|
"dns_nameservers": [
|
|
"10.0.0.1"
|
|
],
|
|
"dns_search": [
|
|
"example.com",
|
|
"maas"
|
|
],
|
|
"gateway": "1.2.3.1",
|
|
"routes": [
|
|
{
|
|
"destination": "10.0.0.0/24",
|
|
"gateway": "1.2.3.5",
|
|
"metric": 100
|
|
}
|
|
],
|
|
"type": "static"
|
|
},
|
|
{
|
|
"address": "1.2.3.43/24",
|
|
"dns_nameservers": [
|
|
"10.0.0.1"
|
|
],
|
|
"dns_search": [
|
|
"example.com",
|
|
"maas"
|
|
],
|
|
"gateway": "1.2.3.1",
|
|
"type": "static"
|
|
},
|
|
{
|
|
"address": "fc00::2/64",
|
|
"dns_nameservers": [
|
|
"10.0.0.1"
|
|
],
|
|
"dns_search": [
|
|
"example.com",
|
|
"maas"
|
|
],
|
|
"gateway": "fc00::1",
|
|
"type": "static"
|
|
}
|
|
],
|
|
"type": "vlan",
|
|
"vlan_id": 1556,
|
|
"vlan_link": "eth0"
|
|
},
|
|
{
|
|
"mac_address": "52:54:00:5a:ff:31",
|
|
"mtu": 1500,
|
|
"name": "test_eth1",
|
|
"subnets": [
|
|
{
|
|
"type": "manual"
|
|
}
|
|
],
|
|
"type": "physical"
|
|
},
|
|
{
|
|
"mtu": 1500,
|
|
"name": "test_eth1.1557",
|
|
"subnets": [
|
|
{
|
|
"address": "fc00:aa8:7160:d9eb:1:0:1:3/64",
|
|
"dns_nameservers": [
|
|
"10.0.0.1"
|
|
],
|
|
"dns_search": [
|
|
"example.com",
|
|
"maas"
|
|
],
|
|
"type": "static"
|
|
}
|
|
],
|
|
"type": "vlan",
|
|
"vlan_id": 1557,
|
|
"vlan_link": "eth1"
|
|
},
|
|
{
|
|
"mac_address": "52:54:00:e8:54:b5",
|
|
"mtu": 1500,
|
|
"name": "test_eth3",
|
|
"subnets": [
|
|
{
|
|
"address": "abcd:ef12:3456:10::4/64",
|
|
"gateway": "abcd:ef12:3456:10::1",
|
|
"routes": [
|
|
{
|
|
"destination": "abcd:ef12:3455:10::/64",
|
|
"gateway": "abcd:ef12:3456:10::1",
|
|
"metric": 100
|
|
}
|
|
],
|
|
"type": "static"
|
|
},
|
|
{
|
|
"address": "203.0.113.2/24",
|
|
"gateway": "203.0.113.1",
|
|
"routes": [
|
|
{
|
|
"destination": "10.253.2.0/24",
|
|
"gateway": "203.0.113.22",
|
|
"metric": 100
|
|
}
|
|
],
|
|
"type": "static"
|
|
}
|
|
],
|
|
"type": "physical"
|
|
},
|
|
{
|
|
"address": [
|
|
"10.0.0.1"
|
|
],
|
|
"search": [
|
|
"example.com",
|
|
"maas"
|
|
],
|
|
"type": "nameserver"
|
|
}
|
|
],
|
|
"version": 1
|
|
}
|