Example 1.2: Set user name to user@domain.com
- $ kamaki set account user@domain.com
+ $ kamaki set account store.user@domain.com
Shell vs one-command
--------------------
Interactive shell
-----------------
-Kamaki interactive shell is details in this section
+Kamaki interactive shell is detailed in this section
Command Contexts
^^^^^^^^^^^^^^^^
[server]:/flavor list
...
- 20. AFLAVOR
+ 43 AFLAVOR
SNF:disk_template: drbd
cpu : 4
disk : 10
- id : 43
ram : 2048
[server]:/image list
[server]:create 'my debian' 43 6aa6eafd-dccb-67fe2bdde87e
...
-An other example (4.3.2) showcases how to acquire and modify configuration settings from a different context. In this scenario, the user token expires at server side while the user is working. When that happens, the system responds with an *(401) UNAUTHORIZED* message. The user can acquires a new token (with a browser) which has to be set to kamaki.
+An other example (4.3.2) showcases how to acquire and modify configuration settings from a different context. In this scenario, the user token expires at server side while the user is working. When that happens, the system responds with an *(401) UNAUTHORIZED* message. The user can acquire a new token (with a browser) which has to be set to kamaki.
.. code-block:: console
:emphasize-lines: 1
1. pithos (10MB, 2 objects)
2. trash (0B, 0 objects)
+.. note:: actual kamaki error messages are more helpful and descriptive.
+
The following example compares some equivalent calls that run *astakos-authenticate* after a *store-list* 401 failure.
.. code-block:: console
Scripting
^^^^^^^^^
-Since version 6.2, the history-load feature allows the sequential execution of previously run kamaki commands in kamaki shell.
+Since version 6.2, the history-run feature allows the sequential execution of previously run kamaki commands in kamaki shell.
-The following kamaki sequence copies and downloads a file from mycontainer1, uploads it to mycontainer2, then undo the proccess and repeats it with history-load
+The following kamaki sequence copies and downloads a file from mycontainer1, uploads it to mycontainer2, then undo the proccess and repeats it with history-run
.. code-block:: console
:emphasize-lines: 1,12,19,32
6. history show
*repeat the process *
- [history]: load 2-4
+ [history]: run 2-4
store copy mycontainer1:somefile mycontainer1:myfile
store download mycontainer1:myfile mylocalfile
Download completed
store upload mylocalfile mycontainer2:myfile
Upload completed
-The above strategy is still very primitive. Users are advised to take advantage of their os shell scripting capabilities and combine them with kamaki one-command for powerful scripting. Still, the history-load functionality might prove handy for kamaki shell users.
+The above strategy is still very primitive. Users are advised to take advantage of their os shell scripting capabilities and combine them with kamaki one-command for powerful scripting. Still, the history-run functionality might prove handy for kamaki shell users.
Tab completion
^^^^^^^^^^^^^^