aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/nfvswitch.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/nfvswitch.json')
-rw-r--r--etc/os-net-config/samples/nfvswitch.json38
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
+ }
+ ]
+ }
+ ]
+}