aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/interface.json8
-rw-r--r--etc/os-net-config/samples/interface.yaml7
-rw-r--r--etc/os-net-config/samples/nfvswitch.json2
-rw-r--r--etc/os-net-config/samples/nfvswitch.yaml4
4 files changed, 16 insertions, 5 deletions
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json
index 8a942b5..6eb8f62 100644
--- a/etc/os-net-config/samples/interface.json
+++ b/etc/os-net-config/samples/interface.json
@@ -13,6 +13,11 @@
"ip_netmask": "0.0.0.0/0",
"next_hop": "192.0.2.254",
"default": "true"
+ },
+ {
+ "ip_netmask": "10.1.2.0/24",
+ "next_hop": "192.0.2.5",
+ "route_options": "metric 10"
}
]
},
@@ -20,7 +25,8 @@
"type": "interface",
"name": "em2",
"use_dhcp": true,
- "defroute": no
+ "defroute": no,
+ "ethtool_opts": "speed 1000 duplex full"
}
]
}
diff --git a/etc/os-net-config/samples/interface.yaml b/etc/os-net-config/samples/interface.yaml
index 4f76e07..725091b 100644
--- a/etc/os-net-config/samples/interface.yaml
+++ b/etc/os-net-config/samples/interface.yaml
@@ -11,8 +11,13 @@ network_config:
ip_netmask: 0.0.0.0/0
next_hop: 192.0.2.254
default: true
+ -
+ ip_netmask: 10.1.2.0/24
+ next_hop: 192.0.2.5
+ route_options: "metric 10"
-
type: interface
name: em2
use_dhcp: true
- defroute: no \ No newline at end of file
+ defroute: no
+ ethtool_opts: "speed 1000 duplex full"
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