diff options
author | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 08:11:52 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2018-11-27 13:01:27 +0000 |
commit | 873fce1e9b0cb3267275bb55da87873e239097cb (patch) | |
tree | bd0daaab51d96c2914a806c0bffc0de54870d053 /windriver/titanium_cloud | |
parent | 42eeea287a9d4302629213ea38b483c0fbbf1201 (diff) |
Add server action for windriver APIv0
Change-Id: Ib6dca8c162644ba99ea04f5dd9c87ffde34bda8e
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
(cherry picked from commit b32eb9864c7fd9757dd0192af05af6e48699b42b)
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r-- | windriver/titanium_cloud/requests/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/requests/urls.py b/windriver/titanium_cloud/requests/urls.py index ff1a7fb2..73cc1543 100644 --- a/windriver/titanium_cloud/requests/urls.py +++ b/windriver/titanium_cloud/requests/urls.py @@ -34,10 +34,10 @@ urlpatterns = [ image.Images.as_view()), url(r'^volumes(/(?P<volumeid>[0-9a-zA-Z_-]+))?', 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'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))?', + server.Servers.as_view()), url(r'^ports(/(?P<portid>[0-9a-zA-Z_-]+))?', vport.Vports.as_view()), url(r'^flavors(/(?P<flavorid>[0-9a-zA-Z_-]+))?', |