From 08590fc1a733a7f35958516f90258f1123791f06 Mon Sep 17 00:00:00 2001 From: Sarath Kumar Date: Fri, 23 Sep 2016 15:56:30 -0700 Subject: 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 --- etc/os-net-config/samples/nfvswitch.json | 2 +- etc/os-net-config/samples/nfvswitch.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/os-net-config/samples/nfvswitch.json b/etc/os-net-config/samples/nfvswitch.json index 2d8af8a..b081de9 100644 --- a/etc/os-net-config/samples/nfvswitch.json +++ b/etc/os-net-config/samples/nfvswitch.json @@ -2,7 +2,7 @@ "network_config": [ { "type": "nfvswitch_bridge", - "cpus": "2,3,4,5", + "options": "-c 2,3,4,5", "members": [ { "type": "interface", diff --git a/etc/os-net-config/samples/nfvswitch.yaml b/etc/os-net-config/samples/nfvswitch.yaml index 5af3f70..d7571ae 100644 --- a/etc/os-net-config/samples/nfvswitch.yaml +++ b/etc/os-net-config/samples/nfvswitch.yaml @@ -1,7 +1,7 @@ network_config: - type: nfvswitch_bridge - cpus: "2,3,4,5" + options: "-c 2,3,4,5" members: - type: interface @@ -22,4 +22,4 @@ network_config: vlan_id: 202 addresses: - - ip_netmask: 172.16.1.6/24 \ No newline at end of file + ip_netmask: 172.16.1.6/24 -- cgit 1.2.3-korg