aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vpptop/Makefile
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2020-12-11 10:28:49 +0100
committerOle Tr�an <otroan@employees.org>2021-03-30 12:30:36 +0000
commitf632ab5e3ba1882106975814597a8e39507d8873 (patch)
tree519e2f070006c1d0b2dcadfcc087f78d1fe26a1b /extras/vpptop/Makefile
parenteafb5db63f20975076de8e35932f1ed306a2743e (diff)
misc: vpptop makefile target
Type: feature Added make target to install VPPTop - real-time viewer of VPP metrics. New targets in /extras/vpptop/Makefile: * make start - starts the installed VPPTop binary * make install - does the installation using the local VPP API * make cleanup - removes the VPPTop local directory * make help - prints the VPPTop help info Signed-off-by: Vladimir Lavor <vlavor@cisco.com> Change-Id: I1b93eaf67214e1fe0567d43409763882caea6416
Diffstat (limited to 'extras/vpptop/Makefile')
-rw-r--r--extras/vpptop/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/extras/vpptop/Makefile b/extras/vpptop/Makefile
new file mode 100644
index 00000000000..49e4e0fc056
--- /dev/null
+++ b/extras/vpptop/Makefile
@@ -0,0 +1,18 @@
+# Manage VPPTop
+
+.PHONY: install
+install:
+ @ cd ../../ && $(MAKE) json-api-files
+ @./vpptop.sh install
+
+.PHONY: start
+start:
+ @./vpptop.sh start
+
+.PHONY: cleanup
+cleanup:
+ @./vpptop.sh cleanup
+
+.PHONY: help
+help:
+ @./vpptop.sh help \ No newline at end of file