From 15974244f6212905540e1daf9ca596c83f510bdd Mon Sep 17 00:00:00 2001 From: Sarath Kumar Date: Thu, 21 Jul 2016 11:14:39 -0700 Subject: 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 --- etc/os-net-config/samples/nfvswitch.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 etc/os-net-config/samples/nfvswitch.yaml (limited to 'etc/os-net-config/samples/nfvswitch.yaml') diff --git a/etc/os-net-config/samples/nfvswitch.yaml b/etc/os-net-config/samples/nfvswitch.yaml new file mode 100644 index 0000000..5af3f70 --- /dev/null +++ b/etc/os-net-config/samples/nfvswitch.yaml @@ -0,0 +1,25 @@ +network_config: + - + type: nfvswitch_bridge + cpus: "2,3,4,5" + members: + - + type: interface + name: nic2 + - + type: interface + name: nic3 + - + type: nfvswitch_internal + name: api + vlan_id: 201 + addresses: + - + ip_netmask: 172.16.2.7/24 + - + type: nfvswitch_internal + name: storage + vlan_id: 202 + addresses: + - + ip_netmask: 172.16.1.6/24 \ No newline at end of file -- cgit 1.2.3-korg