diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-05 09:15:23 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-05 09:15:23 +0000 |
commit | 6bb8412ef3d3f163d91f2884081b743f07a78f18 (patch) | |
tree | 32e7e4eff7683febce73b771d5bf2eaec8f0539c /etc | |
parent | f742dcbda0d92bee0278b4a1614d65f2ad5b1a78 (diff) | |
parent | 789bd1ea089314b49db02ddd517809a82c380cf1 (diff) |
Merge "Add support for OVS patch ports"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/os-net-config/samples/ovs_patch_port.json | 37 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_patch_port.yaml | 23 |
2 files changed, 60 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_patch_port.json b/etc/os-net-config/samples/ovs_patch_port.json new file mode 100644 index 0000000..d457371 --- /dev/null +++ b/etc/os-net-config/samples/ovs_patch_port.json @@ -0,0 +1,37 @@ +{ + "network_config": [ + { + "name": "br-ctlplane", + "type": "ovs_bridge", + "members": [ + { + "mtu": 1500, + "primary": "true", + "name": "eth1", + "type": "interface" + } + ], + "ovs_extra": [ + "br-set-external-id br-ctlplane bridge-id br-ctlplane" + ], + "mtu": 1500, + "addresses": [ + { + "ip_netmask": "192.0.2.1/24" + } + ] + }, + { + "name": "br_pub-patch", + "type": "ovs_patch_port", + "bridge_name": "br-ctlplane", + "peer": "br-ctlplane-patch" + }, + { + "name": "br-ctlplane-patch", + "type": "ovs_patch_port", + "bridge_name": "br_pub", + "peer": "br_pub-patch" + } + ] +} diff --git a/etc/os-net-config/samples/ovs_patch_port.yaml b/etc/os-net-config/samples/ovs_patch_port.yaml new file mode 100644 index 0000000..91858be --- /dev/null +++ b/etc/os-net-config/samples/ovs_patch_port.yaml @@ -0,0 +1,23 @@ +network_config: + - + type: ovs_bridge + name: br-ctlplane + mtu: 1500 + members: + - + type: interface + name: eth1 + # force the MAC address of the bridge to this interface + primary: true + mtu: 1500 + ovs_extra: "br-set-external-id br-ctlplane bridge-id br-ctlplane" + - + type: ovs_patch_port + name: br_pub-patch + bridge_name: br-ctlplane + peer: br-ctlplane-patch + - + type: ovs_patch_port + name: br-ctlplane-patch + bridge_name: br_pub + peer: br_pub-patch |