summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJules Boudaud <jules.boudaud@orange.com>2019-12-19 11:18:41 +0100
committerfmenguy <francoisregis.menguy@orange.com>2020-02-07 10:16:50 +0100
commit057486b092e0a4bb1989121588eb5f8afdb8e1d3 (patch)
treeb421f4cbb6d45a4893877141cb6bf0b00a021123 /docs
parent423f360415e2834dd8de065434023b822e2ca3f8 (diff)
NFVBENCH-158 Allow multiple UDP ports in traffic generation4.2.0
Change-Id: Id7c3ccad01fd9dda6c7cddb576735b429eb987a4 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/testing/user/userguide/advanced.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/testing/user/userguide/advanced.rst b/docs/testing/user/userguide/advanced.rst
index 5424a05..5307bd0 100644
--- a/docs/testing/user/userguide/advanced.rst
+++ b/docs/testing/user/userguide/advanced.rst
@@ -263,6 +263,24 @@ These can also be written in CIDR notation to represent the subnet.
The corresponding ``step`` is used for ranging the IP addresses from the `ip_addrs``, ``tg_gateway_ip_addrs`` and ``gateway_ip_addrs`` base addresses.
0.0.0.1 is the default step for all IP ranges. In ``ip_addrs``, 'random' can be configured which tells NFVBench to generate random src/dst IP pairs in the traffic stream.
+UDP ports can be controlled with the following NFVbench configuration options:
+
+.. code-block:: bash
+
+ udp_src_port: ['1024', '65000']
+ udp_dst_port: 53
+ udp_port_step: 1
+
+``udp_src_port`` and ``udp_dst_port`` are the UDP port value used by the traffic generators.
+These can be written for unique port or range ports for all flow.
+
+The corresponding ``udp_port_step`` is used for ranging the UDP port.
+1 is the default step for all UDP ranges, 'random' can be configured which tells NFVBench to generate random src/dst UDP pairs in the traffic stream.
+
+NB:
+ Use of UDP range will increase possible values of flows (based on ip src/dst and port src/dst tuple).
+ NFVBench will calculate the least common multiple for this tuple to adapt flows generation to ``flow_count`` parameter.
+
Traffic Configuration via CLI
-----------------------------