diff options
author | 2016-09-23 15:56:30 -0700 | |
---|---|---|
committer | 2016-09-27 11:12:37 -0700 | |
commit | 08590fc1a733a7f35958516f90258f1123791f06 (patch) | |
tree | ad51f97bc312623e5a35faf797468cad2fac4786 /etc/os-net-config | |
parent | 35823f261506f9256c1a227dd4a2770a0508c62d (diff) |
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
Diffstat (limited to 'etc/os-net-config')
-rw-r--r-- | etc/os-net-config/samples/nfvswitch.json | 2 | ||||
-rw-r--r-- | etc/os-net-config/samples/nfvswitch.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
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 |