Revision 47d421ae snf-cyclades-app/synnefo/api/services.py

b/snf-cyclades-app/synnefo/api/services.py
43 43
        'endpoints': [
44 44
            {'versionId': 'v2.0',
45 45
             'publicURL': None},
46
        ]},
46
        ],
47
        'resources': {
48
            'vm': {
49
                "name": "cyclades.vm",
50
                "desc": "Number of virtual machines",
51
                "service_type": "compute",
52
                "service_origin": "cyclades_compute",
53
            },
54
            'cpu': {
55
                "name": "cyclades.cpu",
56
                "desc": "Number of virtual machine processors",
57
                "service_type": "compute",
58
                "service_origin": "cyclades_compute",
59
            },
60
            'ram': {
61
                "name": "cyclades.ram",
62
                "desc": "Virtual machine memory size",
63
                "unit": "bytes",
64
                "service_type": "compute",
65
                "service_origin": "cyclades_compute",
66
            },
67
            'disk': {
68
                "name": "cyclades.disk",
69
                "desc": "Virtual machine disk size",
70
                "unit": "bytes",
71
                "service_type": "compute",
72
                "service_origin": "cyclades_compute",
73
            },
74
            'network-private': {
75
                "name": "cyclades.network.private",
76
                "desc": "Number of private networks",
77
                "service_type": "compute",
78
                "service_origin": "cyclades_compute",
79
            },
80
        },
47 81

  
48 82
    'cyclades_plankton': {
49 83
        'type': 'image',
......
52 86
        'public': True,
53 87
        'endpoints': [
54 88
            {'versionId': 'v1.0',
55
             'publicURL': None}
56
        ]},
89
             'publicURL': None},
90
        ],
91
        'resources': {},
92
    },
57 93

  
58 94
    'cyclades_vmapi': {
59 95
        'type': 'cyclades_vmapi',
......
63 99
        'endpoints': [
64 100
            {'versionId': 'v1.0',
65 101
             'publicURL': None},
66
        ]},
102
        ],
103
        'resources': {},
104
    },
67 105

  
68 106
    'cyclades_helpdesk': {
69 107
        'type': 'cyclades_helpdesk',
......
73 111
        'endpoints': [
74 112
            {'versionId': '',
75 113
             'publicURL': None},
76
        ]},
114
        ],
115
    },
77 116

  
78 117
    'cyclades_userdata': {
79 118
        'type': 'cyclades_userdata',
......
83 122
        'endpoints': [
84 123
            {'versionId': '',
85 124
             'publicURL': None},
86
        ]},
125
        ],
126
        'resources': {},
127
    },
87 128

  
88 129
    'cyclades_ui': {
89 130
        'type': 'cyclades_ui',
......
93 134
        'endpoints': [
94 135
            {'versionId': '',
95 136
             'publicURL': None},
96
        ]},
137
        ],
138
        'resources': {},
139
    },
97 140
}

Also available in: Unified diff