Skip to content
Snippets Groups Projects
Commit 83332c1a authored by Bob Lantz's avatar Bob Lantz
Browse files

Handle interfaces (e.g. real interfaces) without remote Node.

parent d2ff558d
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ def do_net( self, line ):
for switch in self.mn.switches:
output( switch.name, '<->' )
for intf in switch.intfs.values():
name = switch.connection[ intf ][ 1 ]
node, name = switch.connection.get( intf, ( None, 'Unknown ' ) )
output( ' %s' % name )
output( '\n' )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment