1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00
webvirtcloud/datasource/urls.py
2020-06-04 08:50:33 +03:00

12 lines
488 B
Python

from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^openstack/$',
views.os_index, name='ds_openstack_index'),
url(r'^openstack/(?P<version>[\w\-\.]+)/meta_data.json$',
views.os_metadata_json, name='ds_openstack_metadata'),
url(r'^openstack/(?P<version>[\w\-\.]+)/user_data$',
views.os_userdata, name='ds_openstack_userdata'),
url(r'^vdi/(?P<compute_id>[0-9]+)/(?P<vname>[\w\-\.]+)/$', views.get_vdi_url, name='vdi_url'),
]