Switch over to neutron-lib for OVO common_types.
Also update lower constraints and requirements to pass gates
Depends-On: https://review.opendev.org/#/c/664646/
Change-Id: I8d3175f95f567a4ca4ae9d06de09a57ea4656b6a
This patch includes an updated README version.
Changes include:
- update of description paragraph
- addition of feature
- addition of background on the subject column
Change-Id: Id95c90e63dc74aeaba4d4d6b59dd79646020cad1
This patch includes various changes in order to get the functional
job gate for the neutron-classifier to work as expected.
Previous patch includes changes made to openstack tox py36 and py37
jobs. Link to merged patch: https://review.opendev.org/#/c/672725/
Due to the dependency on neutron-lib the patch had to remove
the failing functional job from the gate in order to get merged.
Changes Include:
- removes files that were used by the Zuul v2 functional test
and are not needed anymore.
- adds dsvm-functional tox.ini changes as carried out by
https://review.opendev.org/#/c/674336/ patch.
- remove unneeded extra job variables, the defaults are just fine
and include these settings
- make test_path overridable in .stestr.conf
- make job voting
Change-Id: I180ac6df807864a4fd2b129ab525c7e78bca67c0
Co-Authored-By: Andreas Jaeger <aj@suse.com>
The template openstack-lower-constraints-jobs-neutron does exactly what
the neutron-classifier-lower-constraints job does, so use the global
template.
Change-Id: Ic23bd6fd3ce60681a71502754b4cee80d52e0f33
This patch updates the neutron classifier zuul yaml file.
Part of neutron-sibling setup. [1] Changes based on x/vmware-nsx
project. [2]
Changes include:
- Removes dsvm from functional job.
- Removes devstack and devstack-gate from required-projects.
- Adds glance, placement and nova to required projects
- Makes neutron-classifier-functional-dsvm non-voting.
- Changes the openstack-python3-train-jobs to project template
with neutron.
- Moves the tox_install_siblings to under "vars:" in .zuul.yaml
[1] https://etherpad.openstack.org/p/neutron-sibling-setup
[2] https://review.opendev.org/#/c/670134/
Change-Id: I031d7bef6587f0392a0416c0a29dc8caf72e98bd
Co-Authored-By: Boden R <bodenv@gmail.com>
The current .gitreview file incorrectly points to the openstack
namespace for neutron-classifier, but it should be in the 'x'
namespace. This patch fixes the issue and also it updates the host
for opendev.
Change-Id: I8bcb94e232c3bb721be9e8d8a8aeb0ef26fca5cf
This patch updates the testing of the neutron classifier
repository to be zuulv3 compliant. Changes include:
- Added lower-constraints.txt file.
- Added clarifying comments to requirements.txt including
neutron-lib-current update.
- Removed playbooks/legacy yaml files.
- Modified coverage package version.
- Added to testenv, testenv:dev in tox.ini
This patch is part of the neutron-sibling-setup
as documented in [1]. Changes were also based on zuulv3
opencontrail patch [2] as well as updates made to
x/vmware-nsx project.[3]
[1] https://etherpad.openstack.org/p/neutron-sibling-setup
[2] https://review.opendev.org/#/c/624782/
[3] https://review.opendev.org/#/c/670134/
Change-Id: I46ac45d97a5af24ae234f11952d6883cd3088ff7
Changes include:
-Replace openstack.org link with opendev.org
-Delete pylint
-Change way of adding neutron in the requirements.
-Replace common_db_mixin with 'object'. [Reference:] 957eca96f4
-Update Sphinx requirement version
Change-Id: Ie4eaa32819e04ec8c486e71430b29912e06fab29
Signed-off-by: Sara Nierodzik <sara.nierodzik@intel.com>
Use latest release 1.1.0 and compatible changes w.r.t pep8,
the old version of hacking won't work with Python 3.8
Change-Id: I266ec8d7428f896c4dd51892f374b7ba3df1b237
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I5fa0535ba31933233998cafeccabca9077e44cb3
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I41d32ea87e77b5181e266f56b083c74df275d2fe
Updates to Openstack Client to reflect current
state of Neutron Classiifier classifications
and comply with pep8 standards. Tests included but incomplete
until further changes to core code takes place.
Change-Id: I33165dcf3519912cdbb975366cdc5324d91f3fd7
Co-Authored-By: Nakul Dahiwade <nakul.dahiwade@intel.com>
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I12da130a87f9dd6688ce21812e4c628ad4f0ae0e
- All classification types expressed in a single
resource.
- Classifications can be grouped inside classification
groups resource which can be consumed by other
neutron resources.
- A list of supported classifications exists through
classification type list resource.
- Switch to stestr
Change-Id: I05acaf6419c294692ff270ad4a488a5e68749d67
Co-Authored-By: David Shaughnessy <david.shaughnessy@intel.com>
Co-Authored-By: Nakul Dahiwade <nakul.dahiwade@intel.com>
- Introducing database models and oslo versioned objects for
classification resources used by the common classification
framework service plugin.
- Add playbooks, post_test_hook, gate_hook,
modify requirements, .zuul.yaml for gate.
Add migration test, fix models and migration scripts.
- Change ClassificationType decorator to NeutronObjectRegistry,
add get_objects method.
Remove ClassificationType from object version test,
Add get_bound_tenant_ids to ClassificationGroups
Add openstack-python35-jobs-neutron to zuul.
Change-Id: I41d5b399352b47d74000596e6518e199d36709a7
Co-Authored-By: David Shaughnessy <david.shaughnessy@intel.com>
Co-Authored-By: Nakul Dahiwade <nakul.dahiwade@intel.com>
Co-Authored-By: John Hinman <john.hinman@intel.com>
We do not need to install neutron anymore, this repo only uses
neutron-lib.
Remove tools/tox_install.sh and adjust tox.ini for using it.
Change-Id: I3a91fc221f2103a66f20ff2387974c88f8bd8a23
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Ifabca1c7f682bcaba3964b728c6ed18bad0571ff
Replace the old or invalid http doc links with the lastest ones
according to the official OpenStack website.
Change-Id: I4a0f7d8a06dce7ada20cb84aa335a5b30c61ca2f
- Adds modifications to tox.ini to enable functional testing
- adds the functional sub directory to the tests folder
- adds .zuul file to enable the Gate to start functional testing.
Change-Id: Id40c0feba1741328027bd285e10aa8899b4a12b9
- Introducing database migrations for the neutron common
classification framework.
Change-Id: Iceca7c10aaec7a8566d994ed1acd057818e54d5d
Co-Authored-By: David Shaughnessy <david.shaughnessy@intel.com>
This is a clone of networking-sfc's tools/tox_install.sh
that allows the optimal version of neutron to be installed
when running tox.
Related commit: 10cecb9837d5f8563b5a2f0de6d1081cbde05bdb
Change-Id: I28230acb499c8aa04033fa552da660ec80c4fd03
This is essentially a maintenance patch to make the neutron-classifier
repo pass the gate again, and add a few bits and pieces before the
Common Classification Framework starts to be applied.
Change-Id: I6f075363aeb06820c3ba3262454c5820b1c16bef
Many deprecations are triggered early (on imports, for example)
before the warnings are enabled by the WarningsFixture in the
base test class.
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.
Change-Id: I5084e0ee77f9d84c3110974343b823cb5c78d98f
Make changes for importing neutron-lib to reuse NeutronException
in the patch set https://review.openstack.org/#/c/256355/.
Co-Authored-By: Mohankumar <mohankumar.n@huawei.com>
Change-Id: I124646a8f8cd190272a5d4afa3c8a0925bb444e2
This patch implements API's for
* Saving firewall rules in common classifier model.
* Retrieving firewall rule from the common classfier db.
Change-Id: I64ff4ce875fd909d57375d1c601dc61e86c79f40
Co-Authored-By: Mohankumar <mohankumar.n@huawei.com>
The branch for if classifier_type is model.Ipv4Classifier was
not covered by a unit test, so a typo slipped through. My bad.
Change-Id: Id1ec95d6131226ee8a0055e35f98c24b846499a4
* For clarity, don't abbreviate destination to dst.
* Add support for source_port_range_max and source_port_range_max kwargs
Change-Id: I2ed3bc273a08fe0ec6529432c2416fff409fd309
Since this database is in memory there seems to be an interaction with
tox and how it sets up and runs tests. So let's just create it each time
This reverts commit b32284e787.
Change-Id: I56be0354eae2028f50efe6d5e8034dcdb1766b54
* The Security Group Rule ethertype only has two values: 4 or 6, but the
actual Ethernet protocol specifies Ethertype as a two-octet field. So
lets fix it up and handle the conversion.
* Create a DirectionClassifier that can store INGRESS, EGRESS
and BIDIRECTIONAL directives
* Add get_classifier_group API method to query the DB for a
ClassifierGroup
Change-Id: Ib7d5d83b0c06ad326d100d55a506262dbfc520b3