diff options
author | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 08:40:06 +0000 |
---|---|---|
committer | Huang Haibin <haibin.huang@intel.com> | 2018-11-27 10:50:34 +0000 |
commit | 0e7bdfd96bca38494ed86053812b9dabd53b2a80 (patch) | |
tree | 655be44597da49b6fdeb24cbf563b2ecc0643009 /windriver | |
parent | 69c7fffdcc22bc47a84775a7214b0495efa04baf (diff) |
Add server action for windriver APIv1
Change-Id: Iebab7cdf4b9e9190a32e3ce05aaca6fbb4901b76
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
(cherry picked from commit e6815a7940c20c14ca670e5393b296d3b3dce888)
Diffstat (limited to 'windriver')
-rw-r--r-- | windriver/titanium_cloud/requests/urlsV1.py | 2 |
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_-]+))?', |