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