forked from contiv/netplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathone_host_multiple_nets.json
37 lines (36 loc) · 1.07 KB
/
one_host_multiple_nets.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
{
"Hosts" : [{
"Name" : "host1",
"Intf" : "eth2"
}],
"Tenants" : [{
"Name" : "tenant-one",
"DefaultNetType" : "vlan",
"SubnetPool" : "11.1.0.0/16",
"AllocSubnetLen" : 24,
"Vlans" : "11-28",
"Networks" : [
{
"Name" : "orange",
"Endpoints" : [{
"Container" : "myContainer1",
"Host" : "host1"
},
{
"Container" : "myContainer2",
"Host" : "host1"
}]
},
{
"Name" : "purple",
"Endpoints" : [{
"Container" : "myContainer3",
"Host" : "host1"
},
{
"Container" : "myContainer4",
"Host" : "host1"
}]
}]
}]
}