Revision 2bd23362 kamaki/clients/cyclades/__init__.py
b/kamaki/clients/cyclades/__init__.py | ||
---|---|---|
50 | 50 |
|
51 | 51 |
:param flavor_id: integer id denoting a preset hardware configuration |
52 | 52 |
|
53 |
:param image_id: (str) id denoting the OS image to run on the VM
|
|
53 |
:param image_id: (str) id denoting the OS image to run on virt. server
|
|
54 | 54 |
|
55 | 55 |
:param metadata: (dict) vm metadata updated by os/users image metadata |
56 | 56 |
|
57 | 57 |
:param personality: a list of (file path, file contents) tuples, |
58 |
describing files to be injected into VM upon creation.
|
|
58 |
describing files to be injected into virtual server upon creation
|
|
59 | 59 |
|
60 |
:returns: a dict with the new VMs details
|
|
60 |
:returns: a dict with the new virtual server details
|
|
61 | 61 |
|
62 | 62 |
:raises ClientError: wraps request errors |
63 | 63 |
""" |
... | ... | |
99 | 99 |
""" |
100 | 100 |
:param server_id: integer (str or int) |
101 | 101 |
|
102 |
:returns: (dict) info to set a VNC connection to VM
|
|
102 |
:returns: (dict) info to set a VNC connection to virtual server
|
|
103 | 103 |
""" |
104 | 104 |
req = {'console': {'type': 'vnc'}} |
105 | 105 |
r = self.servers_action_post(server_id, json_data=req, success=200) |
Also available in: Unified diff