Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands / image.py @ 73bf1f64

History | View | Annotate | Download (29.1 kB)

# Date Author Comment
f2051b93 12/17/2013 12:15 pm Dionysis Grigoropoulos

Typo fix

f084bdc8 12/05/2013 06:34 pm Stavros Sachtouris

Update docs up to examples/imageregister

Refs: #4692

432cea25 12/05/2013 05:44 pm Stavros Sachtouris

Adjust image register to new scheme

Refs: #4583

5c5eb675 11/19/2013 05:33 pm Stavros Sachtouris

Apply naming scheme to image cmds

Refs: #4583

All image-property commands --> image modify --property-add/del
All image-compute commands --> imagecompute
imagecompute-property-* --> imagecompute modify --property-add/del

00b1248e 11/18/2013 06:56 pm Stavros Sachtouris

Apply naming conventions to 1st level image cmds

Refs: #4583

2c3671ff 11/11/2013 03:34 pm Stavros Sachtouris

Simplify image shared

4475f8b7 10/23/2013 03:18 pm Stavros Sachtouris

Fix buig with image meta set

f76c6bbc 10/01/2013 02:06 pm Stavros Sachtouris

Add --output-format where applicable

Refs: #4342

It currently exists along with -j/--json for bw compatiblity.
--output-format=json is equivalent to -j or --json

16d7b9ff 09/26/2013 02:14 pm Stavros Sachtouris

Update and correct kamaki.clients documentation

97086fcd 09/24/2013 06:33 pm Stavros Sachtouris

Fix sphinx warnings

76f58e2e 09/12/2013 04:13 pm Stavros Sachtouris

Replace print methods w. respective member methods

Refs: #4292

1d0f1ffa 09/12/2013 12:39 pm Stavros Sachtouris

Remove builtin.print from _commands

Refs: #4292

6b8a403c 09/09/2013 05:47 pm Stavros Sachtouris

Fix typo in image list printouts

6430d3a0 09/09/2013 04:17 pm Stavros Sachtouris

Update commands to use pager when --more

Refs: #4279

38db356b 09/09/2013 03:15 pm Stavros Sachtouris

Restore backwards compatibility for image register

Refs: Bug #4276

New format:

/image register Name container:path/to/image

Old format:

/image register Name pithos://user-uuid/container/path/to/image

Now, the old format is also recognized. It is planed to be depricated in a...

7bbfeb1a 09/05/2013 01:09 pm Stavros Sachtouris

Add help on kamaki register when old-style args

Refs: #4276

82cc4b8f 08/28/2013 03:18 pm Stavros Sachtouris

Rename /image meta list to /image info

f424ea0a 08/28/2013 02:33 pm Stavros Sachtouris

Fix typos

a41d7a1d 08/28/2013 01:05 pm Stavros Sachtouris

Fix some random spelling errors in commends

ca5528f1 08/27/2013 04:38 pm Stavros Sachtouris

Add meta/properties image methods, whip compute

Refs: #4231

New methods:
/image meta list/set/delete --<meta>[=value] ... -p k1[=v1] [-p k2[=v2]] ...

cf115aed 08/26/2013 06:29 pm Stavros Sachtouris

Implement all user-id --> username mapings

Refs: #4228

6d190dd1 08/26/2013 02:13 pm Stavros Sachtouris

Create _id/name_filter methods for all listings

Refs: #4220

89ea97e1 08/23/2013 06:07 pm Stavros Sachtouris

Impement basic/custom filters for server list

Refs: #4220

New filters: name[-like/-suffix/-prefix], flavor_id, image_id, metadata[-like]

466636c9 08/23/2013 03:36 pm Stavros Sachtouris

Fix bug when setting an empty cloud alias

fc48b144 08/23/2013 12:45 pm Stavros Sachtouris

Complete basic filters in image compute list

Refs: #4220

854222c7 08/22/2013 06:55 pm Stavros Sachtouris

Try a unified filtering method in image ? list

Refs: #4220

1716a15d 08/22/2013 06:04 pm Stavros Sachtouris

Add a filter_dicts_by_dict utils method

Refs: #4220

This is a multipurpose method to be used for CLI filtering

5576a4eb 08/22/2013 03:02 pm Stavros Sachtouris

Add --property-like in image list

Refs: #4220

f1e5b343 08/21/2013 06:26 pm Stavros Sachtouris

Optimize username aquisition in image list

Refs: #4228

Collect all uuids and get them with one request

95641ecc 08/21/2013 05:53 pm Stavros Sachtouris

Augment user info in image list

Refs: #4228

2d1202ee 08/21/2013 04:04 pm Stavros Sachtouris

Add --property to image list

Refs: #4220

Also, fix various bugs introduced by utils re-writtings

d77e33d4 08/01/2013 03:35 pm Stavros Sachtouris

Add upload local image abilities to register

Refs: #4206

New register args:

--update-image-file=/local/path
--no-progress-bar
f2ea1314 07/30/2013 03:00 pm Stavros Sachtouris

Use container:path format in register

Refs: #3778

81b0838d 07/16/2013 12:54 pm Stavros Sachtouris

Improve error message when image meta file exists

e3f01d64 06/26/2013 12:28 pm Stavros Sachtouris

Update the copyright dates everywhere

0b158e6b 06/19/2013 02:58 pm Stavros Sachtouris

Add image registration examples

df0045d8 06/13/2013 06:37 pm Stavros Sachtouris

Fix all minor typos and modifications in tests

144b3551 06/12/2013 03:02 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

72fa0010 06/10/2013 03:11 pm Stavros Sachtouris

Fix PEP8 warning

c626151a 06/07/2013 03:41 pm Stavros Sachtouris

Adjust help messages to configuration changes

Refs:#3934

e0d03685 06/07/2013 02:24 pm Stavros Sachtouris

Fix a PEP8 issue

b4f69041 06/06/2013 05:29 pm Stavros Sachtouris

Adjust all command specs to multicloud/singleauth

Refs: #3934

f5c28bfa 06/04/2013 12:30 pm Stavros Sachtouris

Backwards compatibility for configuraiton file

Compatible with kamaki config files v2

user.url, file.url, compute.url and image.url
are now valid and of higher priority to
astakos.url, pithos.url, cyclades.url, plankton.url
which are also valid

All these are ignored iff [global].auth_url is given

9d8737a2 06/03/2013 05:29 pm Stavros Sachtouris

Fix typos in default and expected values

819311d3 06/03/2013 05:19 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

ef00bc31 06/03/2013 02:37 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

8cec3671 06/03/2013 02:22 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....

cb4a5d9c 06/03/2013 12:58 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