summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-27 13:03:12 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 13:03:12 +0000
commit35d5baeeea5621c53471c9b8846129bad5f61bd4 (patch)
treed9f1656d394d9e9e0e2b2265c63906115a904ca3
parentc100634e39ff6fb99f77697e4ab45d04792e9235 (diff)
parentc7fd33a7a7a7287986f0236226dc5a5485abfbc5 (diff)
Merge "Add server action for ocata APIv0" into casablanca
-rw-r--r--ocata/ocata/requests/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ocata/ocata/requests/urls.py b/ocata/ocata/requests/urls.py
index 435ff239..73cc1543 100644
--- a/ocata/ocata/requests/urls.py
+++ b/ocata/ocata/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_-]+))?',