config-perf: In cassandra_<x>_list restrict fetch to obj_uuids if speicified

Bug #1431035 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Hampapur Ajay
R2.0
Fix Committed
Undecided
Hampapur Ajay
R2.1
Fix Committed
Undecided
Hampapur Ajay

Bug Description

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.

Tags: config
Hampapur Ajay (hajay)
Changed in juniperopenstack:
assignee: nobody → Hampapur Ajay (hajay)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8268
Submitter: Hampapur Ajay (<email address hidden>)

tags: added: config
Changed in juniperopenstack:
importance: Undecided → Medium
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8268
Committed: http://github.org/Juniper/contrail-generateDS/commit/a96a28280d1010f472a21b5f90e7aa7933b5d74f
Submitter: Zuul
Branch: master

commit a96a28280d1010f472a21b5f90e7aa7933b5d74f
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: Ibe688d3832b6d667c4fd43777360d46e5d60a501
Closes-Bug: #1431035

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8386
Submitter: Hampapur Ajay (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.0

Review in progress for https://review.opencontrail.org/8387
Submitter: Hampapur Ajay (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8387
Committed: http://github.org/Juniper/contrail-generateDS/commit/f61d41cb161c1c6bb7c600ce5778c694abed2395
Submitter: Zuul
Branch: R2.0

commit f61d41cb161c1c6bb7c600ce5778c694abed2395
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: Ibe688d3832b6d667c4fd43777360d46e5d60a501
Closes-Bug: #1431035
(cherry picked from commit a96a28280d1010f472a21b5f90e7aa7933b5d74f)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/8386
Committed: http://github.org/Juniper/contrail-generateDS/commit/66fa97706b85399fae035573a289e60d2fe0e750
Submitter: Zuul
Branch: R2.1

commit 66fa97706b85399fae035573a289e60d2fe0e750
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: Ibe688d3832b6d667c4fd43777360d46e5d60a501
Closes-Bug: #1431035
(cherry picked from commit a96a28280d1010f472a21b5f90e7aa7933b5d74f)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.