Revision 22663c4a
b/docs/developers/clients-api.rst | ||
---|---|---|
325 | 325 |
NETWORK_URL = network_endpoints['publicURL'] |
326 | 326 |
|
327 | 327 |
network = CycladesNetworkClient(NETWORK_URL, TOKEN) |
328 |
net = cyclades.create_network('My private network')
|
|
328 |
net = network.create_network('My private network')
|
|
329 | 329 |
|
330 | 330 |
cyclades_endpoints = user.get_service_endpoints('compute') |
331 | 331 |
CYCLADES_URL = cyclades_endpoints['publicURL'] |
b/kamaki/cli/commands/cyclades.py | ||
---|---|---|
805 | 805 |
|
806 | 806 |
def main(self, server_id): |
807 | 807 |
super(self.__class__, self)._run() |
808 |
self._run(server_id=server_id, current_status=self['server_status']) |
|
808 |
self._run( |
|
809 |
server_id=server_id, current_status=self['server_status'] or '') |
|
809 | 810 |
|
810 | 811 |
|
811 | 812 |
@command(flavor_cmds) |
Also available in: Unified diff