summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_patch_port.yaml
blob: bae88800009673a5c3a54cac4d6db49deca7ebfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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