summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-data/packages/vppctl.mk11
-rw-r--r--build-data/platforms/vpp.mk2
-rw-r--r--build-root/deb/debian/.gitignore2
-rw-r--r--vpp/conf/startup.conf1
-rw-r--r--vppctl/Makefile.am2
-rw-r--r--vppctl/configure.ac4
-rwxr-xr-xvppctl/vppctl2
7 files changed, 22 insertions, 2 deletions
diff --git a/build-data/packages/vppctl.mk b/build-data/packages/vppctl.mk
new file mode 100644
index 00000000000..a5f8757b536
--- /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 a09b0307db5..b84fc976ea4 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
diff --git a/build-root/deb/debian/.gitignore b/build-root/deb/debian/.gitignore
index 6c9b412e875..261ea486783 100644
--- a/build-root/deb/debian/.gitignore
+++ b/build-root/deb/debian/.gitignore
@@ -8,3 +8,5 @@ vpp/
vpp-dev/
vpp-lib/
vpp-dpdk-dkms/
+vpp-dbg/
+vppctl/
diff --git a/vpp/conf/startup.conf b/vpp/conf/startup.conf
index 081589e906c..5ce860b3252 100644
--- a/vpp/conf/startup.conf
+++ b/vpp/conf/startup.conf
@@ -2,7 +2,6 @@
unix {
nodaemon
log /tmp/vpe.log
- cli-listen localhost:5002
full-coredump
}
diff --git a/vppctl/Makefile.am b/vppctl/Makefile.am
new file mode 100644
index 00000000000..d556cb2aa5c
--- /dev/null
+++ b/vppctl/Makefile.am
@@ -0,0 +1,2 @@
+
+dist_bin_SCRIPTS = vppctl
diff --git a/vppctl/configure.ac b/vppctl/configure.ac
new file mode 100644
index 00000000000..0421019452a
--- /dev/null
+++ b/vppctl/configure.ac
@@ -0,0 +1,4 @@
+AC_INIT([vppctl], [1.0])
+AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/vppctl/vppctl b/vppctl/vppctl
new file mode 100755
index 00000000000..b789493f2be
--- /dev/null
+++ b/vppctl/vppctl
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo exec ${@} | vpe_api_test | sed 's/vat# //g'