[RFE] share server list: add source share server id filter

Bug #2068631 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Triaged
Low
Unassigned

Bug Description

Hi,

please add '--source-share-server-id' filter option to the 'openstack share server list' command.

Use-Case:
After a share server migration the ID of the share server changes to the destination share server ID.
If I was not actively taking part in that migration I would not know about this, so it would be great to be able to filter for share servers that have the old known ID set as source share server.

The API already supports this, I verified with a

curl -X GET "https://my-manila-endpoint.corp/v2/share-servers?source_share_server_id=<SOME_SHARE_SERVER_ID>"

Also see the implementation, you can filter for any valid key https://github.com/openstack/manila/blob/d773353502cd8932c31581cfbc3b80846067fe68/manila/api/v1/share_servers.py#L71-L79

In the same spirit: maybe add filter for 'identifier', too?

Thanks,
Maurice

Vida Haririan (vhariria)
Changed in python-manilaclient:
status: New → Triaged
tags: added: low-hanging-fruit
Vida Haririan (vhariria)
Changed in python-manilaclient:
importance: Undecided → Low
description: updated
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in python-manilaclient:
milestone: none → dalmation-2
Changed in python-manilaclient:
milestone: dalmation-2 → none
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.