aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
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 50cc6ac..d18a04d 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -39,6 +39,8 @@ from api.views import (
new_jobs,
current_jobs,
done_jobs,
+ update_host_bmc,
+ lab_host,
GenerateTokenView
)
@@ -51,6 +53,8 @@ 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),
path('labs/<slug:lab_name>/jobs/new', new_jobs),