3 kamaki tool manual page
4 =======================
9 **kamaki** [*group*] [*command*] [...] [*options*] [*arguments*]
10 **kamaki-shell** [*group*] [*command*] [...] [*arguments*]
16 :program:`kamaki` is a simple, yet intuitive, command-line tool for managing
17 clouds. It can be used in three forms: as an interactive shell
18 (`kamaki-shell`), as a command line tool (`kamaki`) or as a clients API for
19 other applications (`kamaki.clients`).
21 To run `kamaki` as an interactive shell, type
25 To run `kamaki` as tool type
27 kamaki <group> <command> [...] [options]
29 The kamaki clients API can be imported in python applications as
33 List of available command groups:
36 Astakos/Identity API commands
39 Astakos project API commands
42 Astakos project membership API commands
45 Astakos/Account API commands for quotas
48 Astakos/Account API commands for resources
51 Pithos+/Storage object level API commands
54 Pithos+/Storage container level API commands
57 Pithos+/Storage user groups
60 Pithos+/Storage sharer accounts
63 Cyclades/Compute API server commands
66 Cyclades/Compute API flavor commands
69 Cyclades/Plankton API image commands
72 Cyclades/Compute API image commands
75 Networking API network commands
78 Networking API network commands
81 Networking API floatingip commands
84 Networking API network Commands
87 Kamaki option and cloud configuration
90 Kamaki command history
97 Astakos API service commands
100 Astakos API endpoints commands
103 Astakos API commission commands
109 .. code-block:: console
111 --help, -h Show help message and exit.
112 -v Use verbose output.
114 -o KEY=VAL Override a config value (can be repeated)
115 --cloud CLOUD Choose a cloud to connect to
124 * authenticate Authenticate a user, show user information
125 * info Get info for (current) session user
126 * uuid2name Get user name(s) from uuid(s)
127 * authenticate Authenticate a user and get all authentication information
128 * list List (cached) session users
129 * add Authenticate a user by token and add to kamaki session (cache)
130 * name2uuid Get user uuid(s) from name(s)
131 * select Select a user from the (cached) list as the current session user
132 * delete Delete a user (token) from the (cached) list of session users
137 * info Get details for a project
138 * unsuspend Resume a suspended project (special privileges needed)
139 * suspend Suspend a project (special privileges needed)
140 * list List all projects
141 * create Apply for a new project
142 * modify Modify a project
143 * terminate Terminate a project (special privileges needed)
144 * application Application management commands
145 * membership Project membership management commands
146 * reinstate Reinstate a terminated project (special privileges needed)
151 * info Details on a membership
152 * enroll Enroll somebody to a project you manage
153 * join Join a project
154 * list List all memberships
155 * accept Accept a membership for a project you manage
156 * leave Leave a project you have membership to
157 * remove Remove a membership for a project you manage
158 * reject Reject a membership for a project you manage
159 * cancel Cancel your (probably pending) membership to a project
164 * list Get user quotas
165 * info Get quota for a service (cyclades, pithos, astakos)
170 * list List user resources
175 * info Get information/details about a file
176 * truncate Truncate remote file up to size
177 * mkdir Create a directory ( create --content-type='applcation/directory' )
178 * create Create an empty file
179 * move Move objects, even between different accounts or containers
180 * list List all objects in a container or a directory object
181 * upload Upload a file
182 * cat Fetch remote file contents
183 * modify Modify the attributes of a file or directory object
184 * append Append local file to (existing) remote object
185 * download Download a remove file or directory object to local file system
186 * copy Copy objects, even between different accounts or containers
187 * overwrite Overwrite part of a remote file
188 * delete Delete a file or directory object
193 * info Get information about a container
194 * modify Modify the properties of a container
195 * create Create a new container
196 * list List all containers, or their contents
197 * empty Empty a container
198 * delete Delete a container
203 * create Create a group of users
204 * list List all groups and group members
205 * delete Delete a user group
210 * info Details on a Pithos+ sharer account (default: current account)
211 * list List accounts who share file objects with current user
216 * info Detailed information on a Virtual Machine
217 * modify Modify attributes of a virtual server
218 * create Create a server (aka Virtual Machine)
219 * list List virtual servers accessible by user
220 * reboot Reboot a virtual server
221 * start Start an existing virtual server
222 * shutdown Shutdown an active virtual server
223 * delete Delete a virtual server
224 * console Create a VMC console and show connection information
225 * wait Wait for server to finish [BUILD, STOPPED, REBOOT, ACTIVE]
231 * info get flavor details
236 * info Get image metadata
237 * list List images accessible by user
238 * register (Re)Register an image file to an Image service
239 * modify Add / update metadata and properties for an image
240 * unregister Unregister an image (does not delete the image file)
245 * info Get detailed information on an image
247 * modify Modify image properties (metadata)
248 * delete Delete an image (WARNING: image file is also removed)
253 * info: Get details about a network
254 * disconnect: Disconnect a network from a device
255 * modify: Modify network attributes
256 * create: Create a new network
257 * list: List networks
258 * connect: Connect a network with a device (server or router)
259 * delete: Delete a network
264 * info Get details about a subnet
266 * create Create a new subnet
267 * modify Modify the attributes of a subnet
272 * info Details for an IP
273 * list List reserved floating IPs
274 * attach Attach a floating IP to a server
275 * pools List pools of floating IPs
276 * release Release a floating IP
277 * detach Detach a floating IP from a server
278 * reserve Reserve a floating IP
283 * info Get details about a port
284 * list List all ports
285 * create Create a new port (== connect server to network)
286 * modify Modify the attributes of a port
287 * delete Delete a port (== disconnect server from network)
288 * wait Wait for port to finish [ACTIVE, DOWN, BUILD, ERROR]
293 * list list configuration options
294 * get get a configuration option
295 * set set a configuration option
296 * del delete a configuration option
301 Command user history, as stored in ~/.kamaki.history
303 * show show intersession history
304 * clean clean up history
305 * run run/show previously executed command(s)
311 * all test all clients
312 * args test how arguments are treated by kamaki
313 * astakos test Astakos client
314 * cyclades test Cyclades client
315 * error Create an error message with optional message
316 * image test Image client
317 * pithos test Pithos client
318 * prints user-test print methods for lists and dicts
323 * list List available services
324 * uuid2username Get service username(s) from uuid(s)
325 * quotas Get service quotas
326 * username2uuid Get service uuid(s) from username(s)
331 * list Get endpoints service endpoints
336 * info Get commission info (special privileges required)
337 * resolve Resolve multiple commissions (special privileges required)
338 * accept Accept a pending commission (special privileges required)
339 * reject Reject a pending commission (special privileges required)
340 * issue Issue commissions as a json string (special privileges required)
341 * pending List pending commissions (special privileges required)
347 Synnefo development team <synnefo-devel@googlegroups.com>.