Handle the case when both operand1 and operand2 in the alarm config can evaluate to a list

Bug #1602789 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Medium
Sundaresan Rajangam
Trunk
Fix Committed
Medium
Sundaresan Rajangam

Bug Description

Presently, the alarm evaluation code only handles the case where the operand1 evaluates to a list. Need to handle the following cases:
1) operand1 is list and operand2 is not list
2) operand1 is not a list and operand2 is a list
3) both operand1 and operand2 evaluates to a list

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/21950
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/21957
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/21950
Committed: http://github.org/Juniper/contrail-controller/commit/9591267581e74c11087e3b111f54808ee69f8539
Submitter: Zuul
Branch: master

commit 9591267581e74c11087e3b111f54808ee69f8539
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Jul 13 11:03:51 2016 -0700

Handle all cases where operand1/operand2 in alarm config evaluates to a
list

Change-Id: I27c356cf81ee264d2194361bc17e47e1a051e52f
Closes-Bug: #1602789

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

Reviewed: https://review.opencontrail.org/21957
Committed: http://github.org/Juniper/contrail-controller/commit/3b0dd764ccebe2c095bb878f22ce94290007720f
Submitter: Zuul
Branch: R3.1

commit 3b0dd764ccebe2c095bb878f22ce94290007720f
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Jul 13 11:03:51 2016 -0700

Handle all cases where operand1/operand2 in alarm config evaluates to a
list

Change-Id: I27c356cf81ee264d2194361bc17e47e1a051e52f
Closes-Bug: #1602789
(cherry picked from commit 9591267581e74c11087e3b111f54808ee69f8539)

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.