sw test tool: Add a link between switches
This change is for tests that use group_table. Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
41a52adaf8
commit
2b4500ab3d
@ -34,6 +34,7 @@ if '__main__' == __name__:
|
||||
s1 = net.addSwitch('s1')
|
||||
s2 = net.addSwitch('s2')
|
||||
|
||||
Link(s1, s2)
|
||||
Link(s1, s2)
|
||||
Link(s1, s2)
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user