aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_patch_port.json
blob: d4573717e4841cbccb6590dcbb2a785a2e3e0b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
    }
  ]
}