summaryrefslogtreecommitdiffstats
path: root/vpp-api-test
AgeCommit message (Collapse)AuthorFilesLines
2016-04-22Add clib_memcpy macro based on DPDK rte_memcpy implementationDamjan Marion1-130/+130
Change-Id: I22cb443c4bd0bf298abb6f06e8e4ca65a44a2854 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-22Add a vpp_restart commandDave Barach2-1/+237
vpp_restart solves the problem of restarting vpp and not exiting until the new vpp instance is sufficiently established to allow immediate binary API connections. The point is to avoid using arbitrary "sleep N" commands e.g. in CSIT shell scripts. We send SIGTERM to the current vpp process, and expect / depend on the process-monitor du jour to remove the vpp-api shared-memory segment. vpp_restart exits w/ status 0 if all is well, non-zero upon failure. In trying to make vpp_restart reliable, we discovered a recently-introduced heap corruption bug in .../dpdk/init.c, which caused vpp to crash on startup once every 20 times on a particular rig. If possible, we should check /var/log/syslog for evidence of unexpected multiple restarts during regression-testing. Change-Id: Ic48c74b1a94a4368066ba2e326d4b12d51192088 Signed-off-by: Dave Barach <dbarach@cisco.com>
2016-04-15Add LISP APIAndrej Kozemcak1-3/+792
SET API: lisp_add_del_locator_set lisp_add_del_locator lisp_add_del_local_eid lisp_gpe_add_del_fwd_entry lisp_add_del_map_resolver lisp_gpe_add_del_iface SHOW API: lisp_locator_set_dump lisp_local_eid_table_dump lisp_gpe_tunnel_dump lisp_map_resolver_dump Change-Id: Ie7f521e7e64ad2736b8417852b38454bfdef3728 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-04-09Add IKEv2 APIsMatus Fabian1-0/+364
Change-Id: I5936b05aa927b67c707b5858ffee45fc7a5d2043 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-04-04Fix vppctl for multivppEd Warnicke1-3/+19
Change-Id: If028aca042dbba653cc0f51a0149b36bed5c7853 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-31Enable af_packet interfaces in the API test appsDamjan Marion1-0/+6
Change-Id: Ic1247a712614df2762c95142122ff122076fd0ab Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-03-25iOAM trace configuration APIsShwetha1-3/+130
Change-Id: I6d31f0ddb812d148ad065e27775440d09f402def Signed-off-by: Shwetha <shwethab@cisco.com>
2016-03-07Add sw_interface_clear_stats API callPavel Kotucek1-4/+40
Change-Id: I0731357744ddcb890efaebd81aac5370449a90e3 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-02-26Fixed issue with json output in vpp_api_test.Pavel Kotucek1-1/+2
When it runs 'exec' command string "(nil)" is appended to the end of the console output. Change-Id: I7cdae78b2166829dd2160e92ed8181203eb491ed Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-02-22Added MTU information to sw_interface_dumpPavel1-0/+1
Change-Id: Ie69837fd6903b715cb7b840b67c869a9b12c84a7 Signed-off-by: Pavel <pavel.kotucek@pantheon.tech>
2016-02-19Add custom mac address option to vhost interfaces.Pierre Pfister1-1/+8
Generating a new MAC address everytime vpp reboots can quickly become cumbersome (e.g. in test scenarios). This commit allows vhost mac addresses to be configured manually. Change-Id: Ic6d16a2d14cdf8e49dc29041bbafde39d9fc8370 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-02-19Serialize and upload the data plane node graphDave Barach2-3/+195
Include node names and graph arcs. Prep work for uploading node runtime data, so the latter can be reported in a comprehensible manner. Change-Id: I215b1f8cff244200c37c7e088f1f22229dc97eb6 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-19Per-interface, per-address-family fast packet filterDave Barach1-4/+96
Change-Id: I122aa8edfb16a433a8ccdfb72ee8463c48c56d6d Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-10Replace AC_PROG_LIBTOOL with LT_INITDave Barach1-1/+1
Change-Id: I642c4b8e83dd07708658a10ad46e9fd2c28a7f1f Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-26Fix vppctl to cope with vpe -> vpp transitionEd Warnicke1-2/+2
Change-Id: Ida88cff8b84756660eb682a6ff4d4ded3b0432e1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26Small fix for vppctlEd Warnicke1-6/+7
Change-Id: I5d2668b3487d240e7d8c8a257e9a5607e2b314ec Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-22Enable shared-VM namespace supportDave Barach1-1/+4
Required prep work for gracefully supporting "... dpdk { proc-type secondary }" - multiple processes sharing a physical host, VM, container, etc. Change-Id: Ic3eb72f4093e26d7c86dde3b8799264f1d0c218b Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-21PowerPC64-be arch support. Qemu ("qppc") platform support.Dave Barach1-0/+49
Change-Id: Ib0a05f9d1b08bacef09f6d7c101391737031ee0d Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-20Rename vpe binary name to avoid collision with latexDamjan Marion4-10/+10
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-18Enabled vppctl to provide an interactive shellEd Warnicke1-1/+12
Change-Id: Ibfed316570c03a4dd158781c6201f5713837adb4 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-22Restore vpe-api-test/scripts/vppctlEd Warnicke2-0/+3
Change-Id: I13b472dbf4a95f417ef28efcf8e740dbdd201f7e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-17Add vpe-api message to get vxlan tunnel details.Dave Wallace3-3/+82
Change-Id: I3bfb84dfcb08c6ff5cb473f3ce05b91b222182a1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2015-12-17Merge "Move vppctl to vpp-api-test"Ed Warnicke2-0/+3
2015-12-16Move vppctl to vpp-api-testDamjan Marion2-0/+3
Change-Id: I4af0eb9c09d14a1a9803cf1b25bc3d7b814c82cc Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-16Remove warning message outputing vpp-test-api plugin pathEd Warnicke1-1/+0
Currently vpp-test-api plugin path is being output everytime vpp-apt-test is run. Change-Id: Ifbceaeeb6272012b2e46fe77178f44255b4861be Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-15Remove autotools generated productsDave Barach10-40107/+0
Change-Id: I7f23b8b8e5136cb56768bac3a7473e6df5ee4993 Signed-off-by: Dave Barach <dave@barachs.net>
2015-12-15replacing all vec_sort() invocations to vec_sort_with_function()Matus Fabian1-5/+27
Change-Id: I05895827ed52be292112484cee7d0a2591b67335 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2015-12-13new version handlingDamjan Marion1-2/+2
Change-Id: I90983f3df94a3b28199908b29ffd8f827ab0c379 Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke21-0/+50381
Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke <eaw@cisco.com>