aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitc04dcca919cc89d04daa73d570a42134829a91d8 (patch)
treeb9f64047a03f0efbfa56bafec334afedf137cfb9 /src/api/urls.py
parente858a658aa9594949ec3b357253b34c7489d623d (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 'src/api/urls.py')
-rw-r--r--src/api/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index 50cc6ac..33a8289 100644
--- a/src/api/urls.py
+++ b/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),