Browse code

attempt to write a script that exercises nova cli

Jesse Andrews authored on 2011/09/15 14:44:50
Showing 1 changed files
... ...
@@ -49,8 +49,26 @@ export NOVA_URL=${NOVA_URL:-http://$HOST:5000/v2.0/}
49 49
 export NOVA_VERSION=1.1
50 50
 
51 51
 
52
-# Servers
53
-# =======
52
+# Launching a server
53
+# ==================
54 54
 
55
-# retreive a list of servers for our tenant
55
+# List servers for tenant:
56 56
 nova list
57
+
58
+# List of flavors:
59
+nova flavor-list
60
+
61
+# Images
62
+# ------
63
+
64
+# Nova has a **deprecated** way of listing images.
65
+nova image-list
66
+
67
+# But we recommend using glance directly
68
+glance index
69
+
70
+# show details of the active servers::
71
+#
72
+#     nova show 1234
73
+#
74
+nova list | grep ACTIVE | cut -d \| -f2 | xargs -n1 nova show