Commit Graph

2022 Commits

Author SHA1 Message Date
Zuul 8b6c769789 Merge "Document BGPVPN list API filters" 2024-05-06 22:05:56 +00:00
Zuul 577d72384f Merge "pep8: enforce test file names" 2024-05-03 19:13:18 +00:00
Zuul 678a1713ea Merge "Add pre-commit configuration" 2024-05-03 00:14:15 +00:00
Ihar Hrachyshka 174bb8e526 pep8: enforce test file names
This is adopted near-verbatim from neutron repo.

Change-Id: Ic3675a7e90893c0ce07404b35efabff750ce9bfe
2024-05-01 15:43:56 -04:00
Zuul ed1c3d8715 Merge "reno: Update master for unmaintained/zed" 2024-04-30 14:37:54 +00:00
Zuul 3e7d123318 Merge "Remove old excludes" 2024-04-30 14:37:53 +00:00
Takashi Kajinami 35fba47bd5 Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Change-Id: Iea3e1196affd1c3dd84855f364c6425da0110dac
2024-04-30 19:16:37 +09:00
OpenStack Release Bot 642de6b986 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I39e2d9bd2b13a7f0f092e731cacb6299224898c3
2024-04-30 08:53:16 +00:00
Slawek Kaplonski 10ea6601c1 Add pre-commit configuration
'pre-commit' tool [1] provides an extensible way to configure hooks
which can be run automatically before each commit. That way we can make
sure that code send to review is passing base static analysis checks
like e.g. bandit, flake8 or hacking.

For now this is optional to use and not integrated in e.g. tox.ini file
but we can integrate it there too as next step.

[1] https://pre-commit.com/

Change-Id: I49efd39a93103d2e1888c9b641962280622ae60b
2024-04-29 14:46:28 +02:00
Slawek Kaplonski a0fb735b7e Remove executable from python files which don't really needs it
TrivialFix

Change-Id: Ib4aefec2ec1fa9334de0619acf5825b7ad23ae99
2024-04-27 09:31:23 +02:00
Sebastian Lohff e106989ff8 Document BGPVPN list API filters
BGPVPNs can be filtered by project_id or network/router/port
associations when being listed.

Change-Id: I81aca687e67f541a975ec9d1302e859557bd7816
2024-04-19 16:48:17 +02:00
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