...
Fault | Action | |
---|---|---|
VNF | VNF Fault EPC S/P-GW – Standby The slave MPU board is offline or abnormal | Retart VNF |
Guest | VM FaultVM OS abnormal, Kernel Panic, VM does not send a heartbeat to an external watchdog service for a long time .The guest OS has indicated a failure, requiring VM restart | I don't know how to merge this column. |
Host |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
public class VesAlarm{
private String eventId;
private String sourceName;
private String specificProblem;
private long startEpochMicrosec;
// getters and setters are ommitted for brevity
...
} |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
package dcae.ves.test
import org.onap.some.related.packages;
// Alarm specific problems used in the following rules:
// specificProblem
// The slave MPU board is offline or abnormal
// The guest OS has indicated a failure, requiring VM restart
// the entity of the rule
rule "SameVNF_Relation_Rule"
salience 120
no-loop true
when
$root : VesAlarm(
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
specificProblem in ( "The guest OS has indicated a failure, requiring VM restart" ),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceName, $sourceName),
specificProblem in ("The slave MPU board is offline or abnormal"),
this after [-60s, 60s] $root)
then
DmaapService.publishResult(...);
end |