def getNetwork(self, network_id):
        try:
            return self.networks[network_id][0]
        except KeyError:
            raise error.TopologyError('No network with id %s' % (network_id))
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/topology/nml.py/Topology.getNetwork/original