Commit Graph

2011 Commits

Author SHA1 Message Date
Zuul 688b135d86 Merge "Fix incorrect links for the filtering spec" 2024-04-15 09:16:06 +00:00
Brian Haley c28b3ab8fe Fix incorrect links for the filtering spec
The spec networking_general_api_information.html was moved
to api-ref in [0] but some of the links pointing to it
were not updated. This change makes all the refs consistent
and adds links where missing.

Also moved sync/async and bulk create sections lower to
group all the filtering, pagination and sorting sections
together since they are inter-related.

[0] https://review.opendev.org/c/openstack/neutron-lib/+/362877

Change-Id: I895cc9aaee2546b95e93150c134f350a50346447
2024-04-04 19:00:17 -04:00
Zuul f6852071ef Merge "api-ref: add api-ref for remote_address_group in sg rules" 2024-04-02 11:05:57 +00:00
elajkat a6e32d9d5c api-ref: add api-ref for remote_address_group in sg rules
Related-Bug: #2058138
Change-Id: I067c53c31a60336b8852cdf26a404b15cc0ccef8
2024-04-02 01:28:07 +00:00
Zuul 625ae19e29 Merge "Enable filtering flag in subnet 'router:external' field" 2024-03-25 11:26:48 +00:00
Rodolfo Alonso Hernandez 9db26809f9 Enable filtering flag in subnet 'router:external' field
This flag was incorrectly set to False in the API extension
implementation. This extension is still not implemented in Neutron.

Change-Id: I87ea4e8bf4b4bc6a6934a349ac28765107c1536a
Related-Bug: #2051831
2024-03-08 01:18:58 +00:00
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
Rodolfo Alonso Hernandez 3a9e39b9ef [netaddr>=1.0.0] Do not use netaddr.core.ZEROFILL flag with IPv6
The flag "netaddr.core.ZEROFILL" cannot be used with IPv6 addresses
with netaddr>=1.0.0

Change-Id: I116ea2abbee13a73302ebca9c65707f427a7d9d0
Closes-Bug: #2055173
2024-02-29 08:33:13 +00:00
Rodolfo Alonso Hernandez f0724e9cf1 Skip the enforcer undefined rule check
That will avoid unnecessary warning messages in the logs. The
role enforcer only loads the following 3 rules:
* _ADMIN_CTX_POLICY = 'context_is_admin'
* _ADVSVC_CTX_POLICY = 'context_is_advsvc'
* _SERVICE_ROLE = 'service_api'

This functionality was implemented in [1]. oslo.policy library
is bumped to version 4.3.0 that contains this patch.

[1]https://review.opendev.org/c/openstack/oslo.policy/+/907196

Closes-Bug: #2048198
Change-Id: I1581b95035c4afebf63518b64c35bc0c61c292e9
2024-02-23 00:52:29 +00:00
Zuul d131b53403 Merge "Add extension "subnet-external-network"" 2024-02-23 16:26:12 +00:00
Zuul 8ce8b7214e Merge "Remove constants for LBaaS(v2)" 2024-02-22 18:21:05 +00:00
Zuul b3fe0ead28 Merge "Add "socket" NUMA affinity policy" 2024-02-22 18:21:03 +00:00
Zuul 5f76f027cc Merge "rpc: reuse existing defaultdict when setting max_timeout" 2024-02-21 01:24:17 +00:00
Zuul df103c9ee8 Merge "rpc: initialize notifier when get_notifier is called" 2024-02-21 01:12:34 +00:00
Slawek Kaplonski 3aec8fdfee [S-RBAC] Add note about port:binding:profile field and SERVICE role
With new default API policies binding:profile attribute of the port can
be only set or updated by the SERVICE user. This patch adds small note
about this to the Neutron API-REF document.

Related-Bug: #2052937
Change-Id: I0b2f2225e29537c9fd2de53b0945a451b9bcdde3
2024-02-19 09:10:40 +01:00
Ihar Hrachyshka 577c7bae0d rpc: reuse existing defaultdict when setting max_timeout
Change-Id: I6655f075bdf67e34bde97770760c6616bc582ea0
2024-02-14 18:33:23 +00:00
Ihar Hrachyshka 631e3f995c rpc: initialize notifier when get_notifier is called
This is to mimic other get_ (server, client) entry points.

Change-Id: Iabcf6e43fca40e7dbdd83345b2cd6d32cb25d3d8
2024-02-14 18:33:23 +00:00
Ihar Hrachyshka 1fedbae833 rpc: don't explicitly pass access_policy
The passed value is the default in oslo.messaging, so the argument is
redundant.

Change-Id: Iaa82d6141cfc300705bb2c4f430df2a092ec5aee
2024-02-14 18:33:23 +00:00
Ihar Hrachyshka 8169a79a4d rpc: explain how get_notifier arguments actually work
Arguably, using `None` as service name by default is probably wrong, but
I don't think we can safely change it now.

Change-Id: Iad19f1af0019b40fc5618fc55647ccd7553f2272
2024-02-14 18:33:23 +00:00
Ihar Hrachyshka 23b1fbc3b3 rpc: fix some typos
Change-Id: I3669e11839a99e7d1f60b5be16f1097295196628
2024-02-14 18:33:23 +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
Zuul 493609c019 Merge "reno: Update master for unmaintained/yoga" 2024-02-06 09:30:21 +00:00
Zuul b04be1b999 Merge "tox: Drop envdir" 2024-02-05 17:56:46 +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
Zuul 0ffe4a045a Merge "[sqlalchemy-20] Use sqlalchemy.orm.DeclarativeBase" 2024-02-05 13:02:52 +00:00
Takashi Kajinami 323dad3e67 tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~

According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I0321ceed864ccdb8fb78d6fb119b09640bb97896
2024-02-03 00:03:36 +09:00
Zuul a5d8a6fd7c Merge "Remove unused reno from test requirements" 2024-01-29 07:40:00 +00:00
Takashi Kajinami 035463b49b Remove unused reno from test requirements
This library is used only when generating release notes.

Change-Id: Ibca0cb324df8abfddf5bdb3478708dce0f764709
2024-01-28 01:50:24 +09: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
Zuul 8c5dd8d373 Merge "Add some neutron constants" 2024-01-26 10:45:22 +00:00
Zuul ba24f0841e Merge "Add Tap Mirror exception" 2024-01-26 10:45:21 +00:00
Zuul 06ed5488a7 Merge "Tap mirror API def and API ref" 2024-01-26 10:44:09 +00:00
elajkat 584de2c144 Add Tap Mirror exception
Add TapMirrorNotFound and TapMirrorTunnelConflict to
taas exceptions.

Change-Id: I96413cdeaa85f8f52c80a5e6dd72e0ddaa2e10ed
Related-Bug: #2015471
2024-01-25 14:03:05 +00:00
elajkat 72442e0ba0 Tap mirror API def and API ref
Change-Id: Ifa1bf6abbf5d25769820b545d8d3bab195b146d3
Related-Bug: #2015471
2024-01-25 14:59:57 +01:00
Thomas Goirand c8754d1e5d Python-3.12: do not use datetime.datetime.utcnow()
This is deprecated in the favor of:
oslo_utils.timeutils.utcnow()

Change-Id: Iaf95c602b4ead7128850625140b7b3bde132ebf6
2024-01-25 06:46:44 +00:00
Rodolfo Alonso Hernandez 7909696a90 [sqlalchemy-20] Use sqlalchemy.orm.DeclarativeBase
``declarative_base()`` is superseded by ``DeclarativeBase`` class.
More information in [1].

[1]https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#step-one-orm-declarative-base-is-superseded-by-orm-declarativebase

Closes-Bug: #2051171
Change-Id: I5ddf9573572e52fe87bbfde9732c5af9ce398188
2024-01-21 00:03:11 +00:00
Takashi Kajinami c69701eb73 Bump hacking
hacking 3.0.x is really old. Let's bump it to the latest version
available.

This also fixes some errors detected but some rules are excluded now.
See the comments in tox.ini for further details.

Change-Id: I2565e5f5e791dfdd9bbc1890b35c413965d83626
2024-01-16 16:56:54 +00:00
Takashi Kajinami 27689c9ce5 Cleanup setup.py and requirements
- Python 2 is no longer supported
- setup.py is no longer managed by the global tooling
- Recent pip does not require appropriate order in requirement files

Change-Id: I29e2375b68dc01f6e042717a6da3861cc0bd8f88
2024-01-12 17:46:28 +09:00
Brian Haley 1dbf0f4558 Add some neutron constants
Copied some constants and an exception based on TODO
comments, so we can consume in the future.

TrivialFix

Change-Id: Iac9070c840a3276b5805d8c58437da3363890f67
2024-01-11 16:55:43 -05:00
Michał Dulko b2aca16705 Add api-ref about SG rule bulk create
Neutron support bulk create of security group rules, but that's
undocumented in the api-ref. This commit fixes that by adding the docs
and examples of these calls.

Change-Id: I32ce8b3501a01552fed67ba24602e891c3c01cd4
2024-01-11 12:54:49 +01:00
Takashi Kajinami 9081c39100 Remove constants for LBaaS(v2)
Neutron LBaaS and LBaaS v2 were both retired in favor of Octavia.
The remaining usage of these constants are being removed from neutron
by the dependent change.

Depends-on: https://review.opendev.org/c/openstack/neutron/+/902048
Depends-on: https://review.opendev.org/c/openstack/networking-sfc/+/902216
Depends-on: https://review.opendev.org/c/openstack/neutron-fwaas/+/902215
Change-Id: I6ea221f397e4dbb919480bde3ed89fe6acc025b8
2023-12-03 05:56:33 +00:00
Zuul 9e3a3a6086 Merge "Update default for BFD/ECMP router extra attributes" 2023-12-01 17:22:33 +00:00
Zuul d698806563 Merge "api-ref: Document only unbound ports vnic_type updates" 2023-11-20 21:44:09 +00:00