summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bridge_vlan.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/bridge_vlan.json')
-rw-r--r--etc/os-net-config/samples/bridge_vlan.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/bridge_vlan.json b/etc/os-net-config/samples/bridge_vlan.json
new file mode 100644
index 0000000..6a6480c
--- /dev/null
+++ b/etc/os-net-config/samples/bridge_vlan.json
@@ -0,0 +1,21 @@
+{ "network_config": [
+ {
+ "type": "ovs_bridge",
+ "name": "br-ctlplane",
+ "members": [
+ {
+ "type": "vlan",
+ "device": "em1",
+ "vlan_id": "16",
+ "addresses": [{
+ "ip_netmask": "192.0.2.1/24"
+ }],
+ "routes": [{
+ "next_hop": "192.0.2.1",
+ "ip_netmask": "192.0.2.1/24"
+ }]
+ }
+ ]
+ }
+ ]
+}