2024-06-27 15:40:58 |
Maurice Escher |
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
Thanks,
Maurice |
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 |
|