forked from contiv/netplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
two_hosts_multiple_tenants_mix_vlan_vxlan.json
49 lines (48 loc) · 1.54 KB
/
two_hosts_multiple_tenants_mix_vlan_vxlan.json
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
{
"Hosts" : [{
"Name" : "host1",
"Intf" : "eth2",
"VtepIp" : "192.168.2.10"
},
{
"Name" : "host2",
"Intf" : "eth2",
"VtepIp" : "192.168.2.11"
}],
"Tenants" : [{
"Name" : "tenant-one",
"DefaultNetType" : "vlan",
"SubnetPool" : "11.1.0.0/16",
"AllocSubnetLen" : 24,
"Vlans" : "200-300",
"Networks" : [{
"Name" : "orange",
"Endpoints" : [{
"Container" : "myContainer1",
"Host" : "host1"
},
{
"Container" : "myContainer3",
"Host" : "host2"
}]
}]
},
{
"Name" : "tenant-two",
"DefaultNetType" : "vxlan",
"SubnetPool" : "11.1.0.0/16",
"AllocSubnetLen" : 24,
"Vxlans" : "10001-12000",
"Networks" : [{
"Name" : "purple",
"Endpoints" : [{
"Container" : "myContainer2",
"Host" : "host1"
},
{
"Container" : "myContainer4",
"Host" : "host2"
}]
}]
} ]
}