From 71ba53264dc2835965bad2f5bd262a45cc67974d Mon Sep 17 00:00:00 2001 From: Brent Eagles Date: Tue, 15 Nov 2016 15:18:25 -0330 Subject: 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 --- etc/os-net-config/samples/bridge_fail_mode.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/os-net-config/samples/bridge_fail_mode.json (limited to 'etc/os-net-config/samples/bridge_fail_mode.json') diff --git a/etc/os-net-config/samples/bridge_fail_mode.json b/etc/os-net-config/samples/bridge_fail_mode.json new file mode 100644 index 0000000..6492da6 --- /dev/null +++ b/etc/os-net-config/samples/bridge_fail_mode.json @@ -0,0 +1,15 @@ +{ "network_config": [ + { + "type": "ovs_bridge", + "name": "br-ctlplane", + "ovs_fail_mode": "secure", + "use_dhcp": "true", + "members": [ + { + "type": "interface", + "name": "em1" + } + ] + } + ] +} -- cgit 1.2.3-korg