Skip to content

Commit 2c24c1d

Browse files
authored
Create list_images_glance.py
1 parent b6f4b6c commit 2c24c1d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

list_images_glance.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from glanceclient.v2 import client
2+
3+
conn= client.Client(auth_url, token)
4+
5+
for image in conn.images.list():
6+
print(image["name"])

0 commit comments

Comments
 (0)