From 5d3805e522e682b2708f7c82e38a8b9c91c35069 Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Thu, 22 Nov 2018 05:06:22 +0000 Subject: Add reboot guest APIv0 for windriver Change-Id: Iea88d66468d10364e05072e206bbe60c7e726e5f Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang (cherry picked from commit 64a90dfd2ebf1c415aaa921b3cff06e3c528858b) --- windriver/titanium_cloud/requests/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'windriver/titanium_cloud/requests') diff --git a/windriver/titanium_cloud/requests/urls.py b/windriver/titanium_cloud/requests/urls.py index 435ff239..ff1a7fb2 100644 --- a/windriver/titanium_cloud/requests/urls.py +++ b/windriver/titanium_cloud/requests/urls.py @@ -36,6 +36,8 @@ urlpatterns = [ volume.Volumes.as_view()), url(r'^servers(/(?P[0-9a-zA-Z_-]+))?', server.Servers.as_view()), + url(r'^servers(/(?P[0-9a-zA-Z_-]+))/action/?$', + server.ServerAction.as_view()), url(r'^ports(/(?P[0-9a-zA-Z_-]+))?', vport.Vports.as_view()), url(r'^flavors(/(?P[0-9a-zA-Z_-]+))?', -- cgit 1.2.3-korg