From 92adb71a0a18a7c3355fe915832ae67f2a8ee457 Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Thu, 22 Nov 2018 08:42:50 +0000 Subject: Add server action for pike APIv0 Change-Id: I8fdd72ea44eca98b639187d4e6588f67d9f5dc67 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang --- pike/pike/requests/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pike') 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[0-9a-zA-Z_-]+))?', volume.Volumes.as_view()), + url(r'^servers(/(?P[0-9a-zA-Z_-]+))/action/?$', + server.ServerAction.as_view()), url(r'^servers(/(?P[0-9a-zA-Z_-]+))?', server.Servers.as_view()), url(r'^ports(/(?P[0-9a-zA-Z_-]+))?', -- cgit 1.2.3-korg