Commit Graph

10 Commits

Author SHA1 Message Date
Boden R 9c2e55cf8e
use object common_types from neutron-lib
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
2019-12-03 18:08:24 +01:00
Boden R 7e3ae0075a Update Neutron Classifier for Zuulv3
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
2019-07-18 11:02:21 -06:00
Sara Nierodzik 30906ec3ff Neutron Classifier bug fixes
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>
2019-07-05 15:51:46 +00:00
David Shaughnessy 30b9277229 Updates to Openstack CLI to reflect Database.
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>
2019-01-29 19:08:36 +00:00
Thaynara Silva 133d5be638 Version 0 Patch
- 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>
2018-08-21 17:37:40 +00:00
Thaynara Silva 28f020f592 Add Database Models and OVOs for classifications
- 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>
2018-06-07 21:10:29 +00:00
Igor Duarte Cardoso b945ada11f Update the neutron-classifier repo
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
2017-07-04 14:06:19 +00:00
Ramanjaneya fb482eb6d5 Support dependent changes to import neutron-lib
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
2016-01-28 18:12:57 +05:30
Sean M. Collins 1b9984fbce Initial Database Models
Use SQLAlchemy support for joined table inheritance

http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/declarative/inheritance.html#joined-table-inheritance
2015-11-01 16:17:53 +09:00
Sean M. Collins ffeaec7540 Initial Cookiecutter Commit. 2015-10-30 14:38:48 +09:00