Revision d2cea1e2 kamaki/clients/cyclades.py
b/kamaki/clients/cyclades.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
""" |
|
35 |
GRNet Cyclades API client |
|
36 |
""" |
|
37 |
|
|
38 | 34 |
import json |
39 | 35 |
|
40 |
from .http import HTTPClient
|
|
36 |
from .compute import ComputeClient
|
|
41 | 37 |
|
42 | 38 |
|
43 |
class CycladesClient(HTTPClient): |
|
39 |
class CycladesClient(ComputeClient): |
|
40 |
"""GRNet Cyclades API client""" |
|
41 |
|
|
44 | 42 |
def start_server(self, server_id): |
45 | 43 |
"""Submit a startup request for a server specified by id""" |
46 | 44 |
path = '/servers/%d/action' % server_id |
Also available in: Unified diff