def dumpNetConnections(net):
 nodes = ((net.controllers + net.switches) + net.hosts)
 dumpNodeConnections(nodes)

def dumpNetConnections ( net ) : nodes = ( ( net . controllers + net . switches ) + net . hosts ) dumpNodeConnections ( nodes )
dump connections in network .