diff options
author | Adam Hassick <ahassick@iol.unh.edu> | 2021-07-27 13:05:16 +0000 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-07-27 09:20:35 -0400 |
commit | d93346a716bde5237b7cfef5c10ea56e4922b59a (patch) | |
tree | 5d9d47c84e99e6040d8c2eb7c3921369b83964b4 /src/api/urls.py | |
parent | 6ffb1fdf6ce7825770148bada5a4c54899e4ed36 (diff) |
Make C-I serialization work with current netconf rules
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: If967e5e1f268c5bee3ad4496847662cf4de1187c
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/api/urls.py')
-rw-r--r-- | src/api/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/api/urls.py b/src/api/urls.py index e5ddd97..970ecf2 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -46,7 +46,8 @@ from api.views import ( lab_user, GenerateTokenView, analytics_job, - resource_cidata, + resource_ci_metadata, + resource_ci_userdata, all_images, all_opsyss, single_image, @@ -68,7 +69,8 @@ urlpatterns = [ path('labs/<slug:lab_name>/booking/<int:booking_id>/idf', get_idf, name="get-idf"), path('labs/<slug:lab_name>/jobs/<int:job_id>', specific_job), path('labs/<slug:lab_name>/jobs/<int:job_id>/<slug:task_id>', specific_task), - path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>', resource_cidata), + path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>/user-data', resource_ci_userdata), + path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>/meta-data', resource_ci_metadata), path('labs/<slug:lab_name>/jobs/new', new_jobs), path('labs/<slug:lab_name>/jobs/current', current_jobs), path('labs/<slug:lab_name>/jobs/done', done_jobs), |