64 EVEL_ERROR(
"Unexpected counter criticality %d", criticality);
108 EVEL_ERROR(
"Unexpected event severity %d", severity);
129 switch (alert_action)
144 EVEL_ERROR(
"Unexpected alert action %d", alert_action);
168 result =
"CARD-ANOMALY";
172 result =
"ELEMENT-ANOMALY";
176 result =
"INTERFACE-ANOMALY";
180 result =
"SERVICE-ANOMALY";
184 EVEL_ERROR(
"Unexpected alert type %d", alert_type);
208 result =
"heartbeat";
216 result =
"measurementsForVfScaling";
220 result =
"measurementsForVfReporting";
224 result =
"mobileFlow";
228 result =
"serviceEvents";
232 result =
"signaling";
236 result =
"stateChange";
290 EVEL_ERROR(
"Unexpected priority %d", priority);
338 result =
"slotThreshold";
342 result =
"portThreshold";
346 result =
"virtualMachine";
350 result =
"virtualNetworkFunction";
355 EVEL_ERROR(
"Unexpected Event Source Type %d", (
int) source_type);
387 result =
"Preparing to terminate";
391 result =
"Ready to terminate";
395 result =
"Requesting termination";
400 EVEL_ERROR(
"Unexpected VF Status %d", vf_status);
425 result =
"inService";
429 result =
"maintenance";
433 result =
"outOfService";
437 EVEL_ERROR(
"Unexpected entity state %d", state);
459 switch (endpoint_desc)
470 EVEL_ERROR(
"Unexpected endpoint description %d", endpoint_desc);
EVEL_EVENT_DOMAINS
Event domains for the various events we support.
char * evel_alert_type(const EVEL_ALERT_TYPES alert_type)
Map an EVEL_ALERT_TYPES enum value to the equivalent string.
char * evel_entity_state(const EVEL_ENTITY_STATE state)
Convert a EVEL_ENTITY_STATE to it's string form for JSON encoding.
A Measurement for VF Reporting event.
char * evel_severity(const EVEL_SEVERITIES severity)
Map an EVEL_SEVERITIES enum value to the equivalent string.
char * evel_source_type(const EVEL_SOURCE_TYPES source_type)
Map an EVEL_SOURCE_TYPES enum value to the equivalent string.
char * evel_service_endpoint_desc(const EVEL_ENTITY_STATE endpoint_desc)
Convert a EVEL_SERVICE_ENDPOINT_DESC to string form for JSON encoding.
char * evel_criticality(const EVEL_COUNTER_CRITICALITIES criticality)
Map an EVEL_COUNTER_CRITICALITIES enum value to the equivalent string.
#define EVEL_ERROR(FMT,...)
EVEL_SOURCE_TYPES
Fault source types.
EVEL_ALERT_TYPES
Alert types.
char * evel_alert_action(const EVEL_ALERT_ACTIONS alert_action)
Map an EVEL_ALERT_ACTIONS enum value to the equivalent string.
EVEL_VF_STATUSES
Fault VNF Status.
EVEL_SEVERITIES
Fault / Threshold severities.
char * evel_event_domain(const EVEL_EVENT_DOMAINS domain)
Map an EVEL_EVENT_DOMAINS enum value to the equivalent string.
A Heartbeat event (event header only).
char * evel_vf_status(const EVEL_VF_STATUSES vf_status)
Map an EVEL_VF_STATUSES enum value to the equivalent string.
A Measurement for VF Scaling event.
Internal event, not for external routing.
EVEL_ALERT_ACTIONS
Alert actions.
EVEL_EVENT_PRIORITIES
Event priorities.
EVEL internal definitions.
EVEL_ENTITY_STATE
Alert types.
char * evel_event_priority(const EVEL_EVENT_PRIORITIES priority)
Map an EVEL_EVENT_PRIORITIES enum value to the equivalent string.
EVEL_COUNTER_CRITICALITIES
Counter criticalities.