Build 2740: Script changes required for alarm test cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Ankit Jain |
Bug Description
Alarm scripts need to be modified as per the latest dev changes.
Alarm rule structure has changed due to the latest dev changes ( and_list and or_list added)
New alarm rule struct:
alarm_rules: {
or_list: [
{
and_list: [
{
condition: {
operation: "==",
operand1: "NodeStatus.
vars: [ ],
operand2: "null"
},
match: [
{
json_operand1_
json_vars: { }
}
]
}
]
}
]
},
token: "eyJ0aW1lc3RhbX
type: "process-status"
}
old alarm struct:
rules": [
{
"rule": [
{
},
]
}
]
}
],
Changed in juniperopenstack: | |
importance: | Undecided → High |
Changed in juniperopenstack: | |
status: | New → Fix Committed |
https:/ /review. opencontrail. org/#/c/ 21931/