Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Vector Packet Processing--executables
- This package provides VPP executables: vpe, vpe_api_test, vpe_json_test
- vpe - the vector packet engine
- vpe_api_test - vector packet engine API test tool
- vpe_json_test - vector packet engine JSON test tool
+ This package provides VPP executables: vpp, vpp_api_test, vpp_json_test
+ vpp - the vector packet engine
+ vpp_api_test - vector packet engine API test tool
+ vpp_json_test - vector packet engine JSON test tool
Package: vpp-dbg
Architecture: any
To run vpp with the debug shell:
-sudo vpe unix interactive
+sudo vpp unix interactive
which will result in a prompt that looks like:
script
- exec vpe $(cat /etc/vpp/startup.conf | sed -e 's/#.*//')
+ exec vpp -c /etc/vpp/startup.conf
end script
post-stop script
After=syslog.target network.target auditd.service
[Service]
-ExecStart=/bin/sh -c '/usr/bin/vpe $(cat /etc/vpp/startup.conf | sed -e "s/#.*//")'
+ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Type=simple
Restart=on-failure
RestartSec=5s
Requires: vpp-lib = %{_version}-%{_release}, net-tools, pciutils
%description
-This package provides VPP executables: vpe, vpe_api_test, vpe_json_test
-vpe - the vector packet engine
-vpe_api_test - vector packet engine API test tool
-vpe_json_test - vector packet engine JSON test tool
+This package provides VPP executables: vpp, vpp_api_test, vpp_json_test
+vpp - the vector packet engine
+vpp_api_test - vector packet engine API test tool
+vpp_json_test - vector packet engine JSON test tool
%package lib
Summary: VPP libraries
%files
%defattr(-,bin,bin)
%{_unitdir}/vpp.service
-/usr/bin/vpe*
+/usr/bin/vpp*
/usr/bin/svm*
%config /etc/sysctl.d/80-vpp.conf
%config /etc/vpp/startup.conf
- install python requirements for this project by executing:
# pip install -r requirements.txt
- make sure user mentioned in topology.py has NOPASSWD sudo access to
- vpe_api_test
+ vpp_api_test
Done.
#!/bin/bash
-echo vpe process
-ps aux | grep vpe
+echo vpp process
+ps aux | grep vpp
echo Free memory
free -m
class VatExecutor(object):
__TMP_DIR = "/tmp/"
- __VAT_BIN = "vpe_api_test"
+ __VAT_BIN = "vpp_api_test"
def __init__(self):
self._stdout = None
logger.trace("stdout: '{0}'".format(self._stdout))
logger.trace("stderr: '{0}'".format(self._stderr))
- #TODO: download vpe_api_test output file
+ #TODO: download vpp_api_test output file
self._delete_files(node, remote_file_path, remote_file_out)
def _delete_files(self, node, *files):
* configure the node id
* trace list application data support
* cons up analysis / steering plug-in(s)
- * add configuration binary APIs, vpe_api_test_support, yang models and
+ * add configuration binary APIs, vpp_api_test_support, yang models and
* orca code
* perf tune: dual loop, replace memcpy w/ N x 8-byte load/stores
*
lib_LTLIBRARIES = libvatplugin.la
-bin_PROGRAMS = vpe_api_test vpe_json_test
+bin_PROGRAMS = vpp_api_test vpp_json_test
-vpe_api_test_SOURCES = vat/api_format.c vat/main.c vat/plugin.c vat/vat.h vat/json_format.h vat/json_format.c
-vpe_json_test_SOURCES = vat/json_format.h vat/json_format.c vat/json_test.c
+vpp_api_test_SOURCES = vat/api_format.c vat/main.c vat/plugin.c vat/vat.h vat/json_format.h vat/json_format.c
+vpp_json_test_SOURCES = vat/json_format.h vat/json_format.c vat/json_test.c
-vpe_api_test_LDADD = -lvlibmemoryclient -lvlibapi -lsvm \
+vpp_api_test_LDADD = -lvlibmemoryclient -lvlibapi -lsvm \
-lvppinfra -lpthread -lm \
-lrt -ldl libvatplugin.la
-vpe_json_test_LDADD = -lvppinfra -lm
+vpp_json_test_LDADD = -lvppinfra -lm
nobase_include_HEADERS = vat/vat.h vat/json_format.h
-AC_INIT(vpe-api-test, 1.0)
+AC_INIT(vpp-api-test, 1.0)
AM_INIT_AUTOMAKE
AC_PROG_LIBTOOL
AC_HELP_STRING([--with-q-platform],[Build version for given platform (qnative)]),
[case $with_q_platform in
qnative) ;;
- vpe) with_q_platform=vpe;;
+ vpp) with_q_platform=vpp;;
*) with_q_platform=qnative;;
esac])
#!/bin/bash
if [ $# -gt 0 ]; then
- echo exec ${@} | vpe_api_test | sed 's/vat# //g'
+ echo exec ${@} | vpp_api_test | sed 's/vat# //g'
else
echo -n "vpp# "
while read CMD; do
if [ $CMD == "exit" ]; then
exit
fi
- echo exec $CMD | vpe_api_test | sed 's/vat# //g'
+ echo exec $CMD | vpp_api_test | sed 's/vat# //g'
echo -n "vpp# "
done
fi
vat_api_hookup(vam);
vat_plugin_api_reference();
- if (connect_to_vpe("vpe_api_test") < 0) {
+ if (connect_to_vpe("vpp_api_test") < 0) {
svm_region_exit();
fformat (stderr, "Couldn't connect to vpe, exiting...\n");
exit (1);
volatile u32 lock;
u32 tag;
- /* To recycle pseudo-synchronous message code from vpe_api_test... */
+ /* To recycle pseudo-synchronous message code from vpp_api_test... */
volatile u32 result_ready;
volatile i32 retval;
volatile u8 *shmem_result;
CLEANFILES =
lib_LTLIBRARIES =
-bin_PROGRAMS += vpe
+bin_PROGRAMS += vpp
-vpe_SOURCES = \
+vpp_SOURCES = \
vnet/main.c \
app/vpe_cli.c \
app/version.c \
oam/oam.c \
stats/stats.c
-vpe_SOURCES += \
+vpp_SOURCES += \
api/api.c \
api/custom_dump.c
# comment out to disable stats upload to gmond
-vpe_SOURCES += \
+vpp_SOURCES += \
api/gmon.c
nobase_include_HEADERS = \
@echo "#define VPP_BUILD_TOPDIR \"$$(git rev-parse --show-toplevel)\"" >> $@
@echo "#define VPP_BUILD_VER \"$$(../../scripts/version)\"" >> $@
-vpe_LDADD = -lvlibapi -lvlibmemory -lvlib_unix -lvlib
+vpp_LDADD = -lvlibapi -lvlibmemory -lvlib_unix -lvlib
-vpe_LDADD += -l:libvnet.a
+vpp_LDADD += -l:libvnet.a
-vpe_LDADD += -lsvm -lsvmdb -lrt
+vpp_LDADD += -lsvm -lsvmdb -lrt
-vpe_LDADD += -lvnetplugin
+vpp_LDADD += -lvnetplugin
if WITH_DPDK
-vpe_LDADD += -l:libdpdk.a
+vpp_LDADD += -l:libdpdk.a
endif
# These go last
-vpe_LDADD += -lvppinfra -lm -lpthread -lcrypto -ldl
+vpp_LDADD += -lvppinfra -lm -lpthread -lcrypto -ldl
SUFFIXES = .api.h .api
unix {
nodaemon
- log /tmp/vpe.log
+ log /tmp/vpp.log
full-coredump
}
-AC_INIT(vpe, 1.1)
+AC_INIT(vpp, 1.1)
AM_INIT_AUTOMAKE
AM_SILENT_RULES
/*
* Load startup config from file.
- * usage: vpe -c /etc/vpp/startup.conf
+ * usage: vpp -c /etc/vpp/startup.conf
*/
if ((argc == 3) && !strncmp(argv[1], "-c", 2))
{