23 Commits

Author SHA1 Message Date
Nisar Khan
c3bba3a27c Add Support Python3.12
Change-Id: I55d506c7405cd0305f61160b33b036ac5e05fe17
2024-11-18 04:02:54 +00:00
Nisar Khan
79a05d4908 Add Caracal Support
Change-Id: Ic6f9707cf7555c4cad729608359626b3cfa1c846
2024-11-06 10:31:49 +00:00
Nisar Khan
53a942c2b8 Add Bobcat Support
Change-Id: I3b53ec07b635908b3d980b7c4d1e660daa815d4e
2024-10-29 04:37:55 +00:00
Thomas Bachman
f1355f85d6 Fix py312 gate
Make the py312 gate non-voting until we have full support for that
version.

Change-Id: I16b41de9edbe912772d206015c6622d576f4e3b1
2024-10-01 11:09:10 +00:00
Thomas Bachman
5e605dae20 Remove voting for py311 gate
Remove voting for the py38, 310, and 311 gate jobs, until we can get the upstream
gate to pass reliably.

Change-Id: I0f062c2c2dc7c59d68be454095809f44bdfb24bd
2024-05-16 20:32:33 +00:00
Nisar Khan
0ea889f1bf Add Antelope Support
Change-Id: If26864ec1ae59e65c540887af7487ac3f470db20
2023-11-20 04:41:41 +00:00
Pulkit vajpayee
1a825ef921 Add_zed_support
Change-Id: I48b96bfd44330f9e75fa27c5b9ecc63ab95f4ffd
2023-10-03 05:57:54 +00:00
mdsufair
cb3efe4afa Add python39 gate support
Change-Id: Ia1dc763b18a4e05ac28c6f7590ec8645edd320b6
2023-01-31 11:47:15 +00:00
Thomas Bachman
00bd9462b6 Remove py37 jobs from gate
The py37 job is removed, as it's not used in recent releases.

Change-Id: I4cd1f045ea42fe10defd7adf00d63e3440736cf7
2022-10-04 01:37:58 +00:00
Thomas Bachman
d1f32d9958 Remove python39 from voting
A recent change upstream has broken the python39 job.
Remove voting rights for this gate temporarily, as
python39 currently isn't being deployed.

Change-Id: Ib664e576f306d16afc20a1a4d62c8105cece2877
2022-09-29 02:25:43 +00:00
pulkitvajpayee07
549f0f3688 Add support for yoga
Change-Id: I010a02cc9e4128c92f4bfed1b62844c57961df08
2022-05-26 16:01:17 +00:00
snehal Tembhurne
ada3eee179 Add support for xena
Change-Id: Id533f439bc0e832b03a20352aca903cbc7ba212e
2022-02-07 06:10:57 +00:00
Sneha Maniraju
8dd1730bae Setting legacy-group-based-policy-dsvm-aim to non-voting gate
Neutron-lbaas was removed as part of this change:
openstack/openstack-zuul-jobs@7a3eb3afeb
This results in gating jobs to fail. Setting to non-voting till fix

Change-Id: If0b070fed753da3616bba7b6fd26b69a8d728ac4
2021-07-29 22:30:48 -07:00
Sayali Naval
76d9efb688 Add support for Wallaby
Add support for wallaby.
Below were the extra changes needed to support
the wallaby branch:
1. Add new attribute 'remote_address_group_id'
for the security group resource.
2. Handle new standard_attr_id argument for resources.
3. Fix kwargs passed to the alembic migrations
create_foreign_key and create_primary_key.
4. Change CONTEXT_WRITER to CONTEXT_READER in the
get_subnets function.

Change-Id: I3835df151cad2f7ca52afcb701de2bc508c90014
2021-07-12 21:50:23 -07:00
Thomas Bachman
0a1c33e667 Add support for victoria
Add support for stable victoria. Changes include:
* https://review.opendev.org/#/c/716049/ switched to unittest for mock

Change-Id: I053657f535d985205ae9d3548291ec1d1409cb74
2021-02-18 18:39:08 +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
Thomas Bachman
211b8a7f4b Make AIM dsvm job voting
Voting for the AIM dsvm gate job was temporarily turned off as part
of https://review.opendev.org/#/c/735257/. This should be reverted
to ensure that the AIM dsvm gate job is voting.

Change-Id: I0be0172a20ce72d911c051de5dc22c01c03f5480
2020-09-03 14:36:50 +00:00
Robert Kukura
25c7d0c6c8 Add support for upstream Stein release
Import stable/stein rather than stable/rocky branches of upstream
and ACI-specific repositories.

Changes include:
* https://review.opendev.org/#/c/634790/ removed the rpc module
  from neutron.common, which was rehomed to neutron-lib.
* https://review.opendev.org/#/c/634497/ removed the exceptions
  module from neutron.common, which was rehomed to neutron-lib.
* https://review.opendev.org/#/c/581377/ removed exercises from the
  devstack gate. The shell scripts that ran the tests from the
  devstack exercises are now called directly.
* https://review.opendev.org/#/c/619087/ removed the common_db_mixin
  from the FlowClassifierDbPlugin, replacing it with the use of a
  method in neutron-lib.
* https://review.opendev.org/#/c/595369/ removed _setUpExtension,
  replacing it with the setup_extension method.
* https://review.opendev.org/#/c/623415/ added validation to host
  route CIDRs. The metadata CIDRs have been corrected to pass
  this new validation.
* https://review.opendev.org/#/c/615486/ added a call to get a
  nova client, and https://review.opendev.org/#/c/368631/ was
  added to ensure it was a singleton. These are now used to get
  a notifier for nova.
* https://review.opendev.org/#/c/628033/ removed the use of the
  _resource_extend module, which has been moved to neutron-lib.
* https://review.opendev.org/#/c/585037/ converted policy.json
  to policy in code. This resulted in better policy enforcement,
  and flagged problems with existing UTs, mainly in the use of
  shared resources (requires admin privileges). These UTs have
  been fixed.

Change-Id: Ia7bd0799a814e38ff37b7ff062fa1eae7928991c
2020-08-31 20:18:14 +00:00
Robert Kukura
4fa2839c9d Add support for upstream Rocky release
Import stable/rocky rather than stable/queens branches of upstream
and ACI-specific repositories. Changes needed for compatability
with stable/rocky that were also compatible with stable/queens were
made in previous patches, so only rocky-specific changes are included
here.

Change-Id: If533a955fb4bc23d6e4081a43df7018b1b36a0ba
2020-06-11 14:38:53 -04: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
Thomas Bachman
a6850c5278 Make aim functional gate job voting
Commit 1b996593ddef6bf9759aeb676e3bd6abf9d056f9 inadvertently
removed the aim functional job from the voting gate jobs. This
patch adds it back.

Change-Id: I5c066a20ee507a62056569ddd1a0d21cae64262c
2020-05-19 12:12:40 +00:00
Shyam Singh
1b996593dd Added Python3 support.
* dict_items, dict_values, dict_keys returns view in Py3 instead of
	list so wrapped with list.
 * hashlib.md5 needs bytes data in Py3, so encoded data with 'utf-8'.
 * Replaced dict.iteritems() with dict.items().
 * Replaced dict.itervalues() with dict.values().
 * Replaced iterator.next() with next(iterator)
 * 'magicMock' and 'int' cannot be compared, so patched
        'vmware_nsxlib.v3.utils._update_max_nsgroups_criteria_tags()'
        with its return value.
 * Added zip() as a replacement of itertools.izip() in Py3.
 * Added a method to compare 2 (nested) dict or list of (nested) dict,
	since Py3 (till python3.6) dict are not ordered.
 * Added zuul python35 CI jobs.
 * Added py35 env in 'tox.ini'.
 * Added patcher.stop() in 'NsxPolicyMappingTestCase' tearDown().

Fixes bug 1877200

Change-Id: Id96faba6c2ecd29918bda000ac0ccbfdf988d17d
2020-05-19 01:51:00 +00:00