summaryrefslogtreecommitdiffstats
path: root/docker/mpls_demo/run_terminals.sh
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-11-27 07:49:48 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-11-28 16:13:37 +0100
commit2c4c5fcaeb2f5bd0b3b710191bdfde8a03abbc93 (patch)
tree6484f883031ca281f1e8ff4afc292ff8fb2795df /docker/mpls_demo/run_terminals.sh
parentc125686ff6e70ce3402ad4d1b7215cfe801b7158 (diff)
MPLS SR configuration examples
Provides examples of MPLS SR config using Honeycomb for the following topology: A / vpp1 – vpp2 – vpp4 \ // \ –– vpp3 –– B Each vpp node represents docker container with honeycomb running. A and B represent egrees nodes modeled using tap interfaces. Scripts for building topology and Postman collection with example requests included. Change-Id: I96099d9b5b2af50bf48962c869ad5b2474673227 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'docker/mpls_demo/run_terminals.sh')
-rwxr-xr-xdocker/mpls_demo/run_terminals.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/mpls_demo/run_terminals.sh b/docker/mpls_demo/run_terminals.sh
new file mode 100755
index 000000000..aee7feb94
--- /dev/null
+++ b/docker/mpls_demo/run_terminals.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Opens connections to hc2vpp containers
+
+xfce4-terminal --title=vpp1 --command="docker exec -it vpp1 \
+ bash -c '/hc2vpp/mpls_demo/init/vpp.sh vpp1; exec $SHELL'"
+
+xfce4-terminal --title=vpp2 --command="docker exec -it vpp2 \
+ bash -c '/hc2vpp/mpls_demo/init/vpp.sh vpp2; exec $SHELL'"
+
+xfce4-terminal --title=vpp3 --command="docker exec -it vpp3 \
+ bash -c '/hc2vpp/mpls_demo/init/vpp.sh vpp3; exec $SHELL'"
+
+xfce4-terminal --title=vpp4 --command="docker exec -it vpp4 \
+ bash -c '/hc2vpp/mpls_demo/init/vpp.sh vpp4; exec $SHELL'"