Revision 395fbf9e

b/docs/commands.rst
64 64

  
65 65
.. code-block:: text
66 66

  
67
    addmember  :  Add a member to an image
68
    addproperty:  Add an image property
69
    delmember  :  Remove a member from an image
70 67
    list       :  List images accessible by user
71
    members    :  Get image members
72 68
    meta       :  Get image metadata
73 69
    register   :  (Re)Register an image
74
    setmembers :  Set the members of an image
70
    unregister :  Unregister an image (does not delete the image file)
75 71
    shared     :  List shared images
76 72
    compute    :  Compute Image API commands
77 73
        list       :  List images
78 74
        delete     :  Delete image
79 75
        info       :  Get image details
80
        properties :  Get image properties
81
        delproperty:  Delete an image property
82
        setproperty:  Update an image property
76
        properties :  Manage properties related to OS installation in an image
77
            add   :  Add a property to an image
78
            delete:  Delete a property from an image
79
            get   :  Get an image property
80
            list  :  List all image properties
81
            set   :  Add / update a set of properties for an image
82
    members    :  Manage members (users who can modify an image)
83
        add    :  Add a member to an image
84
        delete :  Remove a member from an image
85
        list   :  List members of an image
86
        set    :  Set the members of an image
83 87

  
84 88
Showcase: Pick an image and list the properties
85 89
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
311 315
    append        :  Append local file to remote
312 316
    cat           :  Print a file to console
313 317
    copy          :  Copy an object
318
    containerlimit:  Container size limit commands
319
        set       :  Set container data limit
320
        get       :  Get container data limit
314 321
    create        :  Create a container
315 322
    delete        :  Delete a container [or an object]
316
    delgroup      :  Delete a user group
317
    delmeta       :  Delete an existing metadatum for an account [, container [or object]]
318
    delpermissions:  Delete all sharing permissions
319 323
    download      :  Download a file or directory
320
    group         :  Get user groups details
324
    group         :  Manage access groups and group members
325
        delete:  Delete a user group
326
        get   :  Get groups and group members
327
        set   :  Set a user group
321 328
    hashmap       :  Get the hashmap of an object
322 329
    info          :  Get information for account [, container [or object]]
323 330
    list          :  List containers, object trees or objects in a directory
324 331
    manifest      :  Create a remote file with uploaded parts by manifestation
325
    meta          :  Get custom meta-content for account [, container [or object]]
332
    metadata      :  Metadata are attached on objects (key:value pairs)
333
        delete:  Delete metadata with given key
334
        get   :  Get metadatum
335
        set   :  Set a piece of metadata
326 336
    mkdir         :  Create a directory
327 337
    move          :  Copy an object
328 338
    overwrite     :  Overwrite part (from start to end) of a remote file
329
    permissions   :  Get object read/write permissions
339
    permissions   :  Manage user and group accessibility for objects
340
        delete:  Delete all permissions set on object
341
        get   :  Get read and write permissions of an object
342
        set   :  Set permissions for an object
330 343
    publish       :  Publish an object
331 344
    purge         :  Purge a container
332 345
    quota         :  Get  quota for account
333
    setgroup      :  Create/update a new user group
334
    setmeta       :  Set a new metadatum for account [, container [or object]]
335
    setpermissions:  Set sharing permissions
336
    containerlimit:  Container size limit commands
337
        set       :  Set container data limit
338
        get       :  Get container data limit
339
    setversioning :  Set new versioning (auto, none) for account [or container]
340 346
    sharers       :  List the accounts that share objects with default account
341 347
    touch         :  Create an empty object (file)
342 348
    truncate      :  Truncate remote file up to a size
343 349
    unpublish     :  Unpublish an object
344 350
    upload        :  Upload a file or directory
345
    versioning    :  Get  versioning for account [or container ]
351
    versioning    :  Manage the versioning scheme of current pithos user account
352
        get:  Get  versioning for account or container
353
        set:  Set versioning mode (auto, none) for account or container
346 354
    versions      :  Get the version list of an object
347 355

  
348 356
Showcase: Upload and download a file
b/docs/man/kamaki.rst
140 140
image commands
141 141
**************
142 142

  
143
* addmember     Add a member to an image
144
* addproperty   Add an OS-related property to an image
145
* delete        Delete an image (image file remains intact)
146
* delmember     Remove a member from an image
147
* delproperty   Delete a property of an image
148
* info          Get detailed information on an image
149
* members       Get image members
150
* meta          Get image metadata
151
* properties    Get properties related to OS installation in an image
152
* list          List images accessible by user
153
* register      (Re)Register an image
154
* setmembers    Set the members of an image
155
* setproperty   Update an existing property in an image
156
* shared        List images shared by a member
157
* compute       Compute Image API commands
158
    * list          List images
159
    * delete        Delete image
160
    * info          Get image details
161
    * properties    Get image properties
162
    * delproperty   Delete an image property
163
    * setproperty   Update an image property
143
* list           List images accessible by user
144
* meta           Get image metadata
145
* register       (Re)Register an image
146
* unregister     Unregister an image (does not delete the image file)
147
* shared         List shared images
148
    * compute        Compute Image API commands
149
    * list       List images
150
    * delete     Delete image
151
    * info       Get image details
152
    * properties Manage properties related to OS installation in an image
153
        * add    Add a property to an image
154
        * delete Delete a property from an image
155
        * get    Get an image property
156
        * list   List all image properties
157
        * set    Add / update a set of properties for an image
158
* members        Manage members (users who can modify an image)
159
    * add        Add a member to an image
160
    * delete     Remove a member from an image
161
    * list       List members of an image
162
    * set        Set the members of an image
164 163

  
165 164

  
166 165
network commands
......
178 177
file commands
179 178
**************
180 179

  
181
* append                Append local file to (existing) remote object
182
* cat                   Print remote file contents to console
183
* copy                  Copy an object from container to (another) container
184
* create                Create a container
185
* delete                Delete a container [or an object]
186
* delgroup              Delete a user group
187
* delmeta               Delete metadata from account, container or object
188
* delpermissions        Delete all permissions set on object
189
* download              Download remote object(s) as local file(s)
190
* group                 Get groups and group members
191
* hashmap               Get the hash-map of an object
192
* info                  Get detailed info for account, containers or objects
193
* list                  List containers, object trees or objects in a directory
194
* manifest              Create a remote file of uploaded parts by manifestation
195
* meta                  Get metadata for account, containers or objects
196
* mkdir                 Create a directory
197
* move                  Copy an object
198
* overwrite             Overwrite part (from start to end) of a remote file
199
* permissions           Get read and write permissions of an object
200
* publish               Publish the object and print the public url
201
* purge                 Delete a container and release related data blocks
202
* quota                 Get quota (in KB) for account or container
203
* setgroup              Set a user group
204
* setmeta               Set a piece of metadata for account, container or object
205
* setpermissions        Set permissions for an object
206
* containerlimit set    Set new limit for container
207
* containerlimit get    Get container limit
208
* setversioning         Set versioning mode (auto, none) for account or container
209
* sharers               List the accounts that share objects with current user
210
* touch                 Create an empty object (file)
211
* truncate              Truncate remote file up to a size
212
* unpublish             Unpublish an object
213
* upload                Upload a file or directory
214
* versioning            Get  versioning for account or container
215
* versions              Get the list of object versions
180
* append         Append local file to remote
181
* cat            Print a file to console
182
* copy           Copy an object
183
* containerlimit Container size limit commands
184
    * set        Set container data limit
185
    * get        Get container data limit
186
* create         Create a container
187
* delete         Delete a container [or an object]
188
* download       Download a file or directory
189
* group          Manage access groups and group members
190
    * delete     Delete a user group
191
    * get        Get groups and group members
192
    * set        Set a user group
193
* hashmap        Get the hashmap of an object
194
* info           Get information for account [, container [or object]]
195
* list           List containers, object trees or objects in a directory
196
* manifest       Create a remote file with uploaded parts by manifestation
197
* metadata       Metadata are attached on objects (key:value pairs)
198
    * delete     Delete metadata with given key
199
    * get        Get metadatum
200
    * set        Set a piece of metadata
201
* mkdir          Create a directory
202
* move           Copy an object
203
* overwrite      Overwrite part (from start to end) of a remote file
204
* permissions    Manage user and group accessibility for objects
205
    * delete     Delete all permissions set on object
206
    * get        Get read and write permissions of an object
207
    * set        Set permissions for an object
208
* publish        Publish an object
209
* purge          Purge a container
210
* quota          Get  quota for account
211
* sharers        List the accounts that share objects with default account
212
* touch          Create an empty object (file)
213
* truncate       Truncate remote file up to a size
214
* unpublish      Unpublish an object
215
* upload         Upload a file or directory
216
* versioning     Manage the versioning scheme of current pithos user account
217
    * get        Get  versioning for account or container
218
    * set        Set versioning mode (auto, none) for account or container
219
    * versions   Get the version list of an object
216 220

  
217 221

  
218 222
test commands (hidden)
b/kamaki/cli/commands/image.py
450 450

  
451 451
@command(image_cmds)
452 452
class image_compute_properties(_init_cyclades):
453
    """Manage proeprties related to OS installation in an image"""
453
    """Manage properties related to OS installation in an image"""
454 454

  
455 455

  
456 456
@command(image_cmds)

Also available in: Unified diff