]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
- added network and port models into the l2network plugin instead of using quantum...
authorrohitagarwalla <roagarwa@cisco.com>
Wed, 10 Aug 2011 20:01:35 +0000 (13:01 -0700)
committerrohitagarwalla <roagarwa@cisco.com>
Wed, 10 Aug 2011 20:01:35 +0000 (13:01 -0700)
commit0d404e9eb8effd1e5e562a91de33916620af7e75
treeb81b7f34cc0607834e5d02063e3968b8a6b30f3e
parentd64f886d05194185c932902a9ae13fec071cc87a
- added network and port models into the l2network plugin instead of using quantum models
- added api methods for network and ports
- restructured code to use the l2network network and port
- added l2network base class for other tables to inherit
- added support for l2network plugin model objects to behave like dictionary (gets rid of code to convert objects into dictionaries)
- added foreign key constraints to l2network plugin model attributes representing columns
- added attributes to represent relation between models in l2network plugin
- added joinedload only to network and port (need to to for others)
- added InnoDB as the storage medium in base table for imposing foreign keys
- updated l2network test cases to handle foreign key constraints
quantum/plugins/cisco/db/l2network_db.py
quantum/plugins/cisco/db/l2network_models.py