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

Method MAC

mininet/node.py:575–577  ·  view source on GitHub ↗

Return MAC address of a node or specific interface.

( self, intf=None )

Source from the content-addressed store, hash-verified

573 return self.intf( intf ).IP()
574
575 def MAC( self, intf=None ):
576 "Return MAC address of a node or specific interface."
577 return self.intf( intf ).MAC()
578
579 def intfIsUp( self, intf=None ):
580 "Check if an interface is up."

Callers 1

staticArpMethod · 0.45

Calls 1

intfMethod · 0.95

Tested by

no test coverage detected