summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/agent/unittest/env/configuration/Tn1v.json
blob: 5a25efdabb25f0080bb69e09b900a403ae7497dd (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
    "scenario": "tnv",
    "env-build": [
        {
            "ip": "192.168.188.16",
            "drivers": [
                "ixgbe",
                "tap_vhost"
            ],
            "vms": [
                {
                    "vm_cpu": 3,
                    "vm_name": "test1",
                    "vm_memory": 4194304,
                    "image_path": "/mnt/sdb/test1.qcow2",
                    "image_type": "qcow2",
                    "init_config": {
                        "amqp_server": "192.168.188.10",
                        "ctrl_ip_setting": "192.168.188.200/23",
                        "tap_pktloop_config": "dpdk",
                        "ctrl_gw": "192.168.188.1"
                    },
                    "taps": [
                        {
                            "tap_name": "tap_in",
                            "br_type": "ovs",
                            "br_name": "ovs1",
                            "tap_mac": "56:6f:44:a5:3f:a2",
                            "vlan_mode": "access",
                            "vlan_id": "100"
                        },
                        {
                            "tap_name": "tap_out",
                            "br_type": "ovs",
                            "br_name": "ovs22",
                            "tap_mac": "56:6f:44:a5:3f:a3",
                            "vlan_mode": "access",
                            "vlan_id": "200"
                        }
                    ],
                    "ctrl_mac": "16:6f:44:a5:3f:a2",
                    "ctrl_br": "br0"
                }
            ],
            "bridges": [
                {
                    "type": "ovs",
                    "name": "ovs1",
                    "uplinks": [
				{
                            "bdf": "04: 00.0",
                            "vlan_mode": "trunk",
                       	 	"vlan_id": "100"
				}
                    ],
                    "vtep":{},
                    "fastlink":[
	                    {
	                    	"inport":"04: 00.0",
	                    	"outport":"tap_in"
	                    }
	                ]
                },
                {
                    "type": "ovs",
                    "name": "ovs2",
                    "uplinks": [
                    	{
	                        "bdf": "04: 00.1",
	                        "vlan_mode": "trunk",
	                        "vlan_id": "200"
                        }
                    ],
                    "vtep":{},
                    "fastlink":[
	                    {
	                    	"inport":"04: 00.1",
	                    	"outport":"tap_out"
	                    }
	                ]
                }
            ]
        }
    ]
}