Code Review
/
multicloud
/
openstack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
92adb71
)
Add server action for ocata APIv0
56/73356/3
author
Haibin Huang
<haibin.huang@intel.com>
Thu, 22 Nov 2018 08:50:11 +0000
(08:50 +0000)
committer
Haibin Huang
<haibin.huang@intel.com>
Thu, 22 Nov 2018 11:23:24 +0000
(11:23 +0000)
Change-Id: Iec73bd961e41ce8d8bb01c32cbb1786cb6d25516
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
ocata/ocata/requests/urls.py
patch
|
blob
|
history
diff --git
a/ocata/ocata/requests/urls.py
b/ocata/ocata/requests/urls.py
index
435ff23
..
73cc154
100644
(file)
--- 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_-]+))?',