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
|
{
"env-build": [
{
"ip": "192.168.188.14",
"drivers": [
"ixgbe"
]
},
{
"ip": "192.168.188.16",
"drivers": [
"ixgbe",
"vhost_net"
],
"bridges": [
{
"type": "ovs",
"name": "ovs1",
"uplinks": [
{
"bdf": "04:00.0",
"vlan_mode": "trunk",
"vlan_id": "1,100,200,300,400"
}
],
"vtep": {},
"fastlink": [
{
"inport": "04:00.0",
"outport": "tap0"
}
]
}
],
"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",
"ctrl_gw": "192.168.188.1"
},
"taps": [
{
"tap_name": "tap0",
"br_type": "ovs",
"br_name": "ovs1",
"tap_mac": "56:6f:44:a5:3f:a2",
"vlan_mode": "access",
"vlan_id": "1"
}
],
"ctrl_mac": "16:6f:44:a5:3f:a2",
"ctrl_br": "br0"
}
]
}
]
}
|