Revision 2bd23362 kamaki/clients/compute/__init__.py
b/kamaki/clients/compute/__init__.py | ||
---|---|---|
121 | 121 |
|
122 | 122 |
:param flavor_id: integer id denoting a preset hardware configuration |
123 | 123 |
|
124 |
:param image_id: (str) id denoting the OS image to run on the VM
|
|
124 |
:param image_id: (str) id of the image of the virtual server
|
|
125 | 125 |
|
126 | 126 |
:param metadata: (dict) vm metadata |
127 | 127 |
|
128 | 128 |
:param personality: a list of (file path, file contents) tuples, |
129 |
describing files to be injected into VM upon creation.
|
|
129 |
describing files to be injected into virtual server upon creation
|
|
130 | 130 |
|
131 |
:returns: a dict with the new VMs details
|
|
131 |
:returns: a dict with the new virtual server details
|
|
132 | 132 |
|
133 | 133 |
:raises ClientError: wraps request errors |
134 | 134 |
""" |
... | ... | |
152 | 152 |
|
153 | 153 |
def update_server_name(self, server_id, new_name): |
154 | 154 |
"""Update the name of the server as reported by the API (does not |
155 |
modify the hostname used inside the VM)
|
|
155 |
modify the hostname used inside the virtual server)
|
|
156 | 156 |
|
157 | 157 |
:param server_id: integer (str or int) |
158 | 158 |
|
Also available in: Unified diff