Revision 121f3bc0 image_creator/kamaki_wrapper.py
b/image_creator/kamaki_wrapper.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
# |
|
1 | 3 |
# Copyright 2012 GRNET S.A. All rights reserved. |
2 | 4 |
# |
3 | 5 |
# Redistribution and use in source and binary forms, with or |
... | ... | |
31 | 33 |
# interpreted as representing official policies, either expressed |
32 | 34 |
# or implied, of GRNET S.A. |
33 | 35 |
|
36 |
"""This modules provides the interface for working with the ./kamaki library. |
|
37 |
The library is used to upload images to and register them with a Synnefo |
|
38 |
deployment. |
|
39 |
""" |
|
40 |
|
|
34 | 41 |
from os.path import basename |
35 | 42 |
|
36 | 43 |
from kamaki.cli.config import Config |
... | ... | |
41 | 48 |
|
42 | 49 |
|
43 | 50 |
class Kamaki(object): |
44 |
|
|
51 |
"""Wrapper class for the ./kamaki library""" |
|
45 | 52 |
CONTAINER = "images" |
46 | 53 |
|
47 | 54 |
@staticmethod |
Also available in: Unified diff