diff options
author | 2021-03-16 22:23:27 +0000 | |
---|---|---|
committer | 2021-03-16 22:23:27 +0000 | |
commit | a652db5d8c8fb8a353893cf0e8c811cf0f3448e6 (patch) | |
tree | a039c44e7bacceb8f729c349b945c116d2e1540a /components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json | |
parent | 2b571e01e0b8915f4a00cace7a7e39aee1826f37 (diff) | |
parent | 03f38c6e5986cc2997e67d6b234902d8d25f2fcf (diff) |
Merge "[PMSH] Update the data-format schema for events"
Diffstat (limited to 'components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json')
-rwxr-xr-x | components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json b/components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json new file mode 100755 index 00000000..b5cfa8bf --- /dev/null +++ b/components/pm-subscription-handler/dpo/data-formats/dcae-cl-output.json @@ -0,0 +1,146 @@ +{ + "self": { + "name": "DCAE_CL_OUTPUT", + "version": "1.0.0", + "description": "The output format of PM Subscription CL event sent to Policy." + }, + "dataformatversion": "1.0.0", + "jsonSchema": { + "name": "PM Subscription CL event", + "version": "1.0.0", + "properties": { + "name": "PM Subscription CL event", + "version": "1.0.0", + "nfName": { + "type": "string", + "description": "The name of the nf in A&AI." + }, + "ipv4Address": { + "type": "string", + "description": "The ipv4address of the nf being targeted." + }, + "policyName": { + "type": "string", + "description": "The name of the Operational Policy driving the DCAE microservice." + }, + "closedLoopControlName": { + "type": "string", + "description": "This is the unique ID for the Control Loop. It is created by the CLAMP platform during Control Loop design." + }, + "blueprintName": { + "type": "string", + "description": "The name of the blueprint to be executed by CDS towards the nf." + }, + "blueprintVersion": { + "type": "string", + "description": "The version of the blueprint to be executed by CDS towards the nf." + }, + "changeType": { + "type": "string", + "description": "This is the change indicator that determines whether to apply/remove a PM subscription.", + "enum": [ + "CREATE", + "DELETE" + ] + }, + "subscription": { + "type": "object", + "description": "This is the PM subscription to be applied/removed to/from an xNF.", + "properties": { + "administrativeState": { + "type": "string", + "description": "The administrative state of the subscription object.", + "enum": [ + "UNLOCKED", + "LOCKED" + ] + }, + "subscriptionName": { + "type": "string", + "description": "The unique name of the subscription object." + }, + "fileBasedGP": { + "type": "integer", + "description": "The granularity period of measurement collection in minutes." + }, + "fileLocation": { + "type": "string", + "description": "The location of the PM measurements file on the nf." + }, + "measurementGroups": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "measurementGroup": { + "type": "object", + "properties": { + "measurementTypes": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "measurementType": { + "type": "string" + } + }, + "required": [ + "measurementType" + ] + } + ] + }, + "managedObjectDNsBasic": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "DN": { + "type": "string" + } + }, + "required": [ + "DN" + ] + } + ] + } + }, + "required": [ + "measurementTypes", + "managedObjectDNsBasic" + ] + } + }, + "required": [ + "measurementGroup" + ] + } + ] + } + }, + "required": [ + "subscriptionName", + "administrativeState", + "fileBasedGP", + "fileLocation", + "measurementGroups" + ] + } + }, + "required": [ + "nfName", + "ipv4Address", + "policyName", + "closedLoopControlName", + "blueprintName", + "blueprintVersion", + "changeType", + "subscription" + ] + } +} + |