aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bond.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-08-20 21:46:46 -0400
committerDan Prince <dprince@redhat.com>2014-08-20 21:46:46 -0400
commit416943cc4e1ec7e4fc0e86640f24f0133a8b2f4e (patch)
tree67698cc6a037c5bc3339dab31bf7e4226d875074 /etc/os-net-config/samples/bond.yaml
parentb3e74611befb157dc4bf992f23aaba346e655a86 (diff)
Add support for parsing YAML
Adds new YAML examples. Also adds some new CLI test cases which compare --noop stdout (from the CLI) for the json and yaml examples to verify they generate the same things.
Diffstat (limited to 'etc/os-net-config/samples/bond.yaml')
-rw-r--r--etc/os-net-config/samples/bond.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/bond.yaml b/etc/os-net-config/samples/bond.yaml
new file mode 100644
index 0000000..7b925a7
--- /dev/null
+++ b/etc/os-net-config/samples/bond.yaml
@@ -0,0 +1,17 @@
+network_config:
+ -
+ type: ovs_bridge
+ name: br-ctlplane
+ use_dhcp: true
+ members:
+ -
+ type: ovs_bond
+ name: bond1
+ use_dhcp: true
+ members:
+ -
+ type: interface
+ name: em1
+ -
+ type: interface
+ name: em2