summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMinoru TAKAHASHI <takahashi.minoru7@gmail.com>2014-09-12 17:32:35 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-09-12 09:04:46 -0700
commit688351a817d57f7d7de6b0746d3a8d281d068297 (patch)
treef8e0b9b2e3bb7a665fcddb36d1fdeb6b8e6dabc8
parentd2d5c4d25dd93f815b3763710ea182921d1d8fe3 (diff)
sw test tool: add a comment about specifying the port number support
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/switch/tester.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py
index 6508bec7..1f14b89d 100644
--- a/ryu/tests/switch/tester.py
+++ b/ryu/tests/switch/tester.py
@@ -74,6 +74,18 @@ from ryu.ofproto import ofproto_v1_4
Then the tester sw receives the packet and sends a PacketIn message.
If the packet did not match, the target sw drops the packet.
+ If you want to use the other port number which differ from above chart,
+ you can specify the port number in the options when this tool is started.
+ For details of this options, please refer to the Help command.
+ Also, if you describe the name of an option argument
+ (e.g. "target_send_port_1") in test files,
+ this tool sets the argument value in the port number.
+
+ e.g.)
+ "OFPActionOutput":{
+ "port":"target_send_port_1"
+ }
+
"""