Commit cdd69983 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Initialize 'volume' app

Initialize a new 'volume' app, which will implement the block storage
API of Cyclades.
parent 3c9a1c2f
......@@ -187,4 +187,16 @@ cyclades_services = {
],
'resources': {},
},
'cyclades_volume': {
'type': 'volume',
'component': 'cyclades',
'prefix': 'volume',
'public': True,
'endpoints': [
{'versionId': 'v2.0',
'publicURL': None},
],
'resources': {},
},
}
......@@ -8,6 +8,7 @@ synnefo_web_apps = [
'synnefo.helpdesk',
'synnefo.userdata',
'synnefo.quotas',
'synnefo.volume',
]
synnefo_web_middleware = []
......
......@@ -40,7 +40,7 @@ from snf_django.utils.urls import \
from snf_django.lib.api.urls import api_patterns
from synnefo.cyclades_settings import (
BASE_PATH, COMPUTE_PREFIX, NETWORK_PREFIX, VMAPI_PREFIX,
PLANKTON_PREFIX, HELPDESK_PREFIX, UI_PREFIX,
PLANKTON_PREFIX, HELPDESK_PREFIX, UI_PREFIX, VOLUME_PREFIX,
USERDATA_PREFIX, ADMIN_PREFIX,
ASTAKOS_AUTH_PROXY_PATH, ASTAKOS_AUTH_URL,
ASTAKOS_ACCOUNT_PROXY_PATH, ASTAKOS_ACCOUNT_URL,
......@@ -66,6 +66,7 @@ cyclades_patterns = api_patterns(
(prefix_pattern(NETWORK_PREFIX), include('synnefo.api.network_urls')),
(prefix_pattern(USERDATA_PREFIX), include('synnefo.userdata.urls')),
(prefix_pattern(ADMIN_PREFIX), include('synnefo.admin.urls')),
(prefix_pattern(VOLUME_PREFIX), include('synnefo.volume.urls')),
)
cyclades_patterns += patterns(
......
......@@ -63,6 +63,7 @@ HELPDESK_PREFIX = cyclades_services['cyclades_helpdesk']['prefix']
UI_PREFIX = cyclades_services['cyclades_ui']['prefix']
USERDATA_PREFIX = cyclades_services['cyclades_userdata']['prefix']
ADMIN_PREFIX = cyclades_services['cyclades_admin']['prefix']
VOLUME_PREFIX = cyclades_services['cyclades_volume']['prefix']
COMPUTE_ROOT_URL = join_urls(BASE_URL, COMPUTE_PREFIX)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment