From e0f0e5468e470abf0c944ce773da516808747026 Mon Sep 17 00:00:00 2001 From: John O Loughlin Date: Tue, 20 Nov 2018 11:58:46 +0000 Subject: Docs for vPE JIRA: YARDSTICK-1529 Change-Id: I1a95bca8ff3713660874c395c6ad6525011ad8c6 Signed-off-by: John O Loughlin --- .../developer/devguide/images/vPE_Diagram.png | Bin 0 -> 82640 bytes docs/testing/user/userguide/14-nsb-operation.rst | 30 +++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 docs/testing/developer/devguide/images/vPE_Diagram.png (limited to 'docs') diff --git a/docs/testing/developer/devguide/images/vPE_Diagram.png b/docs/testing/developer/devguide/images/vPE_Diagram.png new file mode 100644 index 000000000..c3985b7d9 Binary files /dev/null and b/docs/testing/developer/devguide/images/vPE_Diagram.png differ diff --git a/docs/testing/user/userguide/14-nsb-operation.rst b/docs/testing/user/userguide/14-nsb-operation.rst index c96155804..721dba9a9 100644 --- a/docs/testing/user/userguide/14-nsb-operation.rst +++ b/docs/testing/user/userguide/14-nsb-operation.rst @@ -564,3 +564,33 @@ may be changed. 2. Subsection ``runner``: specifies the test duration and the interval of TG and VNF side KPIs polling. For more details, refer to :doc:`03-architecture`. + +Preparing test run of vPE test case +----------------------------------- +The vPE (Provider Edge Router) is a :term: `VNF` approximation +serving as an Edge Router. The vPE is approximated using the +``ip_pipeline`` dpdk application. + + .. image:: images/vPE_Diagram.png + :width: 800px + :alt: NSB vPE Diagram + +The ``vpe_config`` file must be passed as it is not auto generated. +The ``vpe_script`` defines the rules applied to each of the pipelines. This can be +auto generated or a file can be passed using the ``script_file`` option in +``vnf_config`` as shown below. The ``full_tm_profile_file`` option must be +used if a traffic manager is defined in ``vpe_config``. + +.. code-block:: yaml + + vnf_config: { file: './vpe_config/vpe_config_2_ports', + action_bulk_file: './vpe_config/action_bulk_512.txt', + full_tm_profile_file: './vpe_config/full_tm_profile_10G.cfg', + script_file: './vpe_config/vpe_script_sample' } + +Testcases for vPE can be found in the ``vnf_samples/nsut/vpe`` directory. +A testcase can be started with the following command as an example: + +.. code-block:: bash + + yardstick task start /yardstick/samples/vnf_samples/nsut/vpe/tc_baremetal_rfc2544_ipv4_1flow_64B_ixia.yaml -- cgit 1.2.3-korg