Revision 2e6e03da kamaki/cli/commands/cyclades.py
b/kamaki/cli/commands/cyclades.py | ||
---|---|---|
919 | 919 |
@errors.generic.all |
920 | 920 |
@errors.cyclades.connection |
921 | 921 |
def _run(self, ip=None): |
922 |
self._print( |
|
923 |
self.client.alloc_floating_ip(self['pool'], ip), print_dict) |
|
922 |
self._print([self.client.alloc_floating_ip(self['pool'], ip)]) |
|
924 | 923 |
|
925 | 924 |
def main(self, requested_address=None): |
926 | 925 |
super(self.__class__, self)._run() |
... | ... | |
958 | 957 |
|
959 | 958 |
|
960 | 959 |
@command(server_cmds) |
961 |
class server_ip_detach(_init_cyclades): |
|
960 |
class server_ip_detach(_init_cyclades, _optional_output_cmd):
|
|
962 | 961 |
"""Detach floating IP from server |
963 | 962 |
""" |
964 | 963 |
|
Also available in: Unified diff