summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-09-01 09:53:10 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-11-23 15:55:50 +0000
commit68bc87876f6479fe49b6a13a4c032eefe0ff016f (patch)
tree58c22c0a2768dc0fe59d377632e187a8c8c7c243 /api-ref
parent30067be9bd77d5cb84d38931b1a9a128db6230a6 (diff)
downloadnova-68bc87876f6479fe49b6a13a4c032eefe0ff016f.tar.gz
virt: Remove 'reset_network' API
This one is tied into an admin action in the server actions API, which means we must remove that API action also. Otherwise, this isn't too crazy. Change-Id: I58343b94b67915062d044fa0f53aeab01b77738f Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/servers-admin-action.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/api-ref/source/servers-admin-action.inc b/api-ref/source/servers-admin-action.inc
index bc3f898caa..03a40d38ce 100644
--- a/api-ref/source/servers-admin-action.inc
+++ b/api-ref/source/servers-admin-action.inc
@@ -170,16 +170,19 @@ Response
If successful, this method does not return content in the response body.
-Reset Networking On A Server (resetNetwork Action)
-==================================================
+Reset Networking On A Server (resetNetwork Action) (DEPRECATED)
+===============================================================
.. rest_method:: POST /servers/{server_id}/action
Resets networking on a server.
-.. note::
+.. warning::
- No longer supported by any in-tree virt driver.
+ This action was only supported by the XenAPI virt driver, which was
+ deprecated in the 20.0.0 (Train) release and removed in the 22.0.0
+ (Victoria) release. This action should be avoided in new applications. It
+ was removed in the 23.0.0 (Wallaby) release.
Specify the ``resetNetwork`` action in the request body.
@@ -190,7 +193,7 @@ through the ``policy.json`` file.
Normal response codes: 202
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404),
-conflict(409)
+conflict(409), gone(410)
Request
-------