Statistics
| Branch: | Tag: | Revision:

root / docs / man / kamaki.rst @ ec3b8f78

History | View | Annotate | Download (5 kB)

1
:orphan:
2

    
3
kamaki tool manual page
4
=======================
5

    
6
Synopsis
7
--------
8

    
9
**kamaki** [*group*] [*command*] [...] [*options*]
10

    
11

    
12
Description
13
-----------
14

    
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.
17

    
18
To run kamaki as an interactive shell, type
19

    
20
    kamaki
21

    
22
To run kamaki as tool type
23

    
24
    kamaki <group> <command> [...] [options]
25

    
26
The kamaki clients API can be imported in python applications as kamaki.clients
27

    
28

    
29
List of available command groups:
30

    
31
config
32

    
33
    Edit configuration options. Config options are stored in ~/.kamakirc file.
34

    
35
history
36

    
37
    Access kamaki user history, which is stored in ~/.kamaki.history file.
38

    
39
server
40

    
41
    Manage compute API virtual machines.
42

    
43
flavor
44

    
45
    Manage compute API flavors.
46

    
47
network
48

    
49
    Manage compute API networks.
50

    
51
image 
52

    
53
    Manage compute API and Plankton images.
54

    
55
store
56

    
57
    Manage store API.
58

    
59

    
60
Options
61
-------
62

    
63
.. code-block:: console
64

    
65
    --help, -h              Show help message and exit.
66
    -v                      Use verbose output.
67
    -d                      Use debug output.
68
    -o KEY=VAL              Override a config value (can be used multiple times)
69

    
70

    
71
Commands
72
--------
73

    
74
config commands
75
***************
76

    
77
* list       list configuration options
78
* get        get a configuration option
79
* set        set a configuration option
80
* del        delete a configuration option
81

    
82

    
83
history commands
84
****************
85

    
86
Command user history, as stored in ~/.kamaki.history
87

    
88
* show      show user history
89
* clean     clean up history
90
* run       run previously executed command(s)
91

    
92

    
93
server commands
94
***************
95

    
96
* list       list servers
97
* info       get server details
98
* create     create server
99
* rename     update server name
100
* delete     delete server
101
* reboot     reboot server
102
* start      start server
103
* shutdown   shutdown server
104
* console    get a VNC console
105
* firewall   set the firewall profile
106
* addr       list server addresses
107
* meta       get server metadata
108
* addmeta    add server metadata
109
* setmeta    update server metadata
110
* delmeta    delete server metadata
111
* stats      get server statistics
112
* wait       wait for server to finish [BUILD, STOPPED, REBOOT, ACTIVE]
113

    
114

    
115
flavor commands
116
***************
117

    
118
* list       list flavors
119
* info       get flavor details
120

    
121

    
122
image commands and options
123
**************************
124

    
125
* list        list images
126
* info        get image details
127
* public      list public images
128
* shared      list shared images
129
* delete      delete image
130
* register    register an image
131
* reregister  re-register an image (preserve and update properties)
132
* meta        get image metadata
133
* members     get image members
134
* addmember   add a member to an image
135
* delmember   remove a member from an image
136
* setmembers  set the members of an image
137
* properties  get image properties
138
* setproperty update an image property
139
* addproperty add an image property
140
* delproperty delete an image property
141

    
142
network commands
143
****************
144

    
145
* list       list networks
146
* create     create a network
147
* info       get network details
148
* rename     update network name
149
* delete     delete a network
150
* connect    connect a server to a network
151
* disconnect disconnect a server from a network
152

    
153

    
154
store commands
155
**************
156

    
157
* append    Append local file to (existing) remote object
158
* cat       Print a file to console
159
* copy      Copy an object
160
* create    Create a container or a directory object
161
* delete    Delete a container [or an object]
162
* delgroup  Delete a user group on an account
163
* delmeta   Delete an existing metadatum of account [, container [or object]]
164
* delpermissions    Delete all sharing permissions
165
* download  Download a file
166
* group     Get user groups details for account
167
* hashmap   Get the hashmap of an object
168
* info      Get information for account [, container [or object]]
169
* list      List containers, object trees or objects in a directory
170
* manifest  Create a remote file with uploaded parts by manifestation
171
* meta      Get custom meta-content for account [, container [or object]]
172
* mkdir     Create a directory
173
* move      Copy an object
174
* overwrite Overwrite part (from start to end) of a remote file
175
* permissions   Get object read/write permissions
176
* publish   Publish an object
177
* purge     Purge a container
178
* quota     Get quota for account [or container]
179
* setgroup  Create/update a new user group on account
180
* setmeta   Set a new metadatum for account [, container [or object]]
181
* setpermissions    Set sharing permissions
182
* setquota  Set new quota (in KB) for account [or container]
183
* setversioning Set new versioning (auto, none) for account [or container]
184
* sharers   List the accounts that share objects with default account
185
* truncate  Truncate remote file up to a size
186
* unpublish Unpublish an object
187
* upload    Upload a file
188
* versioning    Get  versioning for account [or container ]
189
* versions  Get the version list of an object
190

    
191

    
192

    
193
Author
194
------
195

    
196
GRNET development team <synnefo-devel@googlegroups.com>.
197