summaryrefslogtreecommitdiffstats
path: root/newton
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-27 13:02:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 13:02:57 +0000
commitc100634e39ff6fb99f77697e4ab45d04792e9235 (patch)
treef029df6386eebd027c204d9ae83b200e28e0b47b /newton
parentfcd2cd57996309178298177f35e94eba042ca172 (diff)
parent77d016310c6ec9e55bcdd89333b00408e7f75b34 (diff)
Merge "Add server action for newton API" into casablanca
Diffstat (limited to 'newton')
-rw-r--r--newton/newton/requests/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/newton/newton/requests/urls.py b/newton/newton/requests/urls.py
index ff1a7fb2..c6c9f5ed 100644
--- a/newton/newton/requests/urls.py
+++ b/newton/newton/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'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))/action/?$',