aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bridge_ovs_extra.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/bridge_ovs_extra.json')
-rw-r--r--etc/os-net-config/samples/bridge_ovs_extra.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/bridge_ovs_extra.json b/etc/os-net-config/samples/bridge_ovs_extra.json
new file mode 100644
index 0000000..d71ead5
--- /dev/null
+++ b/etc/os-net-config/samples/bridge_ovs_extra.json
@@ -0,0 +1,18 @@
+{ "network_config": [
+ {
+ "type": "ovs_bridge",
+ "name": "br-ctlplane",
+ "ovs_extra": [
+ "br-set-external-id br-ctlplane bridge-id br-ctlplane",
+ "set bridge {name} stp_enable=true"
+ ],
+ "use_dhcp": "true",
+ "members": [
+ {
+ "type": "interface",
+ "name": "em1"
+ }
+ ]
+ }
+ ]
+}