[dts] [PATCH] test_plans: fix some rst syntax warnings
Marvin Liu
yong.liu at intel.com
Mon Aug 28 14:25:09 CEST 2017
Signed-off-by: Marvin Liu <yong.liu at intel.com>
diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index cd4e71b..e627faa 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -128,7 +128,7 @@ The number of workers are configured through the command line interface of the
application:
The test report should provide the measurements(mpps and % of the line rate)
-for each action in lcores as listed in the table below:
+for each action in lcores as listed in the table below::
+----+---------+------------------+------------------+------------------+------------------+------------------+------------------+
| # |Number of| Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate |
diff --git a/test_plans/sriov_kvm_test_plan.rst b/test_plans/sriov_kvm_test_plan.rst
index e0eedd4..f1c17c3 100644
--- a/test_plans/sriov_kvm_test_plan.rst
+++ b/test_plans/sriov_kvm_test_plan.rst
@@ -79,23 +79,21 @@ For VM0 start up command, you can refer to below command.::
-net tap,script=/etc/qemu-ifup \
-device pci-assign,host=08:10.0 -vnc :1 --daemonize
-The /etc/qemu-ifup can be below script, need you to create first:
-
- .. code-block:: shell
-
- #!/bin/sh
- set -x
- switch=br0
- if [ -n "$1" ];then
- /usr/sbin/tunctl -u `whoami` -t $1
- /sbin/ip link set $1 up
- sleep 0.5s
- /usr/sbin/brctl addif $switch $1
- exit 0
- else
- echo "Error: no interface specified"
- exit 1
- fi
+The /etc/qemu-ifup can be below script, need you to create first::
+
+ #!/bin/sh
+ set -x
+ switch=br0
+ if [ -n "$1" ];then
+ /usr/sbin/tunctl -u `whoami` -t $1
+ /sbin/ip link set $1 up
+ sleep 0.5s
+ /usr/sbin/brctl addif $switch $1
+ exit 0
+ else
+ echo "Error: no interface specified"
+ exit 1
+ fi
Similar for VM0, please refer to below command for VM1::
diff --git a/test_plans/vf_port_start_stop_test_plan.rst b/test_plans/vf_port_start_stop_test_plan.rst
index 28ad299..541cd2b 100644
--- a/test_plans/vf_port_start_stop_test_plan.rst
+++ b/test_plans/vf_port_start_stop_test_plan.rst
@@ -91,23 +91,21 @@ Create Two VF interfaces from two kernel PF interfaces, and then attach them to
-device pci-assign,bus=pci.0,addr=0x7,host=04:10.1 \
-vnc :11 -daemonize
- the /etc/qemu-ifup can be below script, need you to create first:
-
- .. code-block:: shell
-
- #!/bin/sh
- set -x
- switch=br0
- if [ -n "$1" ];then
- /usr/sbin/tunctl -u `whoami` -t $1
- /sbin/ip link set $1 up
- sleep 0.5s
- /usr/sbin/brctl addif $switch $1
- exit 0
- else
- echo "Error: no interface specified"
- exit 1
- fi
+ the /etc/qemu-ifup can be below script, need you to create first::
+
+ #!/bin/sh
+ set -x
+ switch=br0
+ if [ -n "$1" ];then
+ /usr/sbin/tunctl -u `whoami` -t $1
+ /sbin/ip link set $1 up
+ sleep 0.5s
+ /usr/sbin/brctl addif $switch $1
+ exit 0
+ else
+ echo "Error: no interface specified"
+ exit 1
+ fi
Set up bridge br0 before create /etc/qemu-ifup, for example::
--
1.9.3
More information about the dts
mailing list