summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/requests
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2018-11-22 05:06:22 +0000
committerHuang Haibin <haibin.huang@intel.com>2018-11-27 10:45:45 +0000
commit5d3805e522e682b2708f7c82e38a8b9c91c35069 (patch)
treedae337fc8ad8bd0d2722dc017f083c9f9e4537b8 /windriver/titanium_cloud/requests
parent69c7fffdcc22bc47a84775a7214b0495efa04baf (diff)
Add reboot guest APIv0 for windriver
Change-Id: Iea88d66468d10364e05072e206bbe60c7e726e5f Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit 64a90dfd2ebf1c415aaa921b3cff06e3c528858b)
Diffstat (limited to 'windriver/titanium_cloud/requests')
-rw-r--r--windriver/titanium_cloud/requests/urls.py2
1 files changed, 2 insertions, 0 deletions
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<serverid>[0-9a-zA-Z_-]+))?',
server.Servers.as_view()),
+ url(r'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))/action/?$',
+ server.ServerAction.as_view()),
url(r'^ports(/(?P<portid>[0-9a-zA-Z_-]+))?',
vport.Vports.as_view()),
url(r'^flavors(/(?P<flavorid>[0-9a-zA-Z_-]+))?',