os-net-config/etc/os-net-config/samples/bridge_ovs_extra.json
Brent Eagles 71ba53264d Add sample files for fail_mode and ovs_extra template
This patch adds sample json and yaml for:
- setting the OVS bridge fail mode using the new ovs_fail_mode option
- using the {name} replacement feature for ovs_extra data for inserting
  the bridge name in configuration data

Change-Id: I2af32edbba0b635207888ad0502b2296f502c274
2016-11-15 16:26:28 -03:30

19 lines
463 B
JSON

{ "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"
}
]
}
]
}