diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-12 10:28:48 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-12 10:28:48 -0400 |
commit | 3fa0f3c171c0b2eb83f05f29e61596ac0f488831 (patch) | |
tree | 4ad8f51e27bf0254a01aa3e694fb04cd471c0133 /dashboard/src/api/urls.py | |
parent | 2f9786ec78b1fd6181405bb9938ab90767838e37 (diff) |
Allow labs to retirieve and update some host information in the api
Change-Id: Ib0682141351f7789c50d98a992ab166c2f033f4b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/api/urls.py')
-rw-r--r-- | dashboard/src/api/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/src/api/urls.py b/dashboard/src/api/urls.py index 33a8289..d18a04d 100644 --- a/dashboard/src/api/urls.py +++ b/dashboard/src/api/urls.py @@ -40,6 +40,7 @@ from api.views import ( current_jobs, done_jobs, update_host_bmc, + lab_host, GenerateTokenView ) @@ -52,6 +53,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>', lab_host), 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), |