3 kamaki tool manual page
4 =======================
9 **kamaki** [*group*] [*command*] [...] [*options*]
15 :program:`kamaki` is a simple, yet intuitive, command-line tool for managing
16 clouds. It can be used in three forms: as an interactive shell, as a command line tool or as a clients API for other applications.
18 To run kamaki as an interactive shell, type
22 To run kamaki as tool type
24 kamaki <group> <command> [...] [options]
26 The kamaki clients API can be imported in python applications as kamaki.clients
29 List of available command groups:
33 Edit configuration options. Config options are stored in ~/.kamakirc file.
37 Access kamaki user history, which is stored in ~/.kamaki.history file.
41 Manage compute API virtual machines.
45 Manage compute API flavors.
49 Manage compute API networks.
53 Manage compute API and Plankton images.
65 A client for quotaholder API. to enable:
66 kamaki config set quotaholder.cli hotaholder_cli
67 kamaki config set quotaholder.url <quotaholder server url>
71 Prepared unit-tests for developers (experimental). To enable:
72 kamaki config set test.cli test_cli
78 .. code-block:: console
80 --help, -h Show help message and exit.
81 -v Use verbose output.
83 -o KEY=VAL Override a config value (can be used multiple times)
92 * list list configuration options
93 * get get a configuration option
94 * set set a configuration option
95 * del delete a configuration option
101 Command user history, as stored in ~/.kamaki.history
103 * show show intersession history
104 * clean clean up history
105 * run run/show previously executed command(s)
111 * addr List the addresses of all network interfaces on a server (VM)
112 * console Get a VNC console to access an existing server (VM)
113 * create Create a server (aka Virtual Machine)
114 * delete Delete a server (VM)
115 * delmeta Delete server (VM) metadata
116 * firewall Set the server (VM) firewall profile on VMs public network
117 * info Detailed information on a Virtual Machine
118 * list List Virtual Machines accessible by user
119 * meta Get a server's metadatum
120 * reboot Reboot a server (VM)
121 * rename Set/update a server (VM) name
122 * setmeta set server (VM) metadata
123 * shutdown Shutdown an active server (VM)
124 * start Start an existing server (VM)
125 * stats Get server (VM) statistics
126 * wait Wait for server to finish [BUILD, STOPPED, REBOOT, ACTIVE]
133 * info get flavor details
136 image commands and options
137 **************************
139 * addmember Add a member to an image
140 * addproperty Add an OS-related property to an image
141 * delete Delete an image (image file remains intact)
142 * delmember Remove a member from an image
143 * delproperty Delete a property of an image
144 * info Get detailed information on an image
146 * members Get image members
147 * meta Get image metadata
148 * properties Get properties related to OS installation in an image
149 * public List public images
150 * register (Re)Register an image
151 * setmembers Set the members of an image
152 * setproperty Update an existing property in an image
153 * shared List images shared by a member
159 * connect Connect a server to a network
160 * create Create an (unconnected) network
161 * delete Delete a network
162 * disconnect Disconnect a nic that connects a server to a network
163 * info Detailed information on a network
165 * rename Set the name of a network
171 * append Append local file to (existing) remote object
172 * cat Print remote file contents to console
173 * copy Copy an object from container to (another) container
174 * create Create a container
175 * delete Delete a container [or an object]
176 * delgroup Delete a user group
177 * delmeta Delete metadata from account, container or object
178 * delpermissions Delete all permissions set on object
179 * download Download remote object as local file
180 * group Get groups and group members
181 * hashmap Get the hash-map of an object
182 * info Get detailed info for account, containers or objects
183 * list List containers, object trees or objects in a directory
184 * manifest Create a remote file of uploaded parts by manifestation
185 * meta Get metadata for account, containers or objects
186 * mkdir Create a directory
187 * move Copy an object
188 * overwrite Overwrite part (from start to end) of a remote file
189 * permissions Get read and write permissions of an object
190 * publish Publish the object and print the public url
191 * purge Delete a container and release related data blocks
192 * quota Get quota (in KB) for account or container
193 * setgroup Set a user group
194 * setmeta Set a piece of metadata for account, container or object
195 * setpermissions Set permissions for an object
196 * setquota Set new quota (in KB) for account or container
197 * setversioning Set versioning mode (auto, none) for account or container
198 * sharers List the accounts that share objects with current user
199 * touch Create an empty object (file)
200 * truncate Truncate remote file up to a size
201 * unpublish Unpublish an object
202 * upload Upload a file
203 * versioning Get versioning for account or container
204 * versions Get the list of object versions
207 quotaholder commands (hidden)
208 *****************************
210 accept, ack, add, create, get, init, issue, list, query, reject, release, reset, resolve, set
213 test commands (hidden)
214 **********************
216 * all test all clients
217 * args Test how arguments are treated by kamaki
218 * astakos test Astakos client
219 * cyclades test Cyclades client
220 * error Create an error message with optional message
221 * image test Image client
222 * pithos test Pithos client
223 * prints user-test print methods for lists and dicts
229 GRNET development team <synnefo-devel@googlegroups.com>.