Commit Graph

254 Commits

Author SHA1 Message Date
Salvatore Orlando 624f312208 Various fixes for gate jobs
- Update BGP plugin for changes in neutron-dynamyic-routing
- Skip test for duplicate port MAC for NSX-V plugin
- Fix test for network creation in default AZ for NSX-V plugin
- Adapt .zuul.yaml for changes in tap-as-a-service
- Fix issues with requirements check job
- Minor changes to tox.ini

Change-Id: Idbf051e98d7c961273f46c6b6a1aaa9b358ab3d8
2021-08-19 14:35:44 -07:00
asarfaty eeac28dd80 Update master branch requirements
Bump neutron-lib, and osc-lib, and update some more requirements

Depends-on: Ie74ea517a403e6e2a7a4e0a245dd20e5281339e8
Change-Id: If34a9889fb0f137856f7c241788cf593e722d665
2020-12-09 21:32:11 +02:00
asarfaty 27928c1757 Upgrade networking-l2gw in requirements
Change-Id: I75209280807610f04114859fd8995dc8f44be38d
2020-11-05 16:53:53 +02:00
asarfaty 1caf7f0a91 Fix nsxlib version for Victoria branch
Change-Id: Idca02aedbce2a1538406512abc148857fe62265e
2020-11-02 11:48:07 +00:00
asarfaty dc7c191303 Prepare the new W branch
Change-Id: I076b563c42fd88495203c708f724f693df793c92
2020-10-15 07:15:32 +02:00
asarfaty 50afa71853 Fix broken Victoria branch
1.Upgrade pylint to 2.4.4, add exclusions to the tests, and
  fix some lint errors in the code

2. Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
In Ubuntu Bionic (18.04) mysql 5.7 version used to create
the user implicitly when using using the GRANT.
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
See also commit I97b0dcbb88c6ef7c22e3c55970211bed792bbd0d

3. Remove fwaas from the zuul.yaml
4. Remove DB migration test which is failing ue to FWaaS migration
with py38
5. Fix cover tests python version in .tox
6. fix requirememnts

Change-Id: I22654a5d5ccaad3185ae3365a90afba1ce870695
2020-09-21 15:31:18 +02:00
asarfaty 00f43c2b63 Remove six package usage
Since py2 is no longer supported, built in methods can replace the
six package usage, as been done in the neutron project

Change-Id: I922963fbbcc0ab263e1f6e56907b73b007015a75
2020-07-19 17:19:31 +02:00
asarfaty 37d9fb4977 Fix broken code due to openstack updates
1. Stop using constant AUTO_DELETE_PORT_OWNERS
as Commit Iba02f5a2211b18c2deb9097daad6be5e7d21faf8 removed this
2. Upgrade python-openstackclient and update osc security groups code
to match patch Ifd20b5fc47fd0ea0bb5aeda84820dcc0fb1e8847

Change-Id: I25ad6e1670d19fa3dcf8210eb4fd13aef6c3ad37
2020-07-10 10:06:39 +02:00
Adit Sarfaty 0bad4876dc T2P migration
This patch will allow moving neutron from using the nsx_v3 plugin to the nsx_p plugin.
This includes:
- admin utility to move all resources to the policy api:
  nsxadmin -r nsx-migrate-t2p -o import (--verbose)
  This utility will:
  -- Migrate all neutron used & created resource using the nsx migration api
  -- roll back all resources in case it failed
  -- post migration fix some of the policy resources to better match the expectation
     of the policy plugin
- admin utility that will cleanup left overs in the nsx_v3 db:
  nsxadmin -r nsx-migrate-t2p -o clean-all
  (can be used, but everything should work without calling it as well)
- Some minor changes to the policy plugin and drivers to allow it to handle migrated resource
  which are a bit different than those created with the policy plugin
  -- Delete DHCP server config once a migrated network is deleted
  -- Update LB L7 rules by their name suffix as their full display name is unknown

Change-Id: Ic17e0de1f4b2a2d95afa61ce33ffb0bc9e667b89
2020-06-23 09:03:23 +00:00
asarfaty 1c9e123b80 Stop getting upstream master neutron-fwaas
As neutron-fwaas is no longer maintained, get it from pypi instead of Git.
Also update neutron projects in requirements to latested released versions

Change-Id: I866d0b6f57f7b34ccc8bc998b8df729103497f6c
2020-06-21 10:10:43 +02:00
asarfaty 5d2837c83a Removing dependency on the "mock" package
Now that we are python3 only, we should move to using the built
in version of mock that supports all of our testing needs and
remove the dependency on the "mock" package.

Also see commit: Ifcaf1c21bea0ec3c35278e49cecc90a101a82113

Change-Id: I58da980351fe14357c210c02eb167a6c0af9d09e
2020-05-10 17:21:14 +02:00
asarfaty f3c4d8330c Upgrade decorator version to match openstack projects
Change-Id: If18b3eb451a4cec2c11bbd66b999c0d7b15ae6d1
2020-01-29 12:08:45 +02:00
asarfaty fef5cfde7d Bump neutron-lib to 2.0.0
As neutron does in commit I6968da1d0f8dbf0ddb1b5d8b0796f2357a2a505e

Change-Id: Ia934d2a8fa82225a73a04972a5e6d578b06c51a7
2020-01-16 08:48:19 +02:00
asarfaty e903a93724 Fix neutron projects in requirements to match train branch
Change-Id: I8624a27e7c943d3d5bb03f8942c817b3d9e74b84
2019-12-04 15:32:12 +02:00
Adit Sarfaty a46e3c9d69 bump neutron-lib to 1.29.1
Bump neutron-lib to 1.29.1 [1] in requirements and lower-constraints.

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

Change-Id: I1acc1b63656c888d30eca6fcf96cfc6b742fe182
2019-09-22 10:57:15 +03:00
Adit Sarfaty 738dacf1d5 Bump openstackclient & osc-lib version
And update the UT to reflect the change in commit
I9878f327e39f56852cc0fb6e4eee9105b7141da9

Change-Id: I02f1ab663eb60f9b19bede0714cc6200582c39ee
2019-09-18 09:48:26 +03:00
Adit Sarfaty 07409838f0 Update octavia-lib requirements
To match what the Octavia project is using, and not to pull it from git
automatically

Change-Id: Id26d92822896f698095b77c156ed62fcbdf2a76d
2019-08-13 09:40:18 +03:00
Adit Sarfaty 883816713d Update tenacity version and usage
Some tenacity apis now get a single retry_state parameter which contain
all the previous information.

Change-Id: I3e34949dfb9a72ef30706f91beef079894d26201
2019-07-22 14:59:01 +03:00
Boden R 4970df5a01 bump neutron-lib to 1.28.0
Depends-On: I57efc19d67826698cfafbf03d735c5e8978ca745
Change-Id: Ia619022a9e767c0c20b3695cd17df449c7f95fb7
2019-07-04 13:04:04 -06:00
Boden R c114eca738 bump neutron-lib up to 1.27.0
Change-Id: I5e3f2a3749566ff46fa227fcb09678ae619abcb3
2019-06-26 04:21:50 +00:00
Adit Sarfaty 8681c50144 Update six requirements to 1.11
Change-Id: If935e9e474f69978348cbb42637951ae97c0aff6
2019-05-22 07:38:30 +03:00
Adit Sarfaty d753ec6945 Remove neutron-lbaas support & dependencies
Commit Ia4f4b335295c0e6add79fe0db5dd31b4327fdb54 removed all the
neutron-lbaas code from the master (Train) branch

Change-Id: I9035f6238773aad0591436c856550b7a5e01e687
2019-05-19 11:16:45 +03:00
Boden R 4dfb2ecd50 cleanup openstack git refs and lower constraints
This patch:
- Updates git.openstack based URLs to use opendev.
- Cleans up the lower-constraints.txt file to only include what we
really need.

Change-Id: I3eecd97c313c33c820ca2be8f01f6848244cd52a
2019-04-30 07:16:41 -06:00
Boden R b3b4ce4d9c bump neutron-lib to 1.26.0
Bump up the required and lower constraint for neutron-lib to use the
latest release 1.26.0. Also see https://review.opendev.org/#/c/653887/
and https://review.opendev.org/#/c/656360/

Change-Id: I5e3de7a7003949a3c87afaecb18a62f9c4144fb3
2019-04-29 13:50:17 -06:00
Boden R ff839a810d update requirement versions for stein
Change-Id: I9eb4c15a0df44e4ed86822b271d201ec48555edd
2019-04-04 11:17:03 -06:00
Zuul 0be608d8b0 Merge "Start using octavia-lib" 2019-03-21 13:28:34 +00:00
Adit Sarfaty 9307db3471 Start using octavia-lib
Some driver apis were moved out of octavia into octavia-lib.
This patch adds octavia lib to the requirements, and consume those apis.
There are still some apis the driver uses directly from octavia which
will have to be handled in the future.

Change-Id: I887ecb5e5155f1181a34bb67fc8bd85856585c86
2019-03-18 11:23:07 +00:00
Boden R 3eca4def36 update constraints in prep for stein
This patch updates a few dependencies/constraints in prep for the
stein release.

Change-Id: Id301730ed803568c105f5da36908c9a875a0da5b
2019-03-15 08:35:04 -06:00
Boden R e194d703fc bump neutron-lib to 1.25.0
Follow suit with neutron https://review.openstack.org/#/c/640253/
Likely 1.25.0 will be used for Stein.

Change-Id: I51e136ac536e7272352a14c69f671f6e2ec8adc2
2019-03-05 15:17:28 -07:00
Boden R 8641481024 use neutron-lib trunk resource names
The trunk callback resource names now live in neutron-lib [1].
This patch switches over to use those constants from lib and they
will be removed from neutron in a later patch once consumers switch
over to lib as well. Also see [2].

This patch also bumps neutron-lib to version 1.24.0.

[1] https://review.openstack.org/#/c/635209
[2] https://review.openstack.org/#/c/637004

Change-Id: I001721c8ed5e38090b7867e225a5d777fbc6f19c
2019-02-14 14:53:45 -07:00
Boden R 672eff8a1c bump neutron-lib to 1.23.0
Bump the required neutron-lib version to 1.23.0 to match neutron
https://review.openstack.org/#/c/634254/

Change-Id: I5d901d36dfca4bec032cadb01f8b8f67d0fe92f1
2019-02-11 13:58:45 -07:00
Adit Sarfaty a35fa1d85f Remove ryu from requirements
Change-Id: Ia623d0a879072705a3d5b55c6f817afbbeca2136
2019-01-27 14:47:20 +02:00
Boden R da969dc0ad bump neutron-lib to 1.22.0
This patch bumps up the requirements and lower-constraints to use
neutron-lib 1.22.0

Change-Id: Ic152a934ae82b4f5fd685ac7628dec100c1512a0
2019-01-24 19:57:03 +00:00
Boden R d2652a7b7e fix lower constraints
This patch adjusts the lower constraints and requirements to ensure
the lower-constraints job passes.

Change-Id: I99121a93c56f53cfe13ce519e66af9139a1678f3
2018-12-16 09:19:28 -07:00
Boden R 6fc0aebf6f bump neutron-lib to 1.21.0
This patch bumps the neutron-lib version to 1.21.0 in both the
requirements and lower-constraints.

Change-Id: Iafa91811c0fae3f1eaf44f71d4fa317522335d2b
2018-12-05 09:52:28 -07:00
Zuul 2dea64def5 Merge "NSX|V+V3: Octavia driver" 2018-10-07 09:25:57 +00:00
Boden R 822f7c4cf7 add py36 jobs and tox target
As part of the python 3 first effort [1], this patch adds UT support for
python 3.6 by:
- Updating the zuul.yaml to include the py36 template and jobs.
- Adding a py36-dev target to tox.ini for local testing.
- Updating the upper constraints to use master rather than stable/rocky.
- Updating the version of eventlet used as previous 2x.x versions had
a python 3 bug for monkey patching.
- Consolidating the eventlet monkey patching in the code.

[1] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3c11ac9dff9a2e25b33e8310929c961ffd0bcc52
2018-10-02 08:23:08 -06:00
Kobi Samoray 83d9b3abdd NSX|V+V3: Octavia driver
Implementing the Octavia support for NSX-V & NSX-T.
Follow up patches will handle the TVD plugin, Status updates,
and migration.

Since Octavia is not (yet?) in the requirements, using a hack to allow unittests
to be skipped.

Co-Authored-by: Adit Sarfaty <asarfaty@vmware.com>
Change-Id: Iadb24e7eadcab658faf3e646cc528c2a8a6976e5
2018-10-02 11:19:55 +03:00
Boden R a482824e20 opt in for neutron-lib consumption patches
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: I5bb8de0b7a62043c71010b737bc1d21e7454e4f7
2018-09-27 06:43:30 +00:00
Zuul 782148d240 Merge "update requirements for neutron-lib 1.18.0" 2018-07-29 09:55:41 +00:00
Adit Sarfaty 4759889b5f Upgrade OSC security groups code
The openstack client new version added functionality that the
vmware_nsx code should also add.

Change-Id: Iac22f2204c5215f5d20dc9accdae2a5e75779de5
2018-07-29 10:25:50 +03:00
Boden R 702875e7a2 update requirements for neutron-lib 1.18.0
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/

Change-Id: I8223485e7c311ff6312cc909253060215cfdfa2c
2018-07-23 07:28:56 -06:00
Boden R 2e6ed98749 bump neutron-lib requirement to 1.16.0
This patch bumps the neutron-lib required version to 1.16.0, mainly to
pick up the fix in https://review.openstack.org/#/c/574068/

Change-Id: I8c445f7214164ff91c1513cb019d37b167eb0c9f
2018-06-11 15:00:23 -06:00
Adit Sarfaty 713d7f5081 Add mock to the requirements
Commit I0775e284f21012a01298168d5ca3dd1c74b95f05 added an import of
the mock package, so it should be added to the requirements

Change-Id: I444ab50d5bdb20c528c3a1581dc7e9301ab06dad
2018-05-31 14:50:55 +03:00
Boden R 6abc5a6a8b use db utils from lib
The APIs our consumers are using from neutron.db_utils were rehomed into
neutron-lib with https://review.openstack.org/#/c/540161/ and will be
consumed in neutron with https://review.openstack.org/#/c/565593

This patch switches the applicable imports over to neutron-lib.
It also bumps neutron-lib up to 1.14.0

Change-Id: Iaa30aba3cd0f9d2e90fcbd910723f5332e7b454c
2018-05-02 13:15:30 -06:00
Doug Hellmann 0b8857250c 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.

Change-Id: I815c24e747e29a4bbb1fb80bdf46b216033672fd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 12:09:34 -04:00
Adit Sarfaty 794ae68734 Add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ia65cd41c6d0f4a4847458188cc5afddb06035a23
2018-04-02 13:38:00 +03:00
OpenStack Proposal Bot 7c7ba35404 Updated from global requirements
Change-Id: I9ba6d645a2107056274e07d977a9fd5f7466a1bb
2018-03-26 08:30:54 +00:00
Gary Kotton 1e30a78d93 Update lib to >=12.0.0.0
Change-Id: I4c20cd47bc6d29ee7a14fa5775ebea88b4f38eca
2018-03-25 12:36:28 +03:00
OpenStack Proposal Bot 4cd1a99105 Updated from global requirements
Change-Id: Ic22bc10f9e6cb20bc19fb3796f2b60bcb6e4ec1f
2018-03-23 20:06:20 +00:00