aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vppctl_wrapper
diff options
context:
space:
mode:
authorMarcel Enguehard <mengueha+fdio@cisco.com>2017-07-19 11:26:26 +0200
committerMarcel Enguehard <mengueha+fdio@cisco.com>2017-07-19 11:51:26 +0000
commit3e6678f9c692553e8902da4d6fb1fe6c087db1f4 (patch)
tree580a46ca5de22a044319eabb295ad980d50589ec /scripts/vppctl_wrapper
parent08c4f765cf29dbd6e9a616c542552417eece14fc (diff)
* GUI resource
* MemIf interface for VPP * Better netmodel integration * Draft documentation * New tutorials * Improved monitoring and error handling * Refactored IP addresses and prefixes representation * Improved image mgmt for LXD * Various bugfixes and code refactoring Change-Id: I90da6cf7b5716bc7deb6bf4e24d3f9f01b5a9b0f Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
Diffstat (limited to 'scripts/vppctl_wrapper')
-rw-r--r--scripts/vppctl_wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vppctl_wrapper b/scripts/vppctl_wrapper
new file mode 100644
index 00000000..940e5784
--- /dev/null
+++ b/scripts/vppctl_wrapper
@@ -0,0 +1,4 @@
+#!/bin/bash
+TIMEOUT=5
+
+flock /tmp/vppctl.lock -c "timeout $TIMEOUT vppctl $*"