diff options
author | Brent Eagles <beagles@redhat.com> | 2016-11-15 15:18:25 -0330 |
---|---|---|
committer | Brent Eagles <beagles@redhat.com> | 2016-11-15 16:26:28 -0330 |
commit | 71ba53264dc2835965bad2f5bd262a45cc67974d (patch) | |
tree | 1fca7ddca0a50d406ef8fe60da2a77e3b5d8e94b /etc/os-net-config/samples/bridge_ovs_extra.yaml | |
parent | 3199064d4d5ce5a81fb38c831c11ab539ed8716a (diff) |
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
Diffstat (limited to 'etc/os-net-config/samples/bridge_ovs_extra.yaml')
-rw-r--r-- | etc/os-net-config/samples/bridge_ovs_extra.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/bridge_ovs_extra.yaml b/etc/os-net-config/samples/bridge_ovs_extra.yaml new file mode 100644 index 0000000..e369d62 --- /dev/null +++ b/etc/os-net-config/samples/bridge_ovs_extra.yaml @@ -0,0 +1,12 @@ +network_config: + - + type: ovs_bridge + name: br-ctlplane + use_dhcp: true + ovs_extra: + - br-set-external-id br-ctlplane bridge-id br-ctlplane + - set bridge {name} stp_enable=true + members: + - + type: interface + name: em1 |