Skip to content

Commit 7cc2feb

Browse files
author
Vipin Jain
committed
add diagrams, udpate docs
1 parent 768a746 commit 7cc2feb

6 files changed

+18
-15
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,12 @@ at [examples](examples/) directory to explore more details
9090

9191
####Trying it out on a multi-host VLAN/VXLAN network
9292

93-
<Diagrams and Vagrant files to be added for this and configuration below>
94-
However feel free to look at [examples/two_host_vlan.json](examples/two_host_vlan.json) and
95-
[examples/two_host_vxlan.json](examples/two_host_vxlan.json) as a starting point for cluster of two hosts.
93+
Look at [examples/two_host_vlan.json](examples/two_host_vlan.json) that depicts the following network
94+
95+
![alt tag](https://raw.github.com/contiv/netplugin/docs/VlanNetwork.jpg)
96+
97+
[examples/two_host_vxlan.json](examples/two_host_vxlan.json) attempts to achieve following connectivity
98+
![alt tag](https://raw.github.com/contiv/netplugin/docs/VxlanNetwork.jpg)
9699

97100
####Multi-tenant network
98101

docs/VlanNetwork.jpg

41.8 KB
Loading

docs/VxlanNetwork.jpg

42.9 KB
Loading

examples/two_host_vlan.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
"Endpoints" : [
1111
{
1212
"Container" : "myContainer1",
13-
"Host" : "swvm174"
13+
"Host" : "host1"
1414
},
1515
{
1616
"Container" : "myContainer2",
17-
"Host" : "swvm174"
17+
"Host" : "host1"
1818
},
1919
{
2020
"Container" : "myContainer3",
21-
"Host" : "swvm175"
21+
"Host" : "host2"
2222
},
2323
{
2424
"Container" : "myContainer4",
25-
"Host" : "swvm175"
25+
"Host" : "host2"
2626
}
2727
]
2828
}

examples/two_host_vxlan.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
"Endpoints" : [
1111
{
1212
"Container" : "myContainer1",
13-
"Host" : "swvm174"
13+
"Host" : "host1"
1414
},
1515
{
1616
"Container" : "myContainer2",
17-
"Host" : "swvm174"
17+
"Host" : "host1"
1818
},
1919
{
2020
"Container" : "myContainer3",
21-
"Host" : "swvm175"
21+
"Host" : "host2"
2222
},
2323
{
2424
"Container" : "myContainer4",
25-
"Host" : "swvm175"
25+
"Host" : "host2"
2626
}
2727
]
2828
}

examples/two_hosts_multiple_vxlan_nets.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"Endpoints" : [
1111
{
1212
"Container" : "myContainer1",
13-
"Host" : "swvm174"
13+
"Host" : "host1"
1414
},
1515
{
1616
"Container" : "myContainer3",
17-
"Host" : "swvm175"
17+
"Host" : "host2"
1818
}
1919
]
2020
},
@@ -23,11 +23,11 @@
2323
"Endpoints" : [
2424
{
2525
"Container" : "myContainer2",
26-
"Host" : "swvm174"
26+
"Host" : "host1"
2727
},
2828
{
2929
"Container" : "myContainer4",
30-
"Host" : "swvm175"
30+
"Host" : "host2"
3131
}
3232
]
3333
}

0 commit comments

Comments
 (0)