Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


FaultAction
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. (sad)
Host


Image Modified

Code Block
languagejava
titleRefer to Holmes rule
linenumberstrue
collapsetrue
public class VesAlarm{
    private String eventId;
    private String sourceIdsourceName;
    private String specificProblem;
    private long startEpochMicrosec;
    
    // getters and setters are ommitted for brevity
    ...
}
Code Block
languagejava
titleRefer to Holmes rule
linenumberstrue
collapsetrue
package dcae.ves.test
import org.onap.some.related.packages;

// Alarm specific problems used in the following rules:
// specificProblem
// Standby_MPU_offlineThe slave MPU board is offline or abnormal
// No heartbeat, The guest OS has indicated a failure, requiring VM is not availablerestart

// the entity of the rule
rule "SameVNF_Relation_Rule"
salience 120
no-loop true
    when
        $root : VesAlarm(                                  
            $sourceId$sourceName: sourceIdsourceName, sourceIdsourceName != null && !sourceIdsourceName.equals(""),
            specificProblem in ( "No heartbeat,The guest OS has indicated a failure, requiring VM is not availablerestart" ),
            $eventId: eventId)                                 
        $child : VesAlarm( eventId != $eventId,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceIdsourceName, $sourceId$sourceName),
            specificProblem in ("Standby_MPU_offlineThe slave MPU board is offline or abnormal"),
            this after [-60s, 60s] $root)                      
    then                   
        DmaapService.publishResult(...);       
end

...