diff options
author | Sarath Kumar <sarath.kutty@bigswitch.com> | 2016-07-21 11:14:39 -0700 |
---|---|---|
committer | Sarath Kumar <sarath.kutty@bigswitch.com> | 2016-08-02 11:45:46 -0700 |
commit | 15974244f6212905540e1daf9ca596c83f510bdd (patch) | |
tree | 26bcd9086d93e4501e9387a126725a847ce3f9bb /etc/os-net-config/samples/nfvswitch.json | |
parent | 311df0c3828fe7571079fad9763bca9e2414b51a (diff) |
Enable os-net-config to support and configure NFVSwitch
These changes are to generate /etc/sysconf/network-scripts/ifcfg-* and
/etc/sysconfig/nfvswitch configuration files for nfvswitch and its interfaces.
NFVSwitch is a virtual switch implementation based on DPDK for datacenter
workloads with very high throughput needs.
Change-Id: If02edb9c4c54c014f67290fe0c34e2fc73cb95bd
Diffstat (limited to 'etc/os-net-config/samples/nfvswitch.json')
-rw-r--r-- | etc/os-net-config/samples/nfvswitch.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/nfvswitch.json b/etc/os-net-config/samples/nfvswitch.json new file mode 100644 index 0000000..2d8af8a --- /dev/null +++ b/etc/os-net-config/samples/nfvswitch.json @@ -0,0 +1,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 + } + ] + } + ] +} |