From 416943cc4e1ec7e4fc0e86640f24f0133a8b2f4e Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 20 Aug 2014 21:46:46 -0400 Subject: 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. --- etc/os-net-config/samples/bridge_vlan.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 etc/os-net-config/samples/bridge_vlan.yaml (limited to 'etc/os-net-config/samples/bridge_vlan.yaml') diff --git a/etc/os-net-config/samples/bridge_vlan.yaml b/etc/os-net-config/samples/bridge_vlan.yaml new file mode 100644 index 0000000..9f25e09 --- /dev/null +++ b/etc/os-net-config/samples/bridge_vlan.yaml @@ -0,0 +1,16 @@ +network_config: + - + type: ovs_bridge + name: br-ctlplane + members: + - + type: vlan + device: em1 + vlan_id: 16 + addresses: + - + ip_netmask: 192.0.2.1/24 + routes: + - + next_hop: 192.0.2.1 + ip_netmask: 192.0.2.1/24 -- cgit 1.2.3-korg