summaryrefslogtreecommitdiffstats
path: root/examples/docker/bgp_demo/Readme.txt
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-04-30 09:03:13 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-05-02 09:55:56 +0000
commit30b088af1c187d7d3abd65030089c2a56f5cf95b (patch)
treeee427c54a6885d644c69a300407445fefff24628 /examples/docker/bgp_demo/Readme.txt
parent4b8bef208fc37b09008e3333db9d262d56b94192 (diff)
Move docker files to examples directory
Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit e4c58493ce5265ea0d1e17d160c339401c406186)
Diffstat (limited to 'examples/docker/bgp_demo/Readme.txt')
-rw-r--r--examples/docker/bgp_demo/Readme.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/docker/bgp_demo/Readme.txt b/examples/docker/bgp_demo/Readme.txt
new file mode 100644
index 000000000..896a6f7c8
--- /dev/null
+++ b/examples/docker/bgp_demo/Readme.txt
@@ -0,0 +1,42 @@
+BGP demo
+---------------------------------------------------
+
+Provides examples of BGP config using Honeycomb
+two VPP nodes (docker containers).
+
+Configuration was tested using VPP 18.01 and hc2vpp 1.18.01.
+
+1) Create & start containers (requires hc2vpp image)
+sudo ./build_topology.sh
+
+3) Run vpp and honeycomb with preconfigured veth interfaces
+
+Either manually connect
+docker exec -it vpp1 bash
+docker exec -it vpp2 bash
+
+and then run vpp and honeycomb on vpp1 and vpp2 respectively:
+/hc2vpp/mpls_demo/init/vpp.sh 1
+/hc2vpp/mpls_demo/init/vpp.sh 2
+
+or run everything via script (uses xfce4-terminal):
+./run_terminals.sh
+
+After vpp and honeycomb stars,
+you should be able to ping vpp2 from vpp1.
+
+Either using vppctl:
+vppctl ping 10.12.1.2
+
+or directly (we are using tuntap):
+ping 10.12.1.2
+
+4) Use postman_collection.json for BGP configuration examples
+
+First configure loop0 interface on vpp2.
+
+Then configure eBGP peers on vpp1 and vpp2
+and program route to loop0 using application peer from vpp2.
+
+Now loop0 is reachable from vpp1:
+vppctl ping 10.100.1.1