Commit Graph

653 Commits

Author SHA1 Message Date
OpenStack Release Bot b4cc4bb090 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I2f2b4e4eb87d05106561538e8ac9c538e268f8dc
2024-03-07 15:37:32 +00:00
Zuul 35fc7b98b1 Merge "reno: Update master for unmaintained/victoria" 2024-03-07 15:25:40 +00:00
Zuul 2be28d34b0 Merge "reno: Update master for unmaintained/wallaby" 2024-03-07 15:25:38 +00:00
OpenStack Release Bot 761ffd8001 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I383d259255073e24e4a2d1de61400c6b5522b987
2024-03-06 12:16:56 +00:00
OpenStack Release Bot 302b52a14b reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I3343df41c334e6894fad904509e7e285c5f9507e
2024-03-06 12:07:19 +00:00
OpenStack Release Bot e6d71d2c45 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I6f6a5f561914963dddb946a48489b14646d82e3b
2024-03-06 11:58:23 +00:00
Zuul d131b53403 Merge "Add extension "subnet-external-network"" 2024-02-23 16:26:12 +00:00
Artom Lifshitz 7eeb1b87ac Add "socket" NUMA affinity policy
The "socket" NUMA affinity policy has been supported in Nova since [1].

[1]https://review.opendev.org/c/openstack/nova/+/773792

Related-Bug: #2052786
Change-Id: Id84f3f5c83a1452875f2d7adf4611db319c240ce
2024-02-13 06:56:20 +00:00
Rodolfo Alonso Hernandez fc2f383dd6 Add extension "subnet-external-network"
This extension adds a new field to the "subnet" resource:
"router:external". This boolean field, that is False by default,
represents if the subnet belongs to an external network.

Related-Bug: #2051831
Change-Id: I75a9c30f1e8031d40a548df345b02fbe0bc47706
2024-02-09 09:24:38 +00:00
Zuul 35455d101b Merge "Replace CRLF by LF" 2024-02-08 17:09:48 +00:00
OpenStack Release Bot 9e4947c607 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I436088f5744eaa8b1119c0f261dc4f10d3d1cab4
2024-02-05 16:45:58 +00:00
Takashi Kajinami 122227e9e6 Replace CRLF by LF
... because LF is now commonly used as newline code.

Change-Id: I671bc10cb7cbe6e64e9ef96da859242631cc0eeb
2024-01-27 12:33:40 +09:00
elajkat 72442e0ba0 Tap mirror API def and API ref
Change-Id: Ifa1bf6abbf5d25769820b545d8d3bab195b146d3
Related-Bug: #2015471
2024-01-25 14:59:57 +01:00
Zuul 64c6937216 Merge "Add the "cancellable" flag to the ``CallbacksManager`` events" 2023-11-15 23:07:08 +00:00
Zuul 46987a9ce8 Merge "vpnaas: add support for more ciphers (auth, encryption, pfs modes)" 2023-11-13 20:24:26 +00:00
Bodo Petermann b7598dab47 vpnaas: add support for more ciphers (auth, encryption, pfs modes)
Encryption algorithms: add AES CCM mode and AES GCM mode variants
for 128/192/256 bit keys and 8/12/16 octet ICVs.
Auth algorithms: add aes-xcbc and aes-cmac.
PFS: add Diffie Hellman groups 15 to 31.

Related-Bug: #1938284
Change-Id: Iba86fe9a1bbf88223b57a45fb89349c6b1858015
2023-10-24 13:18:59 +02:00
Rodolfo Alonso Hernandez 08b8c6d33b Add the "cancellable" flag to the ``CallbacksManager`` events
The ``CallbacksManager`` class considers, by default, that the events
starting with "before_" and "precommit_" can raise an Exception
(``CallbackFailure``) in case that the callbacks associated to these
methods exit with an error.

However there are some other events (those started with "after_") that
won't generate an exception in case of error. The error will be logged
but the process will continue.

This new functionality adds the possibility of adding any kind of event
and mark is as "cancellable". The ``CallbacksManager`` instance will check
the errors returned by the callback methods and if any of them is marked
as "cancellable", the manager will raise a ``CallbackFailure`` exception,
terminating the process.

In case of being a Neutron worker, for example, the
``oslo_service.service.Services`` class will restart the process again.

Related-Bug: #2036607
Change-Id: Ie1e7be6d70cca957c1b1b6c15b402e8bc6523865
2023-09-12 04:32:26 +00:00
OpenStack Proposal Bot 1da71876b8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I08764d0494ac862239b0325a9eb410182b269165
2023-09-08 04:35:06 +00:00
OpenStack Release Bot bdebe1de3c Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I93d2f0751bb2bf4728a6d361044c1c73b4b4e4b7
2023-09-07 09:40:38 +00:00
Zuul 4f862daccc Merge "Add RP_TUNNELLED and TRAIT_NETWORK_TUNNEL constants" 2023-07-28 17:01:11 +00:00
Zuul 8c72e2eee9 Merge "Revert "Add "network" to the EXT_PARENT_RESOURCE_MAPPING"" 2023-07-22 15:06:56 +00:00
Slawek Kaplonski 5df6e93b59 Revert "Add "network" to the EXT_PARENT_RESOURCE_MAPPING"
This reverts commit a014720912.

Reason for revert: It is not needed to have network in the EXT_PARENT_RESOURCE_MAPPING as we will keep NET_OWNER rules and use
them for subnets and ports API.
Please see [1] for more detailed explanation why it's better to keep NET_OWNER rules for those policies.

[1] https://review.opendev.org/c/openstack/neutron/+/889153

Change-Id: Ia2cd6301e04ac502888ee2b8042ea8c19873a95a
2023-07-21 08:19:12 +00:00
Rodolfo Alonso Hernandez 884f2add0b Add RP_TUNNELLED and TRAIT_NETWORK_TUNNEL constants
Related-Bug: #1991965
Change-Id: Icf0b4dec9420d342431549589f05c639e59a207c
2023-07-19 13:29:15 +00:00
Miguel Lavalle c958933fa0 Add new callbacks event for resouce status update
A new event AFTER_STATUS_UPDATE is added, that will be published to
callbacks when a resource's status is updated in the DB. The first use
of this new event is to indicate when the L3 DB layer has updated
floating IPs status.

Change-Id: I1a85d1af7b4f50a5319c64e47c52ccdaa345e362
Partial-Bug: #2020823
2023-07-11 12:42:50 -05:00
Slawek Kaplonski 8ccdecc7d1 Add is_service_role property to the context class
As we are moving to the new S-RBAC policies, we want to use "service"
role for all service to service communication. See [1] for details.

This require from Context class property similar to old "is_advsvc" but
with new naming convention and using new policy rule.

This patch adds this new property together with all required policies
and rules.
For now "ContextBase.is_advsvc" property will return True if one of the
advsvc OR service_role will be True to make it working in the same way
with both old and new policies but once we will get rid of the old
policies we should also remove is_advsvc property from the ContextBase
class.

[1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#phase-2

Change-Id: Ic401db8b4e2745234e61fe2c05afd5b4ab719a03
2023-06-30 15:56:20 +02:00
Zuul d5acebbe7b Merge "Add port hardware offload extension" 2023-06-28 09:01:27 +00:00
Slawek Kaplonski a014720912 Add "network" to the EXT_PARENT_RESOURCE_MAPPING
It's needed so network can be used as ext_parent for e.g. subnets in
the API policy rules.

Related-bug: #2023679
Change-Id: Ib446dffcd60e18b578a4d816ab5881e2fabc3e51
2023-06-26 10:58:41 +00:00
Rodolfo Alonso Hernandez 972fbdd4be Add port hardware offload extension
This new new port extension allows to create ports with hardware
offloaded capabilities.

Spec: https://review.opendev.org/c/openstack/neutron-specs/+/882272

Related-Bug: #2013228
Change-Id: I0c9863ff21f3dee6120f1c8424a69ded6c3612b1
2023-06-21 18:01:35 +00:00
Zuul 95b6a4bb47 Merge "Add new SG rule ext. ``security-groups-rules-belongs-to-default-sg``" 2023-06-16 00:26:40 +00:00
Rodolfo Alonso Hernandez 7da72b7f2d Add new SG rule ext. ``security-groups-rules-belongs-to-default-sg``
Added a new API extension
``security-groups-rules-belongs-to-default-sg`` that adds a new
read only field ``belongs_to_default_sg`` in the security group
rules. This flag determines if this security group rule belongs
to the project's default security group.

Related-Bug: #2019960

Change-Id: Ibd8f57d82b28f5cdb8874f1ae22cb35adcd8e880
2023-06-07 09:50:57 +00:00
elajkat 9f72a4722f api-ref: add api-ref for bindings
Change-Id: I1e61c120570db7d7ba0b86ce36d4a1e2eefdf9fe
Related-Bug: #1580880
2023-05-31 19:46:50 +02:00
Zuul ab8a9dd0d9 Merge "New ``network-ha`` API definition" 2023-05-08 23:45:10 +00:00
Rodolfo Alonso Hernandez d5884bb20b New ``network-ha`` API definition
This new network API field, that can be used during the network
creation, will trigger the creation of a ``ha_router_networks``
database register. This register binds the project with the
created network and defines it as the high availability network
of the project, that is unique per project.

The default value is "False".

Related-Bug: #2016198

Change-Id: Id6e434060a7559026f9083904a91213b39361336
2023-05-08 08:05:53 +00:00
Zuul b27719aae6 Merge "DPDK datapath type added" 2023-05-05 10:42:09 +00:00
Oleksii Butenko ba77e7651a DPDK datapath type added
Nova spec: https://review.opendev.org/c/openstack/nova-specs/+/859290

Partial-Bug: #2013540
Change-Id: Id8b96ebdfa55dccb657c4e76b1948e096ce597a8
2023-05-04 17:08:36 +03:00
Zuul 96c11047fb Merge "New api-def: allowedaddresspairs-atomic" 2023-05-03 22:58:02 +00:00
liushy 210862034b Add a shim extension standard-attr-fwaas-v2
Neutron-fwaas patch: https://review.opendev.org/c/866988

Partial-Bug: #1986906
Change-Id: I8db2eed7b55c12042804de1710778b008d8bf49c
2023-04-27 15:10:47 +08:00
liushy 8728076402 New api-def: allowedaddresspairs-atomic
Partial-Bug: #2012332
Change-Id: Ibc713217ffb67ce35e03ae7f341a302a9edef4d1
2023-04-21 11:05:50 +08:00
Dmitrii Shcherbakov e52a9372f7 ext-gw-multihoming: api-def and api-ref
API additions for [1].

* Added a new router attribute: external_gateways;
* Added new API definitions for:
    PUT add_external_gateways
    PUT update_external_gateways
    PUT remove_external_gateways
* Added extensions for each of the new router-level attributes:
  * enable_default_route_ecmp
  * enable_default_route_bfd
* Combined the validation logic for the external_gateway_info type
  across extensions (l3_ext_gw_mode, qos_gateway_ip and the new
  extension called l3_ext_gw_multihoming).

[1] https://review.opendev.org/c/openstack/neutron-specs/+/870030/

Change-Id: I2618475636b2bb9bfd743a62f5d4859d4f68a547
Related-Bug: #2002687
2023-04-20 19:18:02 +03:00
OpenStack Release Bot ad8bcd2b3a Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: Ifef909a10f7bb09c537d2d3df4b6f9f43e6ae272
2023-03-02 13:26:09 +00:00
Bence Romsics ec6a39c463 port-hint-ovs-tx-steering: api definition
The ``port-hint-ovs-tx-steering`` extension allows new values (i.e. a
hint) in the ``hints`` port attribute. It allows the control of Open
vSwitch's Userspace Tx packet steering options. For Open vSwitch details
please see:
https://docs.openvswitch.org/en/latest/topics/userspace-tx-steering/

Change-Id: I150e5b5660164a8f6fcc9c9161cf69e721a435ed
Partially-Implements: #1990842
Related-Change (spec): https://review.opendev.org/c/openstack/neutron-specs/+/862133
2023-02-20 13:11:54 +01:00
Zuul dcb04fc8f4 Merge "[ovn]Floating IP adds distributed attributes" 2023-02-05 19:20:05 +00:00
Bence Romsics 3169bf9f33 port-hints: api definition
The port hints extension (``port-hints``) introduces the ``hints``
port attribute. Hints are backend specific pieces of information,
mainly to allow backend specific performance tuning. In itself this
extension defines no particular hint, and therefore no valid values of
the ``hints`` attribute. It just serves as the base for other extensions
introducing concrete hints and signals the presence of the ``hints``
port attribute to the API user. By default policy, use of the ``hints``
attribute is restricted to admininstrative users.

Change-Id: I5cb21b25fcda62eae3743b2f96177dcc1fda4afb
Partially-Implements: #1990842
Related-Change (spec): https://review.opendev.org/c/openstack/neutron-specs/+/862133
2023-02-02 11:23:38 +01:00
zhouhenglc 7441b091ee [ovn]Floating IP adds distributed attributes
Partial-bug: #1978039

Partially-Implements: blueprint custom-floatingip-distributed

Change-Id: I7894c2b5afa11bcb0c78b3525d74bd9345edd361
2023-01-05 02:13:31 +00:00
Rodolfo Alonso Hernandez 7e4a6beed4 Added "qos" plugin to "EXT_PARENT_RESOURCE_MAPPING"
The plugin "qos" is added to the "EXT_PARENT_RESOURCE_MAPPING" constant.
The policy engine can now check the QoS rule ownership using the QoS
policy project ID. The QoS rules are resources that do not have an
assigned project ID, it is inherited from the QoS policy. This patch
allows to check a QoS rule ownership using the "ext_parent_policy_id"
field, that stores the QoS policy project ID.

NOTE: once released, this bug fix must include Neutron unit tests
checking, using the rules:
  "update_policy_bandwidth_limit_rule": "rule:admin_or_owner"
  "update_policy_packet_rate_limit_rule": "rule:admin_or_owner"
  "update_policy_dscp_marking_rule": "rule:admin_or_owner"
  "update_policy_minimum_bandwidth_rule": "rule:admin_or_owner"
  "update_policy_minimum_packet_rate_rule": "rule:admin_or_owner"

Closes-Bug: #1996606
Change-Id: I0531ea2c1bf29aecfab9b491eefef044a4ee49ad
2022-11-12 11:30:38 +01:00
Zuul eb4da30f26 Merge "Add DSCP mark 44" 2022-09-12 15:10:16 +00:00
OpenStack Release Bot 9fcc7b1d21 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I5acbd731a2fc4d3395e8d4b29a014076b6416d68
2022-09-09 11:47:39 +00:00
Rodolfo Alonso Hernandez b0eaf6e153 Add DSCP mark 44
Added a new DSCP mark value: 44. This new mark value was included
recently in the RFC5865 [1].

[1]https://www.rfc-editor.org/rfc/rfc5865.html

Change-Id: Ieba8835cbb5a71e83791324ed1fcbb983afe19fa
Closes-Bug: #1987378
2022-08-31 13:32:22 +00:00
Zuul e8f0d31d38 Merge "Add floating-ip-port-forwarding-detail shim extension" 2022-08-08 13:09:04 +00:00
zhouhenglc 9c90f78a8b Add floating-ip-port-forwarding-detail shim extension
if we list floating ip and want to operate a port forwarding, we cannot
call the update 'port forwarding' api, because we don't know the port
forwarding id.
The reason for exposing 'internal_port_id' is also to find the
associated port as soon as possible, so as to facilitate users to obtain
vm information and decide whether to update this port forwarding.
this patch adds the port forwarding returned contents: 'id' and
'internal_port_id' when list floatingip.

Partial-bug: #1971646

Change-Id: I34aa6948fccc669fc729d032b540bd1aa0c17ce9
2022-08-08 07:33:47 +00:00