...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": { "commonEventHeader": { "sourceId": "example-sotn-controller-id-val-51834", // The value should be the same as what you set to the VM you just mocked. "startEpochMicrosec": 1413378172000000, "eventId": "ab305d54-85b4-a31b-7db2-fb6b977766", "sequence": 0, "domain": "fault", "lastEpochMicrosec": 1413378172000033, "eventName": "Fault_Route_Failure", "sourceName": "example-SOTN-Controller-name-val-5470", // The value should be the same as what you set to the VM you just mocked. "priority": "High", "version": 3.0, "reportingEntityName": "Domain_Contorller" }, "faultFields": { "eventSeverity": "CRITICAL", "alarmCondition": "Route_Down", "faultFieldsVersion": 2.0, "specificProblem": "Fault_SOTN_Service_Failure", "alarmAdditionalInformation": [{ "name": "service-instancec-id", "value": "service-instance-01" }, { "name": "remote-nodeId", // ... might not be needed "value": "example-node-id" } ] "eventSourceType": "other", "vfStatus": "Active" } } } |
These alarms are published to the unauthenticated.SEC_FAULT_OUTPUT topic of DMaaP.
HOLMES
CCVPN Close Loop requires Holmes to correlate route down alarms from SOTN Controllers from different sites. (Refer to this page on Holmes installation,)
...
Rule Creation
Rule Execution
After the correlation is done successfully, there should be a corresponding control loop event defined in the following section published on the unauthenticated.DCAE_CL_OUTPUT topic of DMaaP.
POLICY
Policy Creation
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
controlLoop: version: 2.0.0 controlLoopName: ControlLoop-CCVPN-2179b738-fd36-4843-a71a-a8c24c70c55b trigger_policy: unique-policy-id-16-deleteSOTNService, unique-policy-id-17-createSOTNService timeout: 3600 abatement: false policies: - id: unique-policy-id-16-deleteSOTNService name: Delete SOTN Service description: actor: SO recipe: DeleteE2EService target: type: VM retry: 3 timeout: 1200 success: final_success failure: final_failure failure_timeout: final_failure_timeout failure_retries: final_failure_retries failure_exception: final_failure_exception failure_guard: final_failure_guard - id: unique-policy-id-17-createSOTNService name: Create SOTN Service description: actor: SO recipe: CreateE2EService target: type: VM retry: 3 timeout: 1200 success: final_success failure: final_failure failure_timeout: final_failure_timeout failure_retries: final_failure_retries failure_exception: final_failure_exception failure_guard: final_failure_guard |
...