summaryrefslogtreecommitdiff
path: root/ironic/tests/json_samples/network_data.json
blob: efce35dddea145c490ac11585d1bb8de596ebdff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
  "links": [
    {
      "id": "interface2",
      "type": "vif",
      "ethernet_mac_address": "a0:36:9f:2c:e8:70",
      "vif_id": "e1c90e9f-eafc-4e2d-8ec9-58b91cebb53d",
      "mtu": 1500
    },
    {
      "id": "interface0",
      "type": "phy",
      "ethernet_mac_address": "a0:36:9f:2c:e8:80",
      "mtu": 9000
    },
    {
      "id": "interface1",
      "type": "phy",
      "ethernet_mac_address": "a0:36:9f:2c:e8:81",
      "mtu": 9000
    },
    {
      "id": "bond0",
      "type": "bond",
      "bond_links": [
        "interface0",
        "interface1"
      ],
      "ethernet_mac_address": "a0:36:9f:2c:e8:82",
      "bond_mode": "802.1ad",
      "bond_xmit_hash_policy": "layer3+4",
      "bond_miimon": 100
    },
    {
      "id": "vlan0",
      "type": "vlan",
      "vlan_link": "bond0",
      "vlan_id": 101,
      "vlan_mac_address": "a0:36:9f:2c:e8:80",
      "vif_id": "e1c90e9f-eafc-4e2d-8ec9-58b91cebb53f"
    }
  ],
  "networks": [
    {
      "id": "private-ipv4",
      "type": "ipv4",
      "link": "interface0",
      "ip_address": "10.184.0.244",
      "netmask": "255.255.240.0",
      "routes": [
        {
          "network": "10.0.0.0",
          "netmask": "255.0.0.0",
          "gateway": "11.0.0.1"
        },
        {
          "network": "0.0.0.0",
          "netmask": "0.0.0.0",
          "gateway": "23.253.157.1"
        }
      ],
      "network_id": "da5bb487-5193-4a65-a3df-4a0055a8c0d7"
    },
    {
      "id": "private-ipv4",
      "type": "ipv6",
      "link": "interface0",
      "ip_address": "2001:cdba::3257:9652/24",
      "routes": [
        {
          "network": "::",
          "netmask": "::",
          "gateway": "fd00::1"
        },
        {
          "network": "::",
          "netmask": "ffff:ffff:ffff::",
          "gateway": "fd00::1:1"
        }
      ],
      "network_id": "da5bb487-5193-4a65-a3df-4a0055a8c0d8"
    },
    {
      "id": "publicnet-ipv4",
      "type": "ipv4",
      "link": "vlan0",
      "ip_address": "23.253.157.244",
      "netmask": "255.255.255.0",
      "dns_nameservers": [
        "69.20.0.164",
        "69.20.0.196"
      ],
      "routes": [
        {
          "network": "0.0.0.0",
          "netmask": "0.0.0.0",
          "gateway": "23.253.157.1"
        }
      ],
      "network_id": "62611d6f-66cb-4270-8b1f-503ef0dd4736"
    }
  ],
  "services": [
    {
      "type": "dns",
      "address": "8.8.8.8"
    },
    {
      "type": "dns",
      "address": "8.8.4.4"
    }
  ]
}