summaryrefslogtreecommitdiffstats
path: root/docker/mpls_demo/init/vpp.sh
blob: f12cb0a3255db18a8ccff987ade0f797a3f2b1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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