

def _get_subnetpools_by_address_scope_id(self, context, address_scope_id):
    subnetpool_qry = context.session.query(models_v2.SubnetPool)
    return subnetpool_qry.filter_by(address_scope_id=address_scope_id).all()

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._get_subnetpools_by_address_scope_id/original