Statistics
| Branch: | Tag: | Revision:

root / docs / man / kamaki.rst @ 329753ae

History | View | Annotate | Download (4.9 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 glance images.
54

    
55
store
56

    
57
    Manage store API.
58

    
59

    
60
Options
61
-------
62

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

    
68

    
69
Commands
70
--------
71

    
72
config commands
73
***************
74

    
75
* list       list configuration options
76
* get        get a configuration option
77
* set        set a configuration option
78
* del        delete a configuration option
79

    
80

    
81
history commands
82
****************
83

    
84
Command user history, as stored in ~/.kamaki.history
85

    
86
* all       show user history
87
* clean     clean up history
88

    
89

    
90
server commands
91
***************
92

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

    
111

    
112
flavor commands
113
***************
114

    
115
* list       list flavors
116
* info       get flavor details
117

    
118

    
119
image commands and options
120
**************************
121

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

    
139
network commands
140
****************
141

    
142
* list       list networks
143
* create     create a network
144
* info       get network details
145
* rename     update network name
146
* delete     delete a network
147
* connect    connect a server to a network
148
* disconnect disconnect a server from a network
149

    
150

    
151
store commands
152
**************
153

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

    
188

    
189

    
190
Author
191
------
192

    
193
GRNET development team <synnefo@lists.grnet.gr>.
194