File: auto-topology.inc

package info (click to toggle)
python-neutron-lib 3.18.2-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,652 kB
  • sloc: python: 22,800; sh: 145; makefile: 24
file content (69 lines) | stat: -rw-r--r-- 1,344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.. -*- rst -*-

=========================
Auto Allocated Topologies
=========================

Show details and delete the auto allocated topology for a given project.
This API is only available when the ``auto-allocated-topology`` extension
is enabled.


Show auto allocated topology details
====================================

.. rest_method::  GET /v2.0/auto-allocated-topology/{project_id}

Shows details for an auto allocated topology.

.. include:: filtering-show.inc

Normal response codes: 200

Error response codes: 401, 404

Request
-------

.. rest_parameters:: parameters.yaml

   - project_id: project_id-path
   - fields: fields

Response Parameters
-------------------

.. rest_parameters:: parameters.yaml

   - id: id_autotopology
   - tenant_id: project_id-autotopology

Response Example
----------------

.. literalinclude:: samples/auto-topology/topo-show-response.json
   :language: javascript


Delete the auto allocated topology
==================================

.. rest_method::  DELETE /v2.0/auto-allocated-topology/{project_id}

Deletes the auto allocated topology.

Normal response codes: 204

Error response codes: 401, 403, 404

Request
-------

.. rest_parameters:: parameters.yaml

   - project_id: project_id-path

Response
--------

There is no body content for the response of a successful DELETE request.