Hi Abhishek
thanks no, i did not try this But I am looking for the python API to do this maybe user glacnce python client, or horizon python client?, not the CLI,, Any idea? Thanks for your help Wally ________________________________ From: Kekane, Abhishek <[email protected]> Sent: September 22, 2017 6:59 AM To: zhihao wang; [email protected]; openstack Subject: RE: question about OpenStack Python glance API -- list share image by tenant. Hi Zhihao, Have you tried, glance image-list –visibility=shared Hope this will help. Thank you, Abhishek Kekane From: zhihao wang [mailto:[email protected]] Sent: Thursday, September 21, 2017 4:08 AM To: [email protected]; openstack Subject: [Openstack] Fw: question about OpenStack Python glance API -- list share image by tenant. Deal all I have a question about the openstack python glance client api I want to get the list of all the shared image by tenant , but don't know how to get the list.. I can only find out this, list sharing, but when i use tenant, it did not work, showed some error "No tenant_id" attribute... List Sharings¶<https://docs.openstack.org/python-glanceclient/latest/reference/apiv2.html#list-sharings> Describe sharing permissions by image or tenant: glance.image_members.list(image_id) Just like below in horizon, I want to get the share image with the tenant,.. Can anyone know how to get it using python api? [cid:[email protected]] Please help Thanks Wally ______________________________________________________________________ Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
