15 Commits

Author SHA1 Message Date
Jens Harbott
56e0979fdd Add 'dns_publish_fixed_ip' attribute to Subnet
Add a new attribute ``dns_publish_fixed_ip`` into ``subnet``
resource. This attribute will be used to indicate whether to publish DNS
records for fixed IPs from this subnet.

Neutron patch: https://review.opendev.org/662409

Thanks go to [0] which I took as a reference to create this patch.

[0] I1371fc0b47c0015423e4346ffd43d39c8264b1a3

Change-Id: I08ef19fcc06559c92ae3f8e6e66c5fd896815232
Partial-Bug: 1784879
2019-06-14 09:26:27 +00:00
Ryan Tidwell
a6438f4279 Introduce subnet pool prefix operations extension
This introduces a new extension that provides API's that enable
operations against the prefix list of a subnet pool to be more
explicit. In its current form, the subnetpool extension does not
clearly define how operations on the prefix list of a subnet pool
are to be performed and leaves unnecessary ambiguity to be handled
by implementers of the extension. This extension makes prefix
management for subnet pools explicit operations, while making support
for this discoverable for clients.

Change-Id: Ia84d767f582f28a2fc77799a58f6729a7fd42f34
Related-Bug: #1792901
2019-02-27 17:53:51 +00:00
Michal Kelner Mishali
65da70c5d6 Adding tags to responses for relevant resources
Adding tag to responses for resources that support
standard attributes.

Closes-bug: #1748982

Change-Id: Ie72edd710c420bed3f0c1bf6dce307fb09e4e8ba
Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
2018-05-06 10:27:40 +03:00
Hongbin Lu
e4d3946e9a Add timestamp attributes to standard resources
Add 'created_at' and 'updated_at' attributes to subnet, subnetpool,
ports, router, security group/rule, qos policy, and log if missing.

Change-Id: Ib8254e432b26033e679bf75379f1001c5984500b
2018-04-27 21:23:46 +00:00
Michal Kelner Mishali
2982196e5e Document subnet_service_types extension in api-ref
Adding sub-section for the extension, request params and
json response

Closes-Bug: 1733396

Change-Id: I71e9add5a25129559aeda03027140d25cb934d84
Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
2018-01-30 11:53:16 +02:00
Boden R
41212a5311 complete api ref for std attr revisions
This patch completes the api ref for standard attribute based revision
numbers by:
- Updating applicable resource JSON responses to include
revision_number.
- Documents the revision_number response param where missing.
- Adds a section in the intro about revisions as well as conditional
HTTP based operations using If-Match header.
- Standardizes the revision_number response param; doesn't seem
necessary for each resource to have it's own.

Change-Id: Ib9a19126c35f89bc9c2ad891a7339702a406e2d5
Partial-Bug: #1703234
2017-08-30 16:06:23 -06:00
Hirofumi Ichihara
7050f29501 api-ref: Fix using examples of API
Some example files are lost the link or duplicated.
This patch makes example files clear.

Change-Id: Iefe4009b39b2b58b26177e0ce03f87d04e0594bd
2017-02-24 10:22:30 -05:00
Boden R
3a3a7163ee api-ref: add description to subnets
Adds the description request/response parameter as
applicable to core resources (see defect). In addition
this patch standardizes the description request/response
parameter as it doesn't seem worthy to define it uniquely
for each resource type.

Change-Id: I430e3ae1f5db3b0029dbe04c7b392298b07513a0
Partial-Bug: #1553653
2017-02-02 08:42:30 -07:00
Jenkins
3a71621542 Merge "api-ref: Fix api-ref for subnets" 2016-11-18 23:58:40 +00:00
Jenkins
d870cfbe3f Merge "api-ref: Fix api-ref for subnetpools" 2016-11-18 23:52:58 +00:00
Nakul Dahiwade
113af41f80 api-ref: Fix api-ref for subnetpools
Added/cleaned request/response parameters for subnetpools rest_methods:

GET /v2.0/subnetpools
GET /v2.0/subnetpools/{subnetpool_id}
PUT /v2.0/subnetpools/{subnetpool_id}
POST /v2.0/subnetpools
DELETE /v2.0/subnetpools/{subnetpool_id}

Change-Id: I03234589b7fb9f0b5b5784ea2419bc380d85e5aa
Partially-Implements: blueprint neutron-in-tree-api-ref
2016-11-15 16:34:33 +00:00
Anindita Das
10907011b7 api-ref: Fix api-ref for subnets
Added request/response parameters for the rest_method::
   GET /v2.0/subnets
   POST /v2.0/subnets (Create Subnet)
   POST /v2.0/subnets (Bulk Create Subnet)
   GET /v2.0/subnets/{subnet_id} (Show Subnet Details)
   PUT /v2.0/subnets/{subnet_id} (Update Subnet)
   DELETE /v2.0/subnets/{subnet_id} (Delete Subnet)

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I7cfba70c6805161ee9e26135fe08f5075e94d755
Partially-Implements: blueprint neutron-in-tree-api-ref
Partial-Bug: #1613151
2016-11-01 15:38:12 +00:00
Carl Baldwin
0c3959d345 Add segments to v2 API reference
Change-Id: I0133323412eac1e0ec5a00d4eb018836ce67c88c
Partially-Implements: blueprint routed-networks
2016-10-13 05:14:11 +00:00
Henry Gessau
429e5c2c95 api-ref: Update to current state of Keystone V3 support
Use 'project' instead of 'tenant' in descriptions.

Accept either 'tenant_id' or 'project_id' in requests.
Return both 'tenant_id' or 'project_id' in responses.

Related Blueprint: keystone-v3

Change-Id: I606f7399dfb824ba08922470f6e46b0a150af33b
2016-10-06 22:05:43 -04:00
Akihiro Motoki
e3cb5a4129 api-ref: Move sample JSON files under v2 directory
Previously sample JSON files are placed in the top directory
of api-ref, but they belong to v2 API, so it sounds reasonable
to place them in v2 directory.

Preparation of API-ref cleanup.

Part of blueprint neutron-in-tree-api-ref

Change-Id: I7c63f570507c51526957988f9b21a4244bd6e58a
2016-08-04 10:33:10 +09:00