Commit Graph

404 Commits

Author SHA1 Message Date
Igor Malinovskiy
ae5eb24c78 Introduce rbac-subnetpool api extension
This extension makes it possible to add subnetpools to RBAC policies.

Change-Id: I1238430c40fe7132bad4eea573a638c0c47a5e78
Depends-On: https://review.openstack.org/707407
Partial-Bug: #1862032
2020-02-25 18:11:55 +02:00
Igor Malinovskiy
1dfa07ccfd Introduce rbac-address-scope api extension
This extension makes it possible to add address scope to RBAC policies.

Change-Id: I9c77a53cf8d91d27ce1aaebfa12c31f2ae823006
Partial-Bug: #1862968
2020-02-25 18:07:31 +02:00
Slawek Kaplonski
fe653c2047 [Api-Ref][Docs] Change dns_assignment parameter to be list
In api-ref dns_assignment parameter was listed as dict but in fact it
is list of dicts.
This patch fixes api-ref to reflect what is actually in neutron's code.

Change-Id: I898633cd360cd9619f5e9a87acb718e01e99b647
Closes-Bug: #1861027
2020-01-28 10:40:09 +01:00
Zuul
7aa33c425b Merge "Add "qos_network_policy_id" field to "port" definition" 2019-12-11 19:35:33 +00:00
Rodolfo Alonso Hernandez
c5cb36903f Add "qos_network_policy_id" field to "port" definition
DocImpact

Change-Id: Ic1d555ef957124c866a2baf788564b3c200583eb
Related-Bug: #1851362
2019-12-09 16:37:54 +00:00
Zuul
3b5413fbc4 Merge "Add description field in port forwarding API" 2019-12-05 00:22:59 +00:00
Aditya Reddy Nagaram
f470973446 add "stateful-security-group" api extension
commit adds "stateful-security-group" API extension to
neutron-lib for implementing stateless security groups.

Needed-By: https://review.opendev.org/572767

Partial-Bug: #1753466

Change-Id: I72addb21b7515d7120768c91e02660258959373e
2019-11-29 11:01:00 +01:00
pedro
a37378e8d5 Add description field in port forwarding API
Problem Description
===================

As users create and update theirs floating ip rules, the reason
behind those rules might get lost throughout time. Moreover, in
an environment with many people writing rules, it is important
to track down the reason behind each one of the rules
created/added in a floating IP port forwarding configuration.
The addition of a description field would allow operators to
determine the reason why a rule was created and help the users
to know if the existence of a rule is still reasonable.

Proposed Change
===============

To address the described scenario, we propose to create a new
“description” field in the Neutron’s Floating IP port forwarding
rules API JSON. This new field will be a nullable String
containing the description/reason why this new port forwarding
rule is being created.

Change-Id: If98a70011b187d2143a660f1f281ab197d21eb4d
Implements: blueprint portforwarding-description
Closes-Bug: #1850818
2019-11-27 08:47:58 -03:00
Zuul
85205e9f08 Merge "Remove 'interconnection' API extension definition (neutron-interconnection)" 2019-11-26 09:44:17 +00:00
Slawek Kaplonski
1fc1f0eae4 Remove 'interconnection' API extension definition (neutron-interconnection)
Neutron-interconnection project has no activity since very long time.
There is no any implementation done in the repo so far.
So during the Shanghai PTG, we agreed that we will drop
neutron-inteconnection project from stadium projects list and
remove its api-ref from neutron-lib.

This partially reverts commit 888a28d598.
It don't rever original release note and adds new release note about
removal of interconnection API from neutron-lib.

Change-Id: I186a8f42e1d387bfb31025b0c5c224a86d00cd6e
2019-11-21 21:36:10 +00:00
zhanghao
9f56e984c3 Remove fwaas_v1 exceptions and definitions
There are still fwaas_v1 exceptions and definitions in
neutron-lib, it is necessary to remove them because the
fwaas_v1 code has been removed in the Stein cycle[1] and
the related extensions will be removed.

[1] https://review.opendev.org/#/c/616410/
Depends-On: https://review.opendev.org/#/c/692094/
Change-Id: Ibfc6dab327c9df59222cda3e6a1f5dc566aa1bde
Closes-bug: #1850602
2019-11-04 08:57:53 -05:00
Slawek Kaplonski
af5e2aa7dc Fix rendering of api-ref main page
Due to missing empty lines in LBaaS v2 section on main
page of Neutron's api-ref it was rendered incorrectly and
sections which are after LBaaS section on this page were not
rendered properly too.

This patch fixes this issue.

TrivialFix

Change-Id: I429a00fc4f0f6614f0addc576262622aa2c415f5
Closes-Bug: #1848023
2019-10-14 22:45:03 +02:00
Michael Johnson
06ae464a4d Remove Neutron LBaaS
Neutron-LBaaS has now been retired and there will be no Train
release[1]. This patch removes the neutron-lbaas API reference and
various other references to Neutron-LBaaS from neutron-lib.

[1] https://review.opendev.org/658494

Depends-On: https://review.opendev.org/665838
Related-Bug: #1833125
Change-Id: I0200abba2bca07a610839ba4fa8e2d9f2fa82218
2019-09-13 16:08:08 +00:00
Bence Romsics
104627a933 New api-def: extraroute-atomic
Change-Id: Ib0338bb00652fb6a03c50f204ce8f19cf4d38352
Partial-Bug: #1826396 (rfe)
Related-Change: https://review.opendev.org/655680 (spec)
2019-08-09 13:24:22 +02:00
Andreas Jaeger
d27313f425 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Ia756506e25d7b74030f55d1032b5cb71f5e1925b
2019-07-30 19:41:11 +02:00
chenxing
aaae83acaa Mention that list of e.g. IDs is supported in GET requests
Change-Id: Ia275a8068aad110ff4225d6ac2cbdfa1a877b3e5
Closes-Bug: #1837553
2019-07-29 15:30:32 +08:00
Andreas Jaeger
60ca196817 Update api-ref location / version
The api-ref now lives on docs.openstack.org, update links to it.

Also, remove version number from published document.

Change-Id: I173973d8c62d2d0169697aa3329c36de3b2d5a41
2019-07-22 16:36:32 +02:00
Zuul
7778e3118b Merge "Add shim extension admin_state_down_before_update" 2019-07-10 15:35:16 +00:00
Matt Welch
adc6a7087f Add shim extension admin_state_down_before_update
Shim extension for neutron patch:
https://review.openstack.org/#/c/625134/
Adds releasenote.
Adds api-ref update.

Related-Bug: #1811166

Change-Id: Ie1167a9c7fc5dcb88a6955085937572805e41fd7
Signed-off-by: Matt Welch <matt.welch@intel.com>
2019-07-08 09:34:07 +00:00
Zuul
053a847f33 Merge "Add 'dns_publish_fixed_ip' attribute to Subnet" 2019-06-14 13:30:42 +00:00
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
Slawek Kaplonski
c9773782c3 [api-ref] Update info about internal_ip_address in FIP port forwarding
Parameter "internal_ip_address" used in floating IP port forwarding
was wrongly marked as optional as in api definition it is required.
This patch updates api-ref description to be matched with current
definition in the code.

Change-Id: Ib42bed3c5b293c207a8a81f24bd5016f168706fe
Closes-Bug: #1830554
2019-05-30 15:07:39 +02:00
Slawek Kaplonski
e02c4b214b [api-ref] Add short warning about ANY IP address in allowed address pair
Change-Id: Ie3ed5ea81e0df50a699174fef95eb32337ed5682
Closes-Bug: #1793029
2019-05-29 15:46:01 +00:00
zhulingjie
975d6641f4 Update hacking version
Change-Id: I0f018fe963256658682676fcd86520ceae590c75
2019-04-23 01:13:21 +00:00
Zuul
954e9f5bfc Merge "L3 Conntrack Helper Extension" 2019-04-21 19:39:14 +00:00
Kailun Qin
8fe6e3c56f Remove "tags" listed in Create port POST api-ref
Attribute 'tags' is not allowed in POST. This patch fixes the issue in
Create port POST api-ref where "tags" is listed. No other resource
api-ref is impacted.

Closes-bug: #1815600
Change-Id: I77232b9eadf628805e162c66f270548a38725078
2019-04-19 00:15:56 +08:00
Harald Jensås
c6b907a2cf L3 Conntrack Helper Extension
Introduces a new API extension exposing conntrack_helpers
field in Router response. The extension requires the
``router`` and ``conntrack_helper`` service plugin.

Related-Bug: #1823633
Change-Id: I55d659c47f3e9a65af78509fbd63416373a501f3
2019-04-11 03:19:21 +02:00
zhangmeng
e750b94395 Fix a typo.
Change-Id: I6d1ef08b1499f05914f1b9514ec720a2c8a32a00
2019-03-26 20:33:44 +08:00
Kailun Qin
e13f082632 standard-attr for network-segment-range api-ref
Adds standard attributes with tagging support to the API definition and
samples of network-segment-range extension.

Co-authored-by: Allain Legacy <Allain.legacy@windriver.com>

Partially-implements: blueprint network-segment-range-management
Change-Id: I18679b4f7d2c65abd5106f256eff4a1b481d239d
2019-03-16 10:59:14 +08:00
Hongbin Lu
4cb9ccef4d api-ref: remove 'external_network_bridge' from agent
After the neutron server removes this option [1], it will be removed
from the response of agent endpoint.

[1] https://review.openstack.org/#/c/567369/

Depends-On: I07474713206c218710544ad98c08caaa37dbf53a
Change-Id: I2ca0ef560484dff384b3a3b477456c9fe4352b8b
2019-03-13 16:04:03 +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
Zuul
5d53db6d56 Merge "Add security-group as parameter to RBAC api" 2019-02-23 10:27:15 +00:00
ythomas1
888a28d598 'interconnection' API extension definition (neutron-interconnection)
Adds definition for 'interconnection' API extension for
neutron-interconnection project.

This patch partially implements the following spec:
https://specs.openstack.org/openstack/neutron-specs/specs/rocky/neutron-inter.html

Signed-off-by: Thomas Morin <thomas.morin@orange.com>
Submitted on behalf of a third-party: Orange

Change-Id: I7c16ffb21f88de88ab80a19d91b898be53419514
2019-02-22 10:29:13 +01:00
Doug Wiegley
c0a6d727c8
Add security-group as parameter to RBAC api
Partial-Bug: #1817119
Change-Id: I88fe8d3fd5ed6a2dafe3602182d595b8875bb15b
2019-02-21 11:21:13 -07:00
Bence Romsics
461be56076 Delete floating IPs on network turned internal
The neutron-lib part of this change: https://review.openstack.org/624751

This change introduces a new shim extension
(floatingip-autodelete-internal) to signal a change in API behavior
introduced by the fix of a bug referred below. That is now we autodelete
unused floating IPs when changing a network to router:external=False.

It also documents the API change.

Change-Id: I247106e95abb5d6822aa35ae793531a1d79edbd4
Needed-By: https://review.openstack.org/624751
Partial-Bug: #1806032
2019-02-01 14:40:59 +01:00
Bence Romsics
5dcccd2c66 New agent attribute: resources_synced
Agents supporting the guaranteed minimum bandwidth feature need to share
their resource view with neutron-server and in turn with Placement too.
The resource information is synchronized to neutron-server via the
periodic agent heartbeat therefore transient synchronization errors are
fixed by the next heartbeat. But synchronization to Placement is not
done periodically, but on a (mostly) on demand basis. Therefore to fix
transient errors of the synchronization to Placement we must remember
the success/failure of the last synchronization attempt.

This change introduces a new boolean agent attribute: resources_synced

This attribute is:
* admin-only (just like the whole agent extension)
* read-only (it is only updated by the internal synchronization process)

If this attribute is not set then no synchronization to Placement ever
happened (which is the natural state of agents not tracking their
resources via Placement).

If it is False, then another successful synchronization is needed before
the contents of Placement can be considered up to date.

If it is True, then this agent's resources are up to date in Placement.

Change-Id: Ia3dea82fabe5e068192fbe931db8d341d3d37149
Needed-By: https://review.openstack.org/630999
Partial-Bug: #1578989
See-Also: https://review.openstack.org/502306 (nova spec)
See-Also: https://review.openstack.org/508149 (neutron spec)
2019-01-23 16:27:47 +01:00
Zuul
98764984c9 Merge "Add smartnic port type to VNIC_TYPES" 2019-01-16 22:59:06 +00:00
Hamdy Khader
f3f220ed62 Add smartnic port type to VNIC_TYPES
Neutron OVS ML2 mechanism driver will allow binding the `smart-nic`
vnic_type. The rationale for creating new vnic_type and not using the
barmetal one is that there is a wide range of mechanism drivers that
use heirachical port binding for configuring TOR switches and we want
to allow this to work with smart NICs.

Story: #2003346
Change-Id: I91f63810626ce4e054e358f5de5e46434c4da131
2019-01-15 10:02:09 +02:00
Zuul
d6b8f61f75 Merge "api-ref: document network-segment-range extension" 2019-01-09 10:58:50 +00:00
Kailun Qin
4398fd5bf6 api-ref: document network-segment-range extension
API definition of network-segment-range extension in neutron-lib:
* https://review.openstack.org/626500

Co-authored-by: Allain Legacy <Allain.legacy@windriver.com>

Partially-implements: blueprint network-segment-range-management
Change-Id: I36bca4b1067abcc7db7c94dd36a6a4da62a6aab1
2019-01-09 06:33:37 +08:00
lijunjie
3ef70e81a1 Fix the misspelling of "interface"
Change-Id: Ib807ec19e02adb2d2199092e2251ddfe4b46441d
2019-01-07 11:06:41 +08:00
Hongbin Lu
100f842cdf api-ref: document uplink status propagation
Neutron patch: https://review.openstack.org/#/c/571899/

Change-Id: I07bd7fa2b048280a5a441533d780a8ede790a834
Related-Bug: #1722720
2018-12-10 23:47:58 +00:00
Miguel Lavalle
ab284169b2 Fix QoS alias api definition
Change [1] wrongly attempted to re-define bandwidth_limit_rules,
dscp_marking_rules and minimum_bandwidth_rules as first level API
resources, leading to conflicts in the QoS API. We now define
alias_bandwidth_limit_rules, alias_dscp_marking_rules and
alias_minimum_bandwidth_rules that will enable users to perform GET,
PUT and DELETE operations on the corresponding QoS rules without having
to specify the associated policy ID.

[1] I5366dfee9b760ff5c884981582cdd17245b4d16f

Change-Id: I978668ee073c26d6e05ea5e5a0a4e16a7e513fa1
Partial-Bug: #1777627
2018-11-28 21:47:01 -06:00
Zuul
8e1d8bb2c5 Merge "Adapt to changed resource class names" 2018-11-15 15:06:41 +00:00
Zuul
cfd9153dbf Merge "api-ref: document floating ip pools endpoint" 2018-11-08 17:30:28 +00:00
Bence Romsics
b2ad10386b Adapt to changed resource class names
Before the final merge of the minimum bandwidth resource classes
they got renamed in Nova and Placement. So we have to adapt.

The previous names were never released or used in any other way
outside of WIP patches, so there's no upgrade impact.

Change-Id: Ib81d3a6b312ab7d63df9b5dc97c20d32c3fb214c
Partial-Bug: #1578989
See-Also: I996bf705b14b564106426a2e57299638fb178750
See-Also: https://review.openstack.org/502306 (nova spec)
See-Also: https://review.openstack.org/508149 (neutron spec)
2018-11-07 14:15:07 +01:00
Zuul
a39205075a Merge "Allow advsvc role to create port in foreign tenant" 2018-10-22 22:22:35 +00:00
Maciej Józefczyk
00147a7d70 Allow advsvc role to create port in foreign tenant
Change [1] introduced support for advsvc role. This added
possibility for user with role advsvc to make CRUD operations
on ports, subnets and networks in foreign tenants.
Due the check in _validate_privileges() it was not working.
This patch fixes that.

Closes-Bug: #1796854

[1] https://review.openstack.org/#/c/101281

Change-Id: I6a3f91337bf8dd32012a75916e3409e30f46b50d
2018-10-22 08:21:39 +00:00
Miguel Lavalle
0c476067f6 Add api-ref for qos-rules-alias extension
Add api-ref for the qos-rules-alias extension.

Change-Id: I6d2d32f89e04a8ad83fae2a1183d572221881b90
Partial-Bug: #1777627
2018-10-19 16:35:29 -05:00
Zuul
0cea7b9deb Merge "Fix the mistake of lbaas api-ref" 2018-09-20 22:11:22 +00:00