summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-27 13:03:28 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 13:03:28 +0000
commitadab0a38879e8f6d5d85f986a6c9008c548be69a (patch)
tree15b618215583e8346b5eba2773518025335183ef /pike
parent35d5baeeea5621c53471c9b8846129bad5f61bd4 (diff)
parentf0495c94b869426286a864a6ffc0b221ce71a092 (diff)
Merge "Add server action for pike APIv0" into casablanca
Diffstat (limited to 'pike')
-rw-r--r--pike/pike/requests/urls.py2
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_-]+))?',