aboutsummaryrefslogtreecommitdiffstats
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.json16
1 files changed, 10 insertions, 6 deletions
diff --git a/etc/os-net-config/samples/bridge_vlan.json b/etc/os-net-config/samples/bridge_vlan.json
index 1e351e0..244c89a 100644
--- a/etc/os-net-config/samples/bridge_vlan.json
+++ b/etc/os-net-config/samples/bridge_vlan.json
@@ -2,20 +2,24 @@
{
"type": "ovs_bridge",
"name": "br-ctlplane",
+ "use_dhcp": "true",
"members": [
{
+ "type": "interface",
+ "name": "em1"
+ },
+ {
"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"
}]
}
- ]
+ ],
+ "routes": [{
+ "next_hop": "192.0.2.1",
+ "ip_netmask": "192.0.2.1/24"
+ }]
}
]
}