diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2016-09-14 22:42:05 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2016-09-21 14:24:02 +0530 |
commit | 1e1138cdc36ab308568e51314d967f7d13bdacc5 (patch) | |
tree | 4ec52ee6ff10bd2c94ece2f3e99f9bbedc643d71 /docs/configguide/trafficgen.rst | |
parent | acdb444a54124834acdde45107062eaf1452c119 (diff) |
pkt_gen: Spirent Testcenter RFC 2889 Support
The changes/additions, apart from spirent testcenter-specific, also
includes
to some files in conf (01_testcase and 03_traffic) and core (result-
constants, traffic_controller and component_factory) folders.
Currently, only RFC2889 Forwarding testcase is supported.
Incorporated following review suggestions:
1. Log level fixes
2. Removing unused function in results_constants.py
3. Added documentation to docs/configguide/trafficgen.rst. Userguide
will be updated once other RFC2889 tests are implemented.
4. string matching in component_factory.
5. Remove Trailing Whitespaces
JIRA: VSPERF-286
Change-Id: I0195720ab2f8cf2c3a5aa490d66166bdca0afcb0
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Diffstat (limited to 'docs/configguide/trafficgen.rst')
-rw-r--r-- | docs/configguide/trafficgen.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/configguide/trafficgen.rst b/docs/configguide/trafficgen.rst index 28b34a6b..6ede7f2f 100644 --- a/docs/configguide/trafficgen.rst +++ b/docs/configguide/trafficgen.rst @@ -323,6 +323,42 @@ install the package. Once installed, the scripts named with 'rest' keyword can be used. For example: testcenter-rfc2544-rest.py can be used to run RFC 2544 tests using the REST interface. +Configuration: +~~~~~~~~~~~~~~ +The mandatory configurations are enlisted below. + +1. The Labserver and license server addresses. These parameters applies to + all the tests and are mandatory. + +.. code-block:: console + + TRAFFICGEN_STC_LAB_SERVER_ADDR = " " + TRAFFICGEN_STC_LICENSE_SERVER_ADDR = " " + +2. For RFC2544 tests, the following parameters are mandatory + + +.. code-block:: console + + TRAFFICGEN_STC_RFC2544_TPUT_TEST_FILE_NAME = " " + TRAFFICGEN_STC_EAST_CHASSIS_ADDR = " " + TRAFFICGEN_STC_EAST_SLOT_NUM = " " + TRAFFICGEN_STC_EAST_PORT_NUM = " " + TRAFFICGEN_STC_EAST_INTF_ADDR = " " + TRAFFICGEN_STC_EAST_INTF_GATEWAY_ADDR = " " + TRAFFICGEN_STC_WEST_CHASSIS_ADDR = "" + TRAFFICGEN_STC_WEST_SLOT_NUM = " " + TRAFFICGEN_STC_WEST_PORT_NUM = " " + TRAFFICGEN_STC_WEST_INTF_ADDR = " " + TRAFFICGEN_STC_WEST_INTF_GATEWAY_ADDR = " " + +3. For RFC2889 tests, specifying the locations of the ports is mandatory. + +.. code-block:: console + + TRAFFICGEN_STC_RFC2889_TEST_FILE_NAME = " " + TRAFFICGEN_STC_RFC2889_LOCATIONS= " " + Xena Networks ------------- |