def get_default_subnetpool(self, context, ip_version):
        filters = {'is_default': [True],
                   'ip_version': [ip_version]}
        subnetpool = self.get_subnetpools(context, filters=filters)
        if subnetpool:
            return subnetpool[0]
Return all instance resources using an iterator
dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_v2.py/NeutronDbPluginV2.get_default_subnetpool--crossover with--dataset/ETHPy150Open awslabs/lambda-apigateway-twilio-tutorial/twilio/rest/resources/base.py/ListResource.iter