summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xryu/tests/switch/run_mininet.py1
-rw-r--r--ryu/tests/switch/tester.py18
2 files changed, 10 insertions, 9 deletions
diff --git a/ryu/tests/switch/run_mininet.py b/ryu/tests/switch/run_mininet.py
index 03bb91d7..9dce788d 100755
--- a/ryu/tests/switch/run_mininet.py
+++ b/ryu/tests/switch/run_mininet.py
@@ -36,6 +36,7 @@ if '__main__' == __name__:
Link(s1, s2)
Link(s1, s2)
+ Link(s1, s2)
net.build()
c0.start()
diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py
index aef92b6d..ebc3e3d7 100644
--- a/ryu/tests/switch/tester.py
+++ b/ryu/tests/switch/tester.py
@@ -51,15 +51,15 @@ from ryu.ofproto import ofproto_v1_3_parser
""" Required test network:
- +-----------+
- +----------| target sw | The switch to be tested
- | +-----------+
- +------------+ (1) (2)
- | controller | | |
- +------------+ (1) (2)
- | +-----------+
- +----------| tester sw | OpenFlow Switch
- +-----------+
+ +-------------------+
+ +----------| target sw | The switch to be tested
+ | +-------------------+
+ +------------+ (1) (2) (3)
+ | controller | | | |
+ +------------+ (1) (2) (3)
+ | +-------------------+
+ +----------| tester sw | OpenFlow Switch
+ +-------------------+
(X) : port number