That syncs the Neutron code with the latest neutron-lib version
released (3.8.0).
This patch also adds the "network.ha" definition extension to
the tests core plugin.
NOTE: both LP bugs must be fixed in one patch to fix the unit
tests CI job.
Closes-Bug: #2033493
Closes-Bug: #2033508
Change-Id: Ie22d9bcb943205e20380b92dc33d48f398a86470
neutron recently merged a commit enabling secure rbacs by default [1].
However this commit breaks the unittests of neutron-dynamic-routing.
To fix this we run multiple calls as admin, to allow them to succeed.
[1]: 670cc383e0
Closes-Bug: 2019097
Change-Id: Iadc9b819ce4aaf6029e77f53ce0616aa70119c70
Complete the fix for the attached bug by bumping the version of
SQLAlchemy to 1.3.3 or better, which will include the fix for
ambiguous joins [1]. This is lower than the global upper
constraints of 1.3.17 so it should be valid.
[1] https://github.com/sqlalchemy/sqlalchemy/issues/4584
Change-Id: Idf59268acd10d840be31850a1c79ee693dd69204
Closes-Bug: #1898634
The new pip resolver has uncovered some inconsistencies in our
lower-constraints.txt, this fixes them.
Change-Id: I75abab25c924b070ee08b8c3590db5e62b4da38d
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- Bump hacking to 3.2.0 in order to work with focal
- Bump the lower constraints for required deps which added python3.8 support
in their later version.
Story: #2007865
Task: #40199
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: Iea345d40b0fbe3bee2f59164df32578acf82312e
With python3.x, classes can use 'metaclass=' instead of
'six.add_metaclass', 'six.integer_type' can be replaced
by 'int', 'six.string_type' and 'six.text_type' are just
'str'.
Change-Id: I40a020aa4a8e69a8dd7e800352dc54a9e694d500
This change causes neutron-dynamic-routing to stop consuming Ryu
in favor of os-ken. os-ken becomes the reference implementation
for BGP services and neutron-dynamic-routing no longer has a
dependency on Ryu.
Partially-Implements: blueprint ryu-framework-maintenace-transition
Change-Id: I4a68440809cad5de2d6d191f7211d68b542672e5
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.
This patch also bumps the neutron-lib version up to 1.20.0
Change-Id: I3f2711239772a41ccb6a0d7eb19f11326f125e86
As part of the Denver PTG [1] we decided networking related projects
that are "current" and want to receive neutron-lib consumption patches
on an on-going basis should indicate such with a well defined comment
in their requirements.txt. This allows us to easily find the list of
project to receive neutron-lib consumption patches [2] by searching for
the string.
In addition, projects opting-in for these patches are also attesting
they will stay up to date with TC and infra initiatives to ensure
consumption patches can flow freely.
This patch adds the "neutron-lib-current" string to requirements.txt
opting in for neutron-lib consumption patches.
[1] https://etherpad.openstack.org/p/neutron-stein-ptg
[2] https://docs.openstack.org/neutron-lib/latest/contributor/contributing.html#phase-4-consume
Change-Id: Ie153c218d631ad373881d8bf39617b8483342988
Neutron-lib 1.18.0 is our Rocky RC and is already being used by neutron
[1]. This patch updates the neutron-lib required version to match
neutron [1] in prep for the Rocky release.
[1] https://review.openstack.org/#/c/583671/
To work with neutron-lib 1.18.0, we need Rocky version of neutron,
so the minimum version of neutron is bumped to 13.0.0.0b2 (Rocky-2).
We also need to bump the minimum version of SQLAlchemy. Rocky neutron
depends on pending_to_persistent ORM event in SQLAlchemy which was added
in SQLAlchemy 1.1. Rocky neutron now requires SqlAlchemy>=1.2.0,
so the min version of SQLAlchemy is bumped to 1.2.0.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ifa33d7bc000ebbcf5e0f130fe0e0e34207f3361c
1. remove unused requirement: mock-requests. This is due to the fact
that is is unused.
2. Update sphinx
3. Uncap evenlet: uncap eventlet. We will manage the eventlet
version using constraints now. See the thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.
4. Update RYU to be 4.24 to sort out issues with pip 10
Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Change-Id: I855f88ca09a735054c3582f16d8eff977dc53ce1
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add neutron to requirements file.
Change-Id: Ifb0890e6d287dc24a654ac47d23cd9e1d7fb830d
This patch-set prepares the basic code structure with all
the tools required for running static and unit tests.
Note: All the imported code from the seed repo is being removed
temporarily and will be added after the required re-factoring
needed as per the new repo in the subsequent patch-sets.
Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Implements: blueprint bgp-spinout
Partial-Bug: #1560003
Change-Id: I9bff3d916279c4f335b309e7a2c2e943ac6f6cde