/
VES Component

VES Component



Reference

Wiki page DCAE mS Deployment (Standalone instantiation)



Sending Alarm Event to VES

Example of alarm event sent from VFC EMS driver:  sampleems

Curl command to send REST request to VES

ubuntu@vm03-dcae-controller:~$ curl -i  -X POST -d @sampleems --header "Content-Type: application/json" http://localhost:8080/eventListener/v5 -k



Receiving Event Sent by VES

Use browser to listen to DMAAP event topic, you may need to send REST request twice (the first one is register user)

http://{dmaap_ip}:3904/events/unauthenticated.SEC_FAULT_OUTPUT/xuyang11/1?timeout=120

or >curl http://{dmaap_ip}:3904/events/unauthenticated.SEC_FAULT_OUTPUT/xuyang11/1?timeout=120

Result shown on browser:

["{\"VESversion\":\"v5\",\"event\":{\"commonEventHeader\":{\"sourceId\":\"VNF_194.15.13.138\",\"startEpochMicrosec\":1501518702,\"eventId\":\"1501489595451\",\"nfcNamingCode\":\"\",\"reportingEntityId\":\"0000ZTHX1\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Thu, 10 19 2017 01:02:04 GMT\"},\"eventType\":\"applicationVnf\",\"priority\":\"High\",\"version\":3,\"reportingEntityName\":\"0000ZTHX1\",\"sequence\":960,\"domain\":\"fault\",\"lastEpochMicrosec\":1501518702,\"eventName\":\"Slave MPU is offline\",\"sourceName\":\"VNF_194.15.13.138\",\"nfNamingCode\":\"\"},\"faultFields\":{\"eventSeverity\":\"CRITICAL\",\"alarmCondition\":\"The slave MPU board is offline or abnormal\",\"faultFieldsVersion\":2,\"eventCategory\":\"equipmentAlarm\",\"specificProblem\":\"The slave MPU board is offline or abnormal\",\"alarmInterfaceA\":\"VNF_194.15.13.138\",\"alarmAdditionalInformation\":[{\"name\":\"specificProblemID\",\"value\":\"315\"},{\"name\":\"objectUID\",\"value\":\"0000ZTHX1PGWGJI6V1\"},{\"name\":\"locationInfo\",\"value\":\"MPU_22_20_0\"},{\"name\":\"addInfo\",\"value\":\"Aid:17;AlarmCode:110010;AlarmReasonCode:110010;Remark:\\\"DeployUnit=22,Node=21,SubNode=0\\\";\"}],\"eventSourceType\":\"PgwFunction\",\"vfStatus\":\"Active\"}}}"]













Related content

VES-Notification processing
VES-Notification processing
More like this
CM Notification Support in ONAP
CM Notification Support in ONAP
More like this
DCAE API
DCAE API
More like this
DCAE SDK
DCAE SDK
More like this
ARC DCAE Component Description - London-R12
ARC DCAE Component Description - London-R12
More like this
CM handling guide
CM handling guide
More like this