config-perf: restrict db fetch to only obj_uuids when specified
In ifmap_frontend.py autogenerator, for the cassandra_<type>_list method,
any passed obj_uuids is used as a filter along with parent_id or back_ref_id.
obj_uuids passed on its own is ignored. Fix this and if only obj_uuids
is passed restrict the fetch from database to only the specified object uuids.
Change-Id: Ibe688d3832b6d667c4fd43777360d46e5d60a501
Closes-Bug: #1431035
(cherry picked from commit a96a28280d1010f472a21b5f90e7aa7933b5d74f)
Reviewed: https:/ /review. opencontrail. org/8386 github. org/Juniper/ contrail- generateDS/ commit/ 66fa97706b85399 fae035573a289e6 0d2fe0e750
Committed: http://
Submitter: Zuul
Branch: R2.1
commit 66fa97706b85399 fae035573a289e6 0d2fe0e750
Author: Hampapur Ajay <email address hidden>
Date: Wed Mar 11 14:36:08 2015 -0700
config-perf: restrict db fetch to only obj_uuids when specified
In ifmap_frontend.py autogenerator, for the cassandra_ <type>_ list method,
any passed obj_uuids is used as a filter along with parent_id or back_ref_id.
obj_uuids passed on its own is ignored. Fix this and if only obj_uuids
is passed restrict the fetch from database to only the specified object uuids.
Change-Id: Ibe688d3832b6d6 67c4fd43777360d 46e5d60a501 472a21b5f90e7aa 7933b5d74f)
Closes-Bug: #1431035
(cherry picked from commit a96a28280d1010f