allow filters search share type in command line

Bug #1734232 reported by junboli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Low
junboli

Bug Description

[root@host-1 ~]# manila help type-list
usage: manila type-list [--all] [--columns <columns>]

Print a list of available 'share types'.

Optional arguments:
  --all Display all share types (Admin only).
  --columns <columns> Comma separated list of columns to be displayed example
                       --columns "id,name".

[root@host-1 ~]# manila type-list --extra-specs {}
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache]
              [--os-user-id <auth-user-id>] [--os-username <auth-user-name>]
              [--os-password <auth-password>]
              [--os-tenant-name <auth-tenant-name>]
              [--os-project-name <auth-project-name>]
              [--os-tenant-id <auth-tenant-id>]
              [--os-project-id <auth-project-id>]
              [--os-user-domain-id <auth-user-domain-id>]
              [--os-user-domain-name <auth-user-domain-name>]
              [--os-project-domain-id <auth-project-domain-id>]
              [--os-project-domain-name <auth-project-domain-name>]
              [--os-auth-url <auth-url>] [--os-region-name <region-name>]
              [--os-token <token>] [--bypass-url <bypass-url>]
              [--service-type <service-type>] [--service-name <service-name>]
              [--share-service-name <share-service-name>]
              [--endpoint-type <endpoint-type>]
              [--os-share-api-version <share-api-ver>]
              [--os-cacert <ca-certificate>] [--retries <retries>]
              [--os-cert <certificate>]
              <subcommand> ...
error: unrecognized arguments: --extra-specs {}
Try 'manila help ' for more information.

Since manila server allows filter search extra_specs and is_public,
so it's better to add this in manila client as well.

junboli (junboli)
Changed in python-manilaclient:
assignee: nobody → junboli (junboli)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (master)

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

Changed in python-manilaclient:
status: New → In Progress
Tom Barron (tpb)
Changed in python-manilaclient:
importance: Undecided → Low
Revision history for this message
Tom Barron (tpb) wrote :

Review 522685 merged in commit a5b63f32a12c58b3acb3a8e93f331599a3e5964c which was included in 1.23.0

Changed in python-manilaclient:
status: In Progress → Fix Released
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.