Skip to content

Commit f87c40f

Browse files
authored
Create list_compute_image_object.py
1 parent b587857 commit f87c40f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

list_compute_image_object.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from openstack import connection
2+
3+
conn = connection.Connection(
4+
auth_url = 'http://YOUR_floating_IP:5000/v2.0',
5+
username = 'YOUR_USERNAME',
6+
password = 'YOUR_PASSWORD',
7+
project_name = 'YOUR_PROJECT_NAAME')
8+
9+
conn.compute.servers()
10+
conn.image.images()
11+
conn.object_store.containers()

0 commit comments

Comments
 (0)