

@base.remotable_classmethod
def get_all(cls, context, expected_attrs=None):
    'Returns all instances on all nodes.'
    db_instances = db.instance_get_all(context, columns_to_join=_expected_cols(expected_attrs))
    return _make_instance_list(context, cls(), db_instances, expected_attrs)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py InstanceList.get_all/original