Zun

api-ref: document filter parameters when listing containers

Bug #1764003 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Low
Namrata

Bug Description

Currently, the server side supports the following filters [1]:

          container_allowed_filters = ['name', 'image', 'project_id', 'user_id',
                                     'memory', 'host', 'task_state', 'status',
                                     'auto_remove']

We'd better to document these parameters in our API reference: https://github.com/openstack/zun/blob/master/api-ref/source/containers.inc#list-all-containers

[1] https://github.com/openstack/zun/blob/master/zun/api/controllers/v1/containers.py#L207

Related-Bug:
https://bugs.launchpad.net/zun/+bug/1757152
https://bugs.launchpad.net/zun/+bug/1750208

hongbin (hongbin034)
Changed in zun:
importance: Undecided → Low
status: New → Triaged
description: updated
description: updated
hongbin (hongbin034)
tags: added: low-hanging-fruit
Changed in zun:
assignee: nobody → Vivek Jain (vivek-jain-openstack)
Changed in zun:
assignee: Vivek Jain (vivek-jain-openstack) → Namrata (sitlani-namrata)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/582582

Changed in zun:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/582582
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=ba522edac7d8a6200fc3f78ad9dcc6ec2a0afde4
Submitter: Zuul
Branch: master

commit ba522edac7d8a6200fc3f78ad9dcc6ec2a0afde4
Author: Namrata <email address hidden>
Date: Fri Jul 13 19:27:35 2018 +0530

    Document filter parameters in API reference

    Document filter parameters when listing containers
    in API reference

    Closes-Bug: #1764003

    Change-Id: Ica68dab668b2544ed97f0c92750a80a907a0fb79

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 2.0.0

This issue was fixed in the openstack/zun 2.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.