summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-27 13:02:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 13:02:34 +0000
commit61a7ca12e82b229ce5dfad1be4c72ab7f1ebd0ae (patch)
tree77d7cc0e61d1fe9b0f9667037c9693b31cbd06e5 /pike
parent873fce1e9b0cb3267275bb55da87873e239097cb (diff)
parent7594904221ba67c2f296b08dc1c495b70fcf9d66 (diff)
Merge "Add server action for pike APIv1" into casablanca
Diffstat (limited to 'pike')
-rw-r--r--pike/pike/requests/urlsV1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pike/pike/requests/urlsV1.py b/pike/pike/requests/urlsV1.py
index 4a8134aa..80b0a7e9 100644
--- a/pike/pike/requests/urlsV1.py
+++ b/pike/pike/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_-]+))?',