commit 412012de59191d1340e3a03ab87af0ae704e4675
Author: Artur Korzeniewski <email address hidden>
Date: Thu Mar 10 14:05:12 2016 +0100
Create a hook in base object to modify the fields before DB operations
Added modify_fields_to_db(), modify_fields_from_db() methods and
fields_need_translation dict to define the map what name in object
implementation should be changed to database naming.
It will prepare dicts before writing to DB and also modify the DB output
to match the OVO layout.
Reviewed: https:/ /review. openstack. org/281850 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=412012de591 91d1340e3a03ab8 7af0ae704e4675
Committed: https:/
Submitter: Jenkins
Branch: master
commit 412012de59191d1 340e3a03ab87af0 ae704e4675
Author: Artur Korzeniewski <email address hidden>
Date: Thu Mar 10 14:05:12 2016 +0100
Create a hook in base object to modify the fields before DB operations
Added modify_ fields_ to_db() , modify_ fields_ from_db( ) methods and need_translatio n dict to define the map what name in object
fields_
implementation should be changed to database naming.
It will prepare dicts before writing to DB and also modify the DB output
to match the OVO layout.
Partial-Bug: #1541928 e5756b307760f9d 502c53c18b1
Change-Id: I923b58870584c5