summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/requests/urlsV1.py
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2018-11-22 08:40:06 +0000
committerHaibin Huang <haibin.huang@intel.com>2018-11-22 11:27:54 +0000
commite6815a7940c20c14ca670e5393b296d3b3dce888 (patch)
treedd74851f7befbe165ff910b00748fa891d9bed1f /windriver/titanium_cloud/requests/urlsV1.py
parent3c2647db5715ac56c08ca252aad37ad3fcd9c9b7 (diff)
Add server action for windriver APIv1
Change-Id: Iebab7cdf4b9e9190a32e3ce05aaca6fbb4901b76 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'windriver/titanium_cloud/requests/urlsV1.py')
-rw-r--r--windriver/titanium_cloud/requests/urlsV1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/windriver/titanium_cloud/requests/urlsV1.py b/windriver/titanium_cloud/requests/urlsV1.py
index f1552443..6e884ab1 100644
--- a/windriver/titanium_cloud/requests/urlsV1.py
+++ b/windriver/titanium_cloud/requests/urlsV1.py
@@ -34,6 +34,8 @@ urlpatterns = [
image.APIv1Images.as_view()),
url(r'^volumes(/(?P<volumeid>[0-9a-zA-Z_-]+))?',
volume.APIv1Volumes.as_view()),
+ url(r'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))/action/?$',
+ server.APIv1ServerAction.as_view()),
url(r'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))?',
server.APIv1Servers.as_view()),
url(r'^ports(/(?P<portid>[0-9a-zA-Z_-]+))?',