Rename vpe binary name to avoid collision with latex
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
@ -9,10 +9,10 @@ Package: vpp
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
To run vpp with the debug shell:
|
||||
|
||||
sudo vpe unix interactive
|
||||
sudo vpp unix interactive
|
||||
|
||||
which will result in a prompt that looks like:
|
||||
|
||||
|
@ -13,7 +13,7 @@ end script
|
||||
|
||||
|
||||
script
|
||||
exec vpe $(cat /etc/vpp/startup.conf | sed -e 's/#.*//')
|
||||
exec vpp -c /etc/vpp/startup.conf
|
||||
end script
|
||||
|
||||
post-stop script
|
||||
|
@ -3,7 +3,7 @@ Description=Vector Packet Processing Process
|
||||
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
|
||||
|
@ -14,10 +14,10 @@ Release: %{_release}
|
||||
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
|
||||
@ -111,7 +111,7 @@ sysctl --system
|
||||
%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
|
||||
|
@ -7,7 +7,7 @@
|
||||
- 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.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo vpe process
|
||||
ps aux | grep vpe
|
||||
echo vpp process
|
||||
ps aux | grep vpp
|
||||
|
||||
echo Free memory
|
||||
free -m
|
||||
|
@ -19,7 +19,7 @@ __all__ = []
|
||||
class VatExecutor(object):
|
||||
|
||||
__TMP_DIR = "/tmp/"
|
||||
__VAT_BIN = "vpe_api_test"
|
||||
__VAT_BIN = "vpp_api_test"
|
||||
|
||||
def __init__(self):
|
||||
self._stdout = None
|
||||
@ -53,7 +53,7 @@ class VatExecutor(object):
|
||||
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):
|
||||
|
@ -51,7 +51,7 @@ ip6_hop_by_hop_main_t ip6_hop_by_hop_main;
|
||||
* 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
|
||||
*
|
||||
|
@ -20,15 +20,15 @@ libvatplugin_la_SOURCES = \
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_INIT(vpe-api-test, 1.0)
|
||||
AC_INIT(vpp-api-test, 1.0)
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
@ -16,7 +16,7 @@ AC_ARG_WITH(q-platform,
|
||||
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])
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
#!/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
|
||||
|
@ -236,7 +236,7 @@ int main (int argc, char ** argv)
|
||||
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);
|
||||
|
@ -140,7 +140,7 @@ typedef struct {
|
||||
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;
|
||||
|
@ -21,22 +21,22 @@ bin_PROGRAMS =
|
||||
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 = \
|
||||
@ -63,21 +63,21 @@ app/version.h:
|
||||
@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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
unix {
|
||||
nodaemon
|
||||
log /tmp/vpe.log
|
||||
log /tmp/vpp.log
|
||||
full-coredump
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_INIT(vpe, 1.1)
|
||||
AC_INIT(vpp, 1.1)
|
||||
AM_INIT_AUTOMAKE
|
||||
AM_SILENT_RULES
|
||||
|
||||
|
@ -145,7 +145,7 @@ int main (int argc, char * argv[])
|
||||
|
||||
/*
|
||||
* 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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user