* [dts] [PATCH V1] doc/dts_gsg: modify document according to current dts and dpdk support
@ 2020-06-07 20:09 lihong
0 siblings, 0 replies; only message in thread
From: lihong @ 2020-06-07 20:09 UTC (permalink / raw)
To: dts, zhaoyan.chen; +Cc: lihong
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 4683 bytes --]
1. now dts support python3, so use python3 instead of python2
2. update os of dpdk support
3. use ubuntu 18.04 instead of fedora 20 as tester env os
Signed-off-by: lihong <lihongx.ma@intel.com>
---
doc/dts_gsg/sys_reqs.rst | 43 ++++++++++++++++++----------------------
doc/dts_gsg/trex_known_issue.rst | 4 ++--
2 files changed, 21 insertions(+), 26 deletions(-)
diff --git a/doc/dts_gsg/sys_reqs.rst b/doc/dts_gsg/sys_reqs.rst
index cbfc040..96a27ec 100644
--- a/doc/dts_gsg/sys_reqs.rst
+++ b/doc/dts_gsg/sys_reqs.rst
@@ -18,7 +18,7 @@ Setup Tester Environment
.. note::
- Please install the latest Fedora distribution on the tester before install DPDK Test Suite on tester. Currently we recommend Fedora 20 for tester. The setup instruction and required packages may be different on different operation systems.
+ Please install the latest ubuntu distribution on the tester before install DPDK Test Suite on tester. Currently we recommend ubuntu 18.04 for tester. The setup instruction and required packages may be different on different operation systems.
To enable tester environment, you need to install script language, tool chain and third party packet generator, etc.
@@ -30,8 +30,8 @@ Since DPDK Test Suite Tester communicates with DUT via SSH, please install and s
.. code-block:: console
- yum install sshd # download / install ssh software
- systemctl enable sshd.service # start ssh service
+ apt-get install sshd # download / install ssh software
+ systemctl enable ssh # start ssh service
For create authorized login session, user needs to generate RSA authentication keys to ssh connection.
@@ -47,7 +47,7 @@ Since some third party tools required TCL (Tool Command Language) supports, plea
.. code-block:: console
- yum install tcl # download / install tcl software
+ apt-get install tcl # download / install tcl software
Install Third Party python modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -65,12 +65,13 @@ Please see installation instruction as the following:
.. code-block:: console
- yum install python-xlwt
- yum install python-pexpect
- yum install numpy
- yum install python-docutils
- yum install pcapy
- yum install python-xlrd
+ apt-get install python3-pip
+ apt-get install python3-pexpect
+ apt-get install python3-pcapy
+ apt-get install python3-numpy
+ apt-get install python3-docutils
+ pip3 insatll xlwt
+ pip3 install xlrd
Setup and configure Scapy
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -80,14 +81,7 @@ DTS uses python module scapy to forge or decode packets of a wide number of prot
.. code-block:: console
- yum install scapy
-
-Fedora20 default kernel will strip vlan header automatically and thus it will cause that scapy can’t detect vlan packet normally. To solve this issue, we need to configure scapy use libpcap which is a low-level network traffic monitoring tool.
-
-.. code-block:: console
-
- vim /usr/lib/python2.7/site-packages/scapy/config.py # open configure python files
- use_pcap = True # find use_pcap and set it to True
+ apt-get install python3-scapy
Install DPDK Test Suite on tester
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -119,12 +113,13 @@ Setup Target Environment
This section describes how to deploy DPDK Test Suite packages into DUT target.So far, DPDK Test Suite supports the following OS on DUT:
-* Fedora18/19/20/23/24/25
-* Ubuntu12.04/14.04/16.04
-* WindRiver 6.0/7.0
-* FreeBSD 10
-* RedHat 6.5/7.0/7.3
-* SUSE 11
+* Fedora 32
+* Ubuntu 16.04/18.04/20.04
+* FreeBSD 12.1
+* RedHat 7.7/8.0
+* SUSE 15
+* Centos 7.7/8.0
+* OpenWRT 19.07
Before run DPDK Test Suite on target, we need to configure target environment, it includes BIOS setting, Network configure, compiler environment, etc.
diff --git a/doc/dts_gsg/trex_known_issue.rst b/doc/dts_gsg/trex_known_issue.rst
index 7807dd2..8a84e7c 100644
--- a/doc/dts_gsg/trex_known_issue.rst
+++ b/doc/dts_gsg/trex_known_issue.rst
@@ -91,10 +91,10 @@ resolved scheme
---------------
#. backup your scapy::
- cp -fr /usr/lib/python2.7/site-packages/scapy /usr/lib/python2.7/site-packages/scapy_backup
+ cp -fr /usr/lib/python3/site-packages/scapy /usr/lib/python3/site-packages/scapy_backup
#. unify scapy version with trex::
- cp -fr /opt/trex/v2.41/trex_client/external_libs/scapy-2.3.1/python2/scapy /usr/lib/python2.7/site-packages/scapy
+ cp -fr /opt/trex/v2.41/trex_client/external_libs/scapy-2.3.1/python3/scapy /usr/lib/python3/site-packages/scapy
other issues
============
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-08 3:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07 20:09 [dts] [PATCH V1] doc/dts_gsg: modify document according to current dts and dpdk support lihong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).