diff options
author | 2017-11-27 07:49:48 +0100 | |
---|---|---|
committer | 2017-11-28 16:13:37 +0100 | |
commit | 2c4c5fcaeb2f5bd0b3b710191bdfde8a03abbc93 (patch) | |
tree | 6484f883031ca281f1e8ff4afc292ff8fb2795df /docker/mpls_demo/init/vpp.sh | |
parent | c125686ff6e70ce3402ad4d1b7215cfe801b7158 (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/init/vpp.sh')
-rwxr-xr-x | docker/mpls_demo/init/vpp.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/mpls_demo/init/vpp.sh b/docker/mpls_demo/init/vpp.sh new file mode 100755 index 000000000..f12cb0a32 --- /dev/null +++ b/docker/mpls_demo/init/vpp.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Starts and initializes vpp. +# Then starts honeycomb +# +# $1 - node name +# + +/hc2vpp/vpp/start.sh +echo "Waiting for vpp to start" +sleep 5 + +# Configure veth interfaces +# (not yet fully supported by honeycomb) +echo "Configuring vpp" +vppctl exec /hc2vpp/mpls_demo/init/$1.cmd + +echo "Starting honeycomb" +/hc2vpp/honeycomb/start.sh |