aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_dpdk_bond.json
blob: 176c917007eaae48ba9a5891121bd6b312ce9ab0 (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
38
39
40
41
42
43
44
{ "network_config": [
        {
            "type": "ovs_user_bridge",
            "name": "br-link",
            "members": [
                {
                    "type" : "ovs_dpdk_bond",
                    "name" : "dpdkbond0",
                    "members": [
                        {
                            "type" : "ovs_dpdk_port",
                            "name" : "dpdk0",
                            "members": [
                                {
                                    "type": "interface",
                                    "name": "nic2"
                                }
                            ]
                        },
                        {
                            "type" : "ovs_dpdk_port",
                            "name" : "dpdk1",
                            "members": [
                                {
                                    "type": "interface",
                                    "name": "nic3"
                                }
                            ]
                        },
                    ]
                },
                {
                    "type" : "vlan",
                    "vlan_id" : 16,
                    "addresses" : [
                        {
                            "ip_netmask" : "192.0.2.1/24"
                        }
                    ]
                }
            ]
        }
    ]
}