os-net-config/etc/os-net-config/samples/nfvswitch.json
Sarath Kumar 08590fc1a7 Add options attribute to NFVSwitch
Adding options to NFVSwitch type bridge will give flexibility and
avoid specific attributes like 'cpus' in the yaml file (which will now
be moved into the options)

Change-Id: I4d715b641c54de969b9195b1a4b16195b2d7e595
2016-09-27 11:12:37 -07:00

39 lines
734 B
JSON

{
"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
}
]
}
]
}