Revision 137c51f5
b/kamaki/cli/commands/__init__.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A.command |
33 | 33 |
|
34 |
from kamaki.logger import get_logger |
|
34 |
from kamaki.cli.logger import get_logger
|
|
35 | 35 |
from kamaki.cli.utils import print_json, print_items |
36 | 36 |
from kamaki.cli.argument import FlagArgument |
37 | 37 |
|
b/kamaki/cli/config.py | ||
---|---|---|
63 | 63 |
'log_data': 'off', |
64 | 64 |
'max_threads': 7 |
65 | 65 |
}, |
66 |
'config': { |
|
67 |
'cli': 'config', |
|
68 |
}, |
|
66 |
'config': {'cli': 'config'}, |
|
69 | 67 |
'history': { |
70 | 68 |
'cli': 'history', |
71 | 69 |
'file': HISTORY_PATH |
... | ... | |
74 | 72 |
'cli': 'pithos', |
75 | 73 |
'url': 'https://pithos.okeanos.grnet.gr/v1' |
76 | 74 |
}, |
77 |
'compute': { |
|
78 |
'url': 'https://cyclades.okeanos.grnet.gr/api/v1.1' |
|
79 |
}, |
|
80 |
'server': { |
|
81 |
'cli': 'cyclades' |
|
82 |
}, |
|
83 |
'flavor': { |
|
84 |
'cli': 'cyclades' |
|
85 |
}, |
|
86 |
'network': { |
|
87 |
'cli': 'cyclades' |
|
88 |
}, |
|
75 |
'compute': {'url': 'https://cyclades.okeanos.grnet.gr/api/v1.1'}, |
|
76 |
'server': {'cli': 'cyclades'}, |
|
77 |
'flavor': {'cli': 'cyclades'}, |
|
78 |
'network': {'cli': 'cyclades'}, |
|
89 | 79 |
'image': { |
90 | 80 |
'cli': 'image', |
91 | 81 |
'url': 'https://cyclades.okeanos.grnet.gr/plankton' |
b/kamaki/cli/errors.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from kamaki.logger import get_logger |
|
34 |
from kamaki.cli.logger import get_logger
|
|
35 | 35 |
|
36 | 36 |
log = get_logger('kamaki.cli') |
37 | 37 |
|
Also available in: Unified diff