diff options
author | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 08:42:50 +0000 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 11:23:24 +0000 |
commit | 92adb71a0a18a7c3355fe915832ae67f2a8ee457 (patch) | |
tree | 820be23eee292a786b3add698fa94fc8aac2464a /pike | |
parent | b32eb9864c7fd9757dd0192af05af6e48699b42b (diff) |
Add server action for pike APIv0
Change-Id: I8fdd72ea44eca98b639187d4e6588f67d9f5dc67
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'pike')
-rw-r--r-- | pike/pike/requests/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pike/pike/requests/urls.py b/pike/pike/requests/urls.py index 2420c08d..64ec70db 100644 --- a/pike/pike/requests/urls.py +++ b/pike/pike/requests/urls.py @@ -34,6 +34,8 @@ 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_-]+))/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_-]+))?', |