summaryrefslogtreecommitdiffstats
path: root/examples/docker/vpp
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-04-30 09:03:13 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-04-30 09:03:13 +0200
commite4c58493ce5265ea0d1e17d160c339401c406186 (patch)
tree4f7ac75773ad305b04982737e0500d613f24603e /examples/docker/vpp
parent2e96f3423a2619cd2aa9d188de513723416c15e6 (diff)
Move docker files to examples directory
Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/docker/vpp')
-rwxr-xr-xexamples/docker/vpp/kill.sh3
-rwxr-xr-xexamples/docker/vpp/start.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/docker/vpp/kill.sh b/examples/docker/vpp/kill.sh
new file mode 100755
index 000000000..329d201ec
--- /dev/null
+++ b/examples/docker/vpp/kill.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+ps -ef | grep vpp | awk '{print $2}'| xargs kill
diff --git a/examples/docker/vpp/start.sh b/examples/docker/vpp/start.sh
new file mode 100755
index 000000000..6b1899fdd
--- /dev/null
+++ b/examples/docker/vpp/start.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+vpp -c /etc/vpp/startup.conf &