aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/nfvswitch.json
blob: 2d8af8a841812e92b2ba64a21c277cbcd728e3ee (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",
      "cpus": "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
        }
      ]
    }
  ]
}