aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-05-08 17:00:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-08 17:00:01 +0000
commit48cff65180d0584bdd0f60a4226bd36511f36161 (patch)
tree47e303a8898f60c1fc5e4f01ce430cf2a97d9316 /src/api/urls.py
parent19350b192914a2bfadac81f9885d6be236d58346 (diff)
parent3d078d2df3fac997c783435ba07e7710d087fd4b (diff)
Merge "Adds pdf and idf into api"
Diffstat (limited to 'src/api/urls.py')
-rw-r--r--src/api/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index d18a04d..d1f772a 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -41,6 +41,8 @@ from api.views import (
done_jobs,
update_host_bmc,
lab_host,
+ get_pdf,
+ get_idf,
GenerateTokenView
)
@@ -55,6 +57,8 @@ urlpatterns = [
path('labs/<slug:lab_name>/inventory', lab_inventory),
path('labs/<slug:lab_name>/hosts/<slug:host_id>', lab_host),
path('labs/<slug:lab_name>/hosts/<slug:host_id>/bmc', update_host_bmc),
+ path('labs/<slug:lab_name>/booking/<slug:booking_id>/pdf', get_pdf, name="get-pdf"),
+ path('labs/<slug:lab_name>/booking/<slug: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/new', new_jobs),