diff options
author | an4828 <nekrassov@att.com> | 2017-10-06 15:26:08 -0400 |
---|---|---|
committer | an4828 <nekrassov@att.com> | 2017-10-09 13:09:59 -0400 |
commit | e3e8eba1ac078378599ed550953bdc2f1f4b2e21 (patch) | |
tree | 417e294bf211287f8e56c09523f27f371669ceeb /dpo/tcaOutput.json | |
parent | 294cba47b07654e90b6be22e9b59b308d100243d (diff) |
Updates to TCA spec and output format
Change-Id: I23dd586ca666dfe59fa605f05846b2011d3ba6cd
Signed-off-by: an4828 <nekrassov@att.com>
Issue-ID: DCAEGEN2-123
Signed-off-by: an4828 <nekrassov@att.com>
Diffstat (limited to 'dpo/tcaOutput.json')
-rw-r--r-- | dpo/tcaOutput.json | 81 |
1 files changed, 51 insertions, 30 deletions
diff --git a/dpo/tcaOutput.json b/dpo/tcaOutput.json index 172d63b..065977a 100644 --- a/dpo/tcaOutput.json +++ b/dpo/tcaOutput.json @@ -1,7 +1,7 @@ {
"self": {
"name": "TCA Alert Definition",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "The format of the output event from TCA"
},
"dataformatversion": "1.0.0",
@@ -9,23 +9,62 @@ "name": "TCA Alert",
"version": "1.0.0",
"properties": {
- "closedLoopControlame": {
- "type": "string"
- },
"version": {
- "type": "string"
+ "type": "string",
+ "enum": [
+ "1.0.2"
+ ]
+ },
+ "closedLoopControlName": {
+ "type": "string",
+ "description" : "This is the unique ID for the Control Loop. It is created by the CLAMP platform during Control Loop design"
},
"requestID": {
- "type": "string"
+ "type": "string",
+ "description" : "For the control loop, when an instance of the Control Loop occurs, this unique ID must be created. The same ID must be forwarded for both the ONSET and the ABATED control loop messages"
+ },
+ "closedLoopEventStatus": {
+ "type": "string",
+ "description" : "This is the status of the closedLoopControlName/requestID pair",
+ "enum": [
+ "ONSET",
+ "ABATED"
+ ]
},
"closedLoopAlarmStart": {
- "type": "string"
+ "type": "string",
+ "description" : "When the alarm was first detected"
+ },
+ "closedLoopAlarmEnd" : {
+ "type" : "string",
+ "description" : "When the alarm was cleared. This field need only be present in the ABATED message"
},
"closedLoopEventClient": {
- "type": "string"
+ "type": "string",
+ "description" : "For monitoring/logging/auditing purposes, if there is an instance ID of the DCAE micro service this field should be populated with it"
+ },
+ "policyVersion": {
+ "type": "string",
+ "description" : "The version of the Policy driving the DCAE Micro service. Should be a part of the configuration policy setup by CLAMP and passed by DCAE controller"
+ },
+ "policyName": {
+ "type": "string",
+ "description" : "The name of the Policy driving the DCAE micro service. Should be a part of the configuration policy setup by CLAMP and passed by DCAE controller"
+ },
+ "policyScope": {
+ "type": "string",
+ "description" : "The scope of the Policy driving the DCAE micro service. Should be a part of the configuration policy setup by CLAMP and passed by DCAE controller"
+ },
+ "from": {
+ "type": "string",
+ "description" : "The ONAP platform component publishing this message",
+ "enum": [
+ "DCAE"
+ ]
},
"target_type": {
"type": "string",
+ "description" : "The type of the target: VM or VNF",
"enum": [
"VNF",
"VM"
@@ -33,12 +72,14 @@ },
"target": {
"type": "string",
+ "description" : "This is the name of the field within the A&AI sub-tag that indicates the actual entity Node details. There should be a matching node field within the A&AI subtag holding this value",
"enum": [
"generic-vnf.vnf-id",
"vserver.vserver-name"
]
},
"AAI": {
+ "description" : "Contains the A&AI Node-Attribute list",
"anyOf": [
{
"generic-vnf.vnf-id": {
@@ -51,28 +92,8 @@ }
}
]
- },
- "from": {
- "type": "string",
- "enum": [
- "DCAE"
- ]
- },
- "policyScope": {
- "type": "string"
- },
- "policyName": {
- "type": "string"
- },
- "policyVersion": {
- "type": "string"
- },
- "closedLoopEventStatus": {
- "type": "string",
- "enum": [
- "ONSET"
- ]
}
- }
+ },
+ "required": ["version", "closedLoopControlName", "requestID", "closedLoopEventStatus", "closedLoopAlarmStart", "from", "target_type", "target", "AAI"]
}
}
|