We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c89afb commit b6d2bbfCopy full SHA for b6d2bbf
get_compute_nodes_by_ID.py
@@ -0,0 +1,10 @@
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
+srv = conn.compute.get_server("YOUR_RESOURCES_ID")
10
+srv = conn.compute.get_server(srv)
0 commit comments