diff options
-rw-r--r-- | ocata/ocata/requests/urls.py | 2 |
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_-]+))?', |