diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-04 08:32:13 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-04 08:32:13 +0800 |
commit | 0491327f8dcd808402669c3d8f32a5a0f879db45 (patch) | |
tree | 4772dc63dbc2964132d8b98c15daeeb9642db48b /windriver/titanium_cloud/requests/urls.py | |
parent | 8a67ca0851e4af20791c74d7f6595f631f7130b4 (diff) |
Add os-interface api for server
Change-Id: Ia9f98d3ba841dd70d0969334d86dbbd3a0f6ac0e
Issue-ID: MULTICLOUD-565
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'windriver/titanium_cloud/requests/urls.py')
-rw-r--r-- | windriver/titanium_cloud/requests/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/windriver/titanium_cloud/requests/urls.py b/windriver/titanium_cloud/requests/urls.py index 73cc1543..bfba9c73 100644 --- a/windriver/titanium_cloud/requests/urls.py +++ b/windriver/titanium_cloud/requests/urls.py @@ -36,6 +36,10 @@ urlpatterns = [ 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_-]+))/os-interface/?$', + server.ServerOsInterface.as_view()), + url(r'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))/os-interface(/(?P<portid>[0-9a-zA-Z_-]+))?', + server.ServerOsInterfacePort.as_view()), url(r'^servers(/(?P<serverid>[0-9a-zA-Z_-]+))?', server.Servers.as_view()), url(r'^ports(/(?P<portid>[0-9a-zA-Z_-]+))?', |