

def _to_networks(self, object):
    networks = []
    locations = self.list_locations()
    for element in findall(object, 'network', NETWORK_NS):
        networks.append(self._to_network(element, locations))
    return networks

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_networks/original