Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands / image.py @ 54b6be76

History | View | Annotate | Download (23.2 kB)

# Date Author Comment
54b6be76 06/03/2013 02:26 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

a4170d41 06/03/2013 01:02 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most...

bcef3ac9 05/24/2013 04:47 pm Stavros Sachtouris

Rename meta-->metadata and remove values @CLI

Refs: #3633

aa82dd5a 05/23/2013 05:25 pm Stavros Sachtouris

Add metadata management to image register

- validate image metadata format
- read metadata from file
- merge file-loaded metadata with runtimes
- store metadata file on pithos, check existance, overwrite with f
raise helpful error messages when there fail...

117ca598 05/22/2013 06:05 pm Stavros Sachtouris

Merge branch 'feature-json-output' into develop

Conflicts:
Changelog
kamaki/cli/commands/image.py

Also, take care of pep8 issues

545c6c29 05/22/2013 05:26 pm Stavros Sachtouris

Implement an optional json output 4 outputing cmds

Refs: #3732

c4aefeaf 05/21/2013 07:32 pm Stavros Sachtouris

Update and enrich error messages in image register

Parse ivalid property file and guide users to correct it
Guide users to pass valid container:path parameters

Refs:#3769

9553da85 05/21/2013 06:26 pm Stavros Sachtouris

Print full and nice response in image register

f7a37648 05/21/2013 06:04 pm Stavros Sachtouris

Make sure registered properties are unique

Refs: #3769

00336c85 05/21/2013 05:08 pm Stavros Sachtouris

Store image properties after image registration

Log of changes:
- Properties are stored in a remote file on Pithos+
- File name is <image-file>.meta
- Feature can be switched off with --no-property-file-upload
- If remote property file exists, registration is aborted...

623a4ceb 05/21/2013 03:23 pm Stavros Sachtouris

Optionaly load images properties from file

Refs: #3769

395fbf9e 05/20/2013 06:40 pm Stavros Sachtouris

Update documentation to reflect changes in output

Refs: #3756

f5f35422 05/20/2013 05:54 pm Stavros Sachtouris

Apply option outputs to image commands + renames

- Add image.add_member missing content-length header
- Rename image-[add|del]member commands to members-[add|delete]
- Remove update option from image-register
- In image-compute split properties to properties-list and properties-get...

ed9af02c 05/15/2013 05:36 pm Stavros Sachtouris

Add enumeration as optional for all list cmds

Refs: #3739

4a17d307 05/14/2013 05:12 pm Stavros Sachtouris

Expose image-unregister to cli and unittest it

8b516110 04/25/2013 01:25 pm Stavros Sachtouris

Move addproperty from image to image compute

1736e06d 04/24/2013 03:35 pm Stavros Sachtouris

Fix typo with --config and --property args (#3658)

bfb54881 04/18/2013 06:05 pm Stavros Sachtouris

Fix mispeled import cyclades_cli --> cyclades

faeccbf9 04/15/2013 04:31 pm Stavros Sachtouris

Add some client-side filters to image list

--owner=<uuid> : print only images with given owner

--name-prefix=

  :  print only images with name starting with <prefix>
--name-suffix=<suffix>  :  print only images with name starting with <suffix>
--name-like=<part>      :  print only images with name containing <part>...

f9457c89 04/15/2013 03:57 pm Stavros Sachtouris

Filter image listing results by owner

Introduce the --owner parameter to kamaki image list (was: image public)
If given, only images of given owner will be pronted on console. This is a
client side filtering, as oposed to the other filters of the command.

a29d2f88 04/15/2013 12:12 pm Stavros Sachtouris

Apply uniform descriptions to all client commands

<GRNET name>/<OS name> API <actuall api> commands

e.g.
Cyclades/Compute API server commands
or
Pithos+/Storage API commands

Commands file names are named after the API they implement, not the command interface....

0ea31480 04/12/2013 06:27 pm Stavros Sachtouris

Update docs, rename kamaki.cli.commands/*

Documentation updates: reflect the changes in command groups
astakos --> user, store --> file

File renaming: remove the _cli suffix from modules in kamaki.cli.commands

Feature #3566