Revision 05e144e2

b/kamaki/cli/config.py
50 50
CONFIG_ENV = 'KAMAKI_CONFIG'
51 51

  
52 52
HEADER = """
53
# Kamaki configuration file v2
53
# Kamaki configuration file v3
54 54
"""
55 55

  
56 56
DEFAULTS = {
57 57
    'global': {
58 58
        'colors': 'off',
59
        'account':  '',
60 59
        'token': '',
61 60
        'log_file': os.path.expanduser('~/.kamaki.log'),
62 61
        'log_token': 'off',
63 62
        'log_data': 'off',
64
        'max_threads': 7
63
        'max_threads': 7,
64
        'url': 'https://accounts.okeanos.grnet.gr/astakos/identity/v2.0/'
65
    },
66
    'cli': {
67
        'user': 'astakos',
68
        'file': 'pithos',
69
        'server': 'cyclades',
70
        'flavor': 'cyclades',
71
        'network': 'cyclades',
72
        'image': 'image',
73
        'config': 'config',
74
        'history': 'history'
65 75
    },
66
    'config': {'cli': 'config'},
67 76
    'history': {
68
        'cli': 'history',
69 77
        'file': HISTORY_PATH
70 78
    },
71
    'file': {
72
        'cli': 'pithos',
73
        'url': 'https://pithos.okeanos.grnet.gr/v1'
79
    'pithos': {
80
        'type': 'object-storage',
81
        'version': 'v2'
74 82
    },
75
    'compute': {'url': 'https://cyclades.okeanos.grnet.gr/api/v1.1'},
76
    'server': {'cli': 'cyclades'},
77
    'flavor': {'cli': 'cyclades'},
78
    'network': {'cli': 'cyclades'},
79
    'image': {
80
        'cli': 'image',
81
        'url': 'https://cyclades.okeanos.grnet.gr/plankton'
83
    'cyclades': {
84
        'type': 'compute',
85
        'version': 'v2.0'
86
        },
87
    'plankton': {
88
        'type': 'image',
89
        'version': 'v2.0'
82 90
    },
83
    'user': {
84
        'cli': 'astakos',
85
        'url': 'https://accounts.okeanos.grnet.gr'
91
    'astakos': {
92
        'type': 'identity',
93
        'version': 'v2.0'
86 94
    }
87 95
}
88 96

  

Also available in: Unified diff