Statistics
| Branch: | Tag: | Revision:

root / image_creator / kamaki_wrapper.py @ 85e97ae0

History | View | Annotate | Download (6.5 kB)

# Date Author Comment
ffc64d7c 06/20/2013 05:35 pm Nikos Skalkotos

Remove all referencies to words like ~okeanos

In the documentation and the printed messages, remove all references
to ~okeanos, pithos or cyclades.

49c07ce3 06/18/2013 04:27 pm Nikos Skalkotos

Comply with kamaki 0.9

  • Change the authentication everywhere to use clouds
    (authentication URL and token pairs)
  • Add menu entries to manage clouds
  • Add an extra -a option in snf-image-creator to allow the user to
    specify authentication URLs
121f3bc0 06/11/2013 05:41 pm Nikos Skalkotos

Code Cleanup

  • Prefix all private methods with _
  • Write missing docstrings
  • Move all public methods above the private ones
  • Add module docstrings where missing
  • Define source code encodings on all modules
3afe6b44 05/27/2013 01:08 pm Nikos Skalkotos

Share the md5sum and meta file if image is public

If the image gets registered as public allow anyone to read the
metadata and the md5sum file.

03eb7dc8 05/24/2013 02:20 pm Nikos Skalkotos

Check if remote files exist before uploading

Before uploading to pithos, check if any remote file gets
overwritten.

ee0719db 04/25/2013 04:39 pm Nikos Skalkotos

Support kamaki 0.8

In kamaki 0.8 `store' command is replaced with `file' and `astakos' is
replaced with `user'.

88f83027 03/28/2013 02:26 pm Nikos Skalkotos

Add missing docstrings

61d14323 03/22/2013 02:57 pm Nikos Skalkotos

Clean-up the code using flake8

37d581b8 03/18/2013 12:13 am Nikos Skalkotos

Support private images

Support images that can only be deployed by the user that registers
the image to cyclades

31160dc8 03/14/2013 03:47 pm Nikos Skalkotos

Use only the token to authenticate to synnefo

You don't need the account name. You can fetch it from astakos using
the authentication token.

3dfe3651 11/01/2012 08:37 pm Nikos Skalkotos

Fix the import path for kamaki config module

It has changed after the last major revision and was not updated.

55fd2858 11/01/2012 12:26 pm Nikos Skalkotos

Make snf-image-creator compatible with kamaki 0.6

24684bbb 07/27/2012 08:17 pm Nikos Skalkotos

Change kamaki account & token retrieval interface

cf4f52b6 07/26/2012 06:52 pm Nikos Skalkotos

Read ~okeanos account/token from kamaki

If present in the kamaki configuration file, the user will read
the ~okeanos credentials using the kamaki config interface.
Whenever the user changes the ~okeanos credentians, the changes are
pushed back to kamaki.

f99fe99d 06/28/2012 01:20 am Nikos Skalkotos

Fix pep8 errors

Fixed many `E127 continuation line over-indented for visual indent'
errors

d3445122 06/15/2012 04:53 pm Nikos Skalkotos

In kamaki.register convert all metadata to strings

Otherwise the registration may fail.

3b7d3fc7 06/15/2012 11:32 am Nikos Skalkotos

Don't handle kamaki exceptions in kamaki_wrapper

Let the application decide what to do with them. If image-creator
receives an error from kamaki it will terminate. But this may not be
the proper thing to do for an interactive application like
image-creator-dialog

4e58b51b 06/11/2012 06:28 pm Nikos Skalkotos

Create a new output subpackage

08f26796 06/06/2012 12:05 pm Nikos Skalkotos

Fix a bug in Output.progress_generator

The progress bar of the progress generator had a wrong max attribute.

e77e66a9 06/05/2012 07:08 pm Nikos Skalkotos

Unify output by creating a seperated output module

All image-creator components now output messages using an instance
of one of the output classes.

3a5454e8 04/24/2012 05:40 pm Nikos Skalkotos

Unify the output of progress bars

b1aea98e 04/24/2012 03:54 pm Nikos Skalkotos

Minor cleanup (typos, comments, etc)

42ace959 04/24/2012 12:45 pm Nikos Skalkotos

Switch to ansicolor for coloring & fix pep8 errors

b1395967 04/23/2012 06:53 pm Nikos Skalkotos

Use progress for progress bar & implement register

6152a559 04/20/2012 05:44 pm Nikos Skalkotos

Fix pep8 errors

8e3065a0 04/20/2012 05:38 pm Nikos Skalkotos

Add progress bar in pithos upload & compute md5sum

997ac76a 04/19/2012 07:39 pm Nikos Skalkotos

Fix image upload

Also rearrange input options

40e7a487 04/11/2012 05:25 pm Nikos Skalkotos

Add a wrapper module for kamaki

This is just a template. Not fully workable