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)
Convert a seconds value into a human readable (ie week, day, hour) value.
dataset/ETHPy150Open openstack/neutron/neutron/api/rpc/handlers/l3_rpc.py/L3RpcCallback.get_ports_by_subnet--crossover with--dataset/ETHPy150Open timsavage/django-extras/django_extras/templatetags/humanize_extras.py/describe_seconds