Commit 76769d2f authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Update docs up to usage

Refs: #4692
parent a4986073
......@@ -321,7 +321,7 @@ Showcase: Reserve and attach IP to server
.. Note:: In kamaki shell, / is used to access top-level command groups while
working in command group contexts
network (Compute/Cyclades)
network (Network/Cyclades)
--------------------------
.. code-block:: text
......@@ -404,6 +404,8 @@ Showcase: Connect a network to a VM
container (Storage/Pithos+)
---------------------------
.. code-block:: text
info Get information about a container
modify Modify the properties of a container
create Create a new container
......@@ -414,6 +416,8 @@ container (Storage/Pithos+)
group (Storage/Pithos+)
-----------------------
.. code-block:: text
create Create a group of users
list List all groups and group members
delete Delete a user group
......@@ -421,6 +425,8 @@ group (Storage/Pithos+)
sharer (Storage/Pithos+)
------------------------
.. code-block:: text
info Details on a Pithos+ sharer account (default: current account)
list List accounts who share file objects with current user
......
......@@ -552,8 +552,8 @@ or a specific method from a service (e.g., create_server @ cyclades)::
$ kamaki livetest cyclades create_server
The unit tests
""""""""""""""
Unit tests
""""""""""
Kamaki features a set of unit tests for the kamaki.clients package. This set is
not used when kamaki is running. Instead, it is aimed to developers who debug
......
This diff is collapsed.
......@@ -708,7 +708,7 @@ class server_shutdown(_init_cyclades, _optional_output_cmd, _server_wait):
@command(server_cmds)
class server_addr(_init_cyclades):
"""DEPRECATED, use: [kamaki] server info <SERVER_ID> --nics"""
"""DEPRECATED, use: [kamaki] server info SERVER_ID --nics"""
def main(self, *args):
raiseCLIError('DEPRECATED since v0.12', importance=3, details=[
......@@ -718,7 +718,7 @@ class server_addr(_init_cyclades):
@command(server_cmds)
class server_console(_init_cyclades, _optional_json):
"""DEPRECATED, use: [kamaki] server info <SERVER_ID> --vnc-credentials"""
"""DEPRECATED, use: [kamaki] server info SERVER_ID --vnc-credentials"""
def main(self, *args):
raiseCLIError('DEPRECATED since v0.12', importance=3, details=[
......@@ -726,9 +726,19 @@ class server_console(_init_cyclades, _optional_json):
' [kamaki] server info <SERVER_ID> --vnc-credentials'])
@command(server_cmds)
class server_rename(_init_cyclades, _optional_json):
"""DEPRECATED, use: [kamaki] server modify SERVER_ID --name=NEW_NAME"""
def main(self, *args):
raiseCLIError('DEPRECATED since v0.12', importance=3, details=[
'Replaced by',
' [kamaki] server info <SERVER_ID> --stats'])
@command(server_cmds)
class server_stats(_init_cyclades, _optional_json):
"""DEPRECATED, use: [kamaki] server info <SERVER_ID> --stats"""
"""DEPRECATED, use: [kamaki] server info SERVER_ID --stats"""
def main(self, *args):
raiseCLIError('DEPRECATED since v0.12', importance=3, details=[
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment