summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api/urls.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-02-27 11:52:21 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-02-27 11:52:21 -0500
commitd83ca3f27dda6c5bf1f1475ab66a676f60a19a11 (patch)
tree887b3e58189a78074138968c3865aac9b87e9fcb /dashboard/src/api/urls.py
parent06cc79f770b40e9d0d7a5e9872f176c7f93971e7 (diff)
Update IPMI handling
provides a way for the lab to report IPMI info to the dashboard. Necessary to allow the dashboard to fully generate a PDF for OPNFV deploy Change-Id: Ieef7a93e28b155ee90f3ffd3cfeedace332a6641 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/api/urls.py')
-rw-r--r--dashboard/src/api/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/src/api/urls.py b/dashboard/src/api/urls.py
index 50cc6ac..33a8289 100644
--- a/dashboard/src/api/urls.py
+++ b/dashboard/src/api/urls.py
@@ -39,6 +39,7 @@ from api.views import (
new_jobs,
current_jobs,
done_jobs,
+ update_host_bmc,
GenerateTokenView
)
@@ -51,6 +52,7 @@ urlpatterns = [
path('labs/<slug:lab_name>/profile', lab_profile),
path('labs/<slug:lab_name>/status', lab_status),
path('labs/<slug:lab_name>/inventory', lab_inventory),
+ path('labs/<slug:lab_name>/hosts/<slug:host_id>/bmc', update_host_bmc),
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),