'DVR: RPC called by dvr-agent to get all ports for subnet.'

def get_ports_by_subnet(self, context, **kwargs):

    subnet_id = kwargs.get('subnet_id')
    LOG.debug('DVR:    subnet_id:    %s', subnet_id)
    filters = {'fixed_ips': {'subnet_id': [subnet_id]}}
    return self.plugin.get_ports(context, filters=filters)
