def on_get(self, req, resp):
        client = req.env['sl_client']
        tenant_id = req.env['auth']['tenant_id']

        _filter = {'subnets': {}}
        if req.get_param('name'):
            _filter['subnets']['id'] = {
                'operation': req.get_param('name')}

        subnets = client['Account'].getSubnets(mask=SUBNET_MASK,
                                               filter=_filter)
        resp.body = {
            'subnets': [format_subnetwork(subnet, tenant_id)
                        for subnet in sorted(subnets,
                                             key=operator.itemgetter('id'))]
        }
        resp.status = 200
Method is called when the token matches.
dataset/ETHPy150Open softlayer/jumpgate/jumpgate/network/drivers/sl/subnets.py/SubnetsV2.on_get--crossover with--dataset/ETHPy150Open google/grr/grr/lib/lexer.py/Token.Action