diff options
author | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 05:06:22 +0000 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 05:06:22 +0000 |
commit | 64a90dfd2ebf1c415aaa921b3cff06e3c528858b (patch) | |
tree | 9da4530b29b42eabd1f79b27b4d6c8d97e127e40 /windriver/titanium_cloud | |
parent | 0a7c7e111f471d3c6b81ce00f5e968741897d8d5 (diff) |
Add reboot guest APIv0 for windriver
Change-Id: Iea88d66468d10364e05072e206bbe60c7e726e5f
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r-- | windriver/titanium_cloud/requests/urls.py | 2 |
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_-]+))?', |