vpp/extras/strongswan
Gabriel Oginski 73d82d1273 vpp-swan: fix function to get sw_if_index
In the current implementation there is a bug in the function
responsible for getting software interface index by the name of the
interface. Incorrect function is used to send the API message, also
the handler with replied message is incorrect.

The fix changes function to send dump message and also adds handler
with replied message in the correct way.

Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: Id1a3ba2ce7e92d216907f344431b9e2acb1d5572
2023-07-19 02:31:21 +00:00
..
2021-03-04 14:57:54 +00:00
2021-10-13 15:32:22 +00:00
2021-03-04 14:57:54 +00:00

.. _strongswan_test_doc:

Strongswan Testing Tool
=======================

Simple test framework for VPP and strongSwan scenarios.

setup and run
-------------

``docker`` is needed to run the tests.

Create ``~/.vpp_sswan`` file and set ``VPP_BIN`` and ``VPPCTL``
variables that points to vpp and vppctl binaries, like follows:

::

   export VPP_BIN=/path/to/vpp
   export VPPCTL=/path/to/vppctl

To run all test

::

   ./run.sh

or specific test

::

   ./test_responder.sh