aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2015-12-15 15:08:54 -0800
committerEd Warnicke <eaw@cisco.com>2015-12-16 05:50:11 -0700
commitc72cbf80d0674a745fef2effb3c2f6dbcf5bf98e (patch)
tree2f2ac255769a964d87a8da3fb151fa639ee6cc6d /build-data
parent7210e9470eeeb0ff1a259db1f448011da3774d8c (diff)
Add vppctl as a simple cli interface to vpp
This patch provides a pretty simple hack on top of vpe_api_test to give users a cli interface to vpp. Example: sudo vppctl show api client sudo vppctl show int It has the advantage that users can use bash shell scripting and history with it. Change-Id: I621dd8e29269e14a83b4887f20adcfbe5f946b99 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/packages/vppctl.mk11
-rw-r--r--build-data/platforms/vpp.mk2
2 files changed, 12 insertions, 1 deletions
diff --git a/build-data/packages/vppctl.mk b/build-data/packages/vppctl.mk
new file mode 100644
index 00000000..a5f8757b
--- /dev/null
+++ b/build-data/packages/vppctl.mk
@@ -0,0 +1,11 @@
+vppctl_configure_depend = \
+ vppinfra-install \
+ dpdk-install \
+ svm-install \
+ vlib-api-install \
+ vlib-install \
+ vnet-install \
+ vpp-install \
+ vpp-api-test-install
+
+
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index a09b0307..b84fc976 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -16,7 +16,7 @@ vpp_arch = native
vpp_native_tools = vppapigen
vpp_root_packages = vpp vlib vlib-api vnet svm dpdk vpp-api-test \
- vpp-japi
+ vpp-japi vppctl
vpp_configure_args_vpp = --with-dpdk
vnet_configure_args_vpp = --with-dpdk