diff options
Diffstat (limited to 'ocata')
-rw-r--r-- | ocata/ocata/requests/urlsV1.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ocata/ocata/requests/urlsV1.py b/ocata/ocata/requests/urlsV1.py index 4a8134aa..80b0a7e9 100644 --- a/ocata/ocata/requests/urlsV1.py +++ b/ocata/ocata/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_-]+))?', |