commit 4b227c3771eba1cbaa27c6c33829108981cd9b69
Author: Artur Korzeniewski <email address hidden>
Date: Tue Mar 1 12:07:15 2016 +0100
Objects DB api: added composite key to handle multiple primary key
Moving CRUD DB operation for objects from db/api.py to objects/db/api.py
Renaming object get_by_id(id) to get_object(**kwargs)
Many models in Neutron DB have complex primary keys, concatenated from
a few properties. This patch adds ability to define multiple primary keys
in NeutronDbObject, which are automatically evaluated into DB query
when performing operations.
Reviewed: https:/ /review. openstack. org/275790 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4b227c3771e ba1cbaa27c6c338 29108981cd9b69
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4b227c3771eba1c baa27c6c3382910 8981cd9b69
Author: Artur Korzeniewski <email address hidden>
Date: Tue Mar 1 12:07:15 2016 +0100
Objects DB api: added composite key to handle multiple primary key
Moving CRUD DB operation for objects from db/api.py to objects/db/api.py **kwargs)
Renaming object get_by_id(id) to get_object(
Many models in Neutron DB have complex primary keys, concatenated from
a few properties. This patch adds ability to define multiple primary keys
in NeutronDbObject, which are automatically evaluated into DB query
when performing operations.
Partial-Bug: #1541928 415ddd40c30c778 ff7541b93dc
Change-Id: I0f63a62418db76