summaryrefslogtreecommitdiffstats
path: root/docker/bgp_demo/Readme.txt
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-12-13 12:25:58 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-01-08 15:11:17 +0000
commit686309091cf77d9b35cf5ae19c80172ad29d68b6 (patch)
tree9c623ddef516d80f2ae981ae0512db8e54e97526 /docker/bgp_demo/Readme.txt
parentc127a6e1f1f7c37864bf9e11887cb7b84dfad826 (diff)
BGP-HC docker example
Shows how to announce BGP prefix from one HC instance to another. Configuration (RESTCONF) is done over builtin docker0 network. Data plane is using veth pair that connects containers. BGP is also using veth but via unnumbered tuntap. Change-Id: Ia18b0729e12a4893ba559d0a68a9e962e58d2a2f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'docker/bgp_demo/Readme.txt')
-rw-r--r--docker/bgp_demo/Readme.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/docker/bgp_demo/Readme.txt b/docker/bgp_demo/Readme.txt
new file mode 100644
index 000000000..b744f2121
--- /dev/null
+++ b/docker/bgp_demo/Readme.txt
@@ -0,0 +1,42 @@
+BGP demo
+---------------------------------------------------
+
+Provides examples of BGP config using Honeycomb
+two vpp nodes (docker containers):
+
+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