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>
This commit is contained in:
Stephen Finucane
2020-09-01 09:53:10 +01:00
parent 30067be9bd
commit 68bc87876f
17 changed files with 28 additions and 136 deletions
+8 -5
View File
@@ -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
-------