summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bridge_vlan.json
blob: 244c89abe38ccad6d7bc945c60ed002f17617bb9 (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
{ "network_config": [
        {
            "type": "ovs_bridge",
            "name": "br-ctlplane",
            "use_dhcp": "true",
            "members": [
                {
                    "type": "interface",
                    "name": "em1"
                },
                {
                    "type": "vlan",
                    "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"
            }]
        }
    ]
}