Commit Graph

12 Commits

Author SHA1 Message Date
Pulkit vajpayee 751d1ca08b Remove Monkey patch
Change-Id: Ic89dc4ccc174effe923e4e4db1d484990afb8141
2023-06-22 05:14:07 +00:00
Thomas Bachman 5588d7217e Add support for ussuri
Add support for the ussuri stable branch.
* Removed use of services in devstack (e.g. FWaaS and LBaas), which
  were only used by the deprecated legacy plugin.
* https://review.opendev.org/#/c/572767/ changed the return
  value of _get_security_groups_on_port from a list of security
  group IDs to a list of security group OVOs. The monkey patch
  of this method has been updated to be consistent with this
  upstream change.
* https://review.opendev.org/#/c/703143/ removed the upstream
  get_binding_levels, which is replaced by the corresponding
  OVO call, get_binding_level_objs.
* https://review.opendev.org/#/c/709122/ broke the __repr__
  method in the AddressScope model class. This patch works
  around this by using the dictionary representation instead.
* https://review.opendev.org/#/c/679399/ made the MTU field
  of networks non-nullable, and sets it to a constant if not
  set explicitly. This broke GBP APIs which create networks
  as part of their implementation. This patch adds a monkey
  patch to pass in a value of 0, if one wasn't specified.
* Fixed alias uncovered by PEP8 checks.

Change-Id: I219bc9a5c2034499e59788ab11ef0ae310e97e1e
2020-09-23 21:35:47 +00:00
Thomas Bachman edfc259d88 Add support for train
Add support for stable/train branch.

Changes include:
* neutron-lbaas doesn't have a stable/train branch. The
  legacy services code references LBaaS, but is no longer
  supported, so the include can be removed. A patch series
  should be created to deprecate the legacy services code.
* https://review.opendev.org/#/c/635664/ removed the
  common_db_mixin
* https://review.opendev.org/#/c/649672/ moved the trunk
  services constants to neutron-lib
* https://review.opendev.org/#/c/666409/ removed the
  _check_router_needs_rescheduling function, so it no
  longer needs to be mocked during UTs.
* https://review.opendev.org/#/c/635664/ removed the
  CommonDbMixin.
* https://review.opendev.org/#/c/648761/ moved the
  neutron constants to neutron-lib
* https://review.opendev.org/#/c/634497/ moved the
  neutron exceptions to neutron-lib
* https://review.opendev.org/#/c/649672/ moved the
  trunk constants to neutron-lib, which uses different
  trunk state constant names.
* Use the trunk resource names defined in neutron-lib
  callbacks, instead of trunk constants.
* https://review.opendev.org/#/c/729250/ moved the constant
  used for auto-deletion of neutron ports.
* https://review.opendev.org/#/c/657887/ moved the StaticSqlFixture
  class to neutron-lib.

Change-Id: I9a79c590de7e1654d815987d0f99cfdb4e7baab0
2020-09-14 22:07:48 +00:00
Robert Kukura ca82a36cb1 Cleanup Queens (part 2)
Enhance compatabilty with newer Neutron branches while maintaining
compatability with stable/queens Neutron, and improve the build/test
process. Highlights include:

* Eliminate unneeded requirements and test-requirements, and update
  remaining ones to match upstream stable/queens Neutron.

* Use pip directly instead of the tox_install.sh script to install
  dependencies, as is done on newer upstream branches.

* Use stestr directly instead of ostestr to run UTs, as is done in newer
  upstream branches.

* Specify basepython as python2.7 for pep8, cover, functional and
  dsvm-functional jobs, in case a python3 version of tox is used.

* Fix pep8 issues that result in failures with the versions of hacking
  and flake8 used by Neutron's stable/rocky through stable/train
  branches. These changes are not necessary with the hacking and
  flake8 versions used in stable/queens, but we want to minimize code
  differences across our currently supported stable branches.

* Enable flake8-import-order and fix all the pep8 issues that it
  uncovered, particularly with order and grouping of import
  statements.

* Update pep8 configuration in tox.ini to more closely match upstream
  Neutron, and fix resulting issues. Remaining ignored checks that
  should be fixed but haven't been are marked with REVISIT in tox.ini.

* Update devstack scripts with proper branches and repository URLs.

Change-Id: I538b8c95c61a09d834be4b7c28a3becf2f3e6a50
2020-06-09 13:14:11 -04:00
Kent Wu c215f71376 For queens sync
Change-Id: I381411ad2285257b49bd78ae22c734cea07315c9
2018-09-07 16:24:08 -07:00
Sumit Naiksatam 3143af2781 Pin keystoneclient to liberty branch
Change-Id: I98ce9524428c532bbb19af3093f8dc771f503081
2016-01-14 10:08:36 -08:00
Sumit Naiksatam d27c8ecc71 Reset oslo pinning
These were added to get past the gate breakage, but now the appropriate
version constraints have been added to the global requirements.

Change-Id: I732203d2066761152ac297f7cf42ac40bad69b4d
2015-09-17 20:45:24 -07:00
Ivar Lazzaro 411af3a965 remove unique constraint from ES ip address mapping
Verifying the uniqueness in software to allow for empty
address to be set.

Change-Id: If359130db372a29374020a4f82c683bb5bbb6ef3
Closes-Bug: 1496642
2015-09-16 20:53:55 -07:00
Ivar Lazzaro 65489bbae4 Apic driver improvements
- Introducing Opflex agent;
- Multiple PTGs per L2Ps;
- Multiple PTGs same subnet.

Change-Id: I5dcb12daed669131270e589a01cee432b53cd61c
2015-07-01 17:38:44 -07:00
Magesh GV 1ea0d81437 Add oslosphinx to requirements.txt
oslosphinx is required in requirements file for building the
gbp documents

Change-Id: If205bd2b895881df34492521d34c4201b15c8bab
Closes-bug: 1438012
2015-03-30 10:43:20 +05:30
Ivar Lazzaro d6c826c674 Neutron requirement overrides entry points
Group based policy's dependency on neutron causes problems when Neutron is installed by devstack (or manually) before GBP.
More specifically, the GBP installation causes Neutron's entry points to be overridden.

The proposal is to move the requirement to test requirements.

Change-Id: Ia45f093859c1fb4004af2c7d601d784576cdd2d5
Closes-Bug: #1376918
2014-10-02 14:14:55 -07:00
Ivar Lazzaro af3cbdfc7f Project boilerplate and base modules
Change-Id: I2f7031c44afdc8faad33ba7818a90fe5cdc001cc
2014-09-26 15:16:17 -07:00