MCPcopy Create free account
hub / github.com/mininet/mininet / testSingle5

Method testSingle5

mininet/test/test_nets.py:39–44  ·  view source on GitHub ↗

Ping test on 5-host single-switch topology

( self )

Source from the content-addressed store, hash-verified

37 self.assertEqual( dropped, 0 )
38
39 def testSingle5( self ):
40 "Ping test on 5-host single-switch topology"
41 mn = Mininet( SingleSwitchTopo( k=5 ), self.switchClass, Host,
42 Controller, waitConnected=True )
43 dropped = mn.run( mn.ping )
44 self.assertEqual( dropped, 0 )
45
46# pylint: enable=E1101
47

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
MininetClass · 0.90
SingleSwitchTopoClass · 0.90

Tested by

no test coverage detected