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

Method intfNames

mininet/node.py:646–648  ·  view source on GitHub ↗

The names of our interfaces sorted by port number

( self )

Source from the content-addressed store, hash-verified

644 return [ self.intfs[ p ] for p in sorted( self.intfs.keys() ) ]
645
646 def intfNames( self ):
647 "The names of our interfaces sorted by port number"
648 return [ str( i ) for i in self.intfList() ]
649
650 def __repr__( self ):
651 "More informative string representation"

Callers 1

do_intfsMethod · 0.80

Calls 1

intfListMethod · 0.95

Tested by

no test coverage detected