summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/nfvswitch.json
blob: b081de98ac799e5499531c21757de744c28cd9ef (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
{
  "network_config": [
    {
      "type": "nfvswitch_bridge",
      "options": "-c 2,3,4,5",
      "members": [
        {
          "type": "interface",
          "name": "nic2",
        },
        {
          "type": "interface",
          "name": "nic3"
        },
        {
          "type": "nfvswitch_internal",
          "name": "api",
          "addresses": [
            {
              "ip_netmask": "172.16.2.7/24"
            }
          ],
          "vlan_id": 201
        },
        {
          "type": "nfvswitch_internal",
          "name": "storage",
          "addresses": [
            {
              "ip_netmask": "172.16.1.6/24"
            }
          ],
          "vlan_id": 202
        }
      ]
    }
  ]
}