diff options
Diffstat (limited to 'dpo')
-rw-r--r-- | dpo/blueprints/k8s-sonhms-inputs.yaml | 2 | ||||
-rw-r--r-- | dpo/blueprints/k8s-sonhms.yaml | 12 | ||||
-rw-r--r-- | dpo/data-formats/cellListFromSdnr-dataformat.json | 30 | ||||
-rw-r--r-- | dpo/data-formats/configdb-req-dataformat.json | 19 | ||||
-rw-r--r-- | dpo/data-formats/dmaap_son.json | 89 | ||||
-rw-r--r-- | dpo/data-formats/nbrListFromSdnr-dataformat.json | 60 | ||||
-rw-r--r-- | dpo/data-formats/oofToSonAsyncResp-dataformat.json | 178 | ||||
-rw-r--r-- | dpo/data-formats/oofToSonSyncResp-dataformat.json | 72 | ||||
-rw-r--r-- | dpo/data-formats/pciFromSdnr-dataformat.json | 52 | ||||
-rw-r--r-- | dpo/data-formats/pnfNameFromSdnr-dataformat.json | 52 | ||||
-rw-r--r-- | dpo/data-formats/policyToSonReq-dataformat.json | 42 | ||||
-rw-r--r-- | dpo/data-formats/policyToSonResp-dataformat.json | 122 | ||||
-rw-r--r-- | dpo/data-formats/sonInputFromSdnr-dataformat.json | 418 | ||||
-rw-r--r-- | dpo/data-formats/sonToOofReq-dataformat.json | 188 | ||||
-rw-r--r-- | dpo/data-formats/sonToPolicyReq-dataformat.json | 42 | ||||
-rw-r--r-- | dpo/spec/sonhandler-componentspec.json | 606 |
16 files changed, 1006 insertions, 978 deletions
diff --git a/dpo/blueprints/k8s-sonhms-inputs.yaml b/dpo/blueprints/k8s-sonhms-inputs.yaml index 9caf823..42afba4 100644 --- a/dpo/blueprints/k8s-sonhms-inputs.yaml +++ b/dpo/blueprints/k8s-sonhms-inputs.yaml @@ -28,6 +28,8 @@ num_solutions: 5 min_collision: 5 min_confusion: 5 max_clusters: 5 +bad_threshold: 50 +poor_threshold: 70 dmaap: message-router buffer_time: 60 cg: sonhms-cg diff --git a/dpo/blueprints/k8s-sonhms.yaml b/dpo/blueprints/k8s-sonhms.yaml index 172048c..9e43fac 100644 --- a/dpo/blueprints/k8s-sonhms.yaml +++ b/dpo/blueprints/k8s-sonhms.yaml @@ -68,6 +68,14 @@ inputs: type: integer description: maximum clusters default: 5 + bad_threshold: + type: integer + description: threshold for bad neighbors + default: 50 + poor_threshold: + type: integer + description: threshold for poor neighbors + default: 70 dmaap: type: string description: dmaap server @@ -179,7 +187,7 @@ node_templates: client_id: { get_input: topic02_client_id } topic_url: { get_input: topic02_url } type: message-router - streams__publishes: + streams_publishes: CL_topic: aaf_username: { get_input: aaf_username } aaf_password: { get_input: aaf_password } @@ -199,6 +207,8 @@ node_templates: sonhandler.minCollision: { get_input: min_collision } sonhandler.minConfusion: { get_input: min_confusion } sonhandler.maximumClusters: { get_input: max_clusters } + sonhandler.badThreshold: { get_input: bad_threshold } + sonhandler.poorThreshold: { get_input: poor_threshold } sonhandler.sourceId: SONHMS sonhandler.dmaap.server: - { get_input: dmaap } diff --git a/dpo/data-formats/cellListFromSdnr-dataformat.json b/dpo/data-formats/cellListFromSdnr-dataformat.json index 610552e..1875be8 100644 --- a/dpo/data-formats/cellListFromSdnr-dataformat.json +++ b/dpo/data-formats/cellListFromSdnr-dataformat.json @@ -1,18 +1,18 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "", - "items": { - "description": "", - "type": "string" - }, - "type": "array" - }, - "self": { - "description": "", - "name": "CELLLIST_FROM_SDNR", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "self": { + "description": "", + "name": "CELLLIST_FROM_SDNR", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/configdb-req-dataformat.json b/dpo/data-formats/configdb-req-dataformat.json index a40a05c..9549541 100644 --- a/dpo/data-formats/configdb-req-dataformat.json +++ b/dpo/data-formats/configdb-req-dataformat.json @@ -1,12 +1,11 @@ { - "self": { - "name": "CONFIGDB-REQ", - "version": "1.0.0", - "description": "Request to config DB" - - }, - "dataformatversion": "1.0.0", - "unstructured": { - "encoding": "UTF-8" - } + "self": { + "name": "CONFIGDB-REQ", + "version": "1.0.0", + "description": "Request to config DB" + }, + "dataformatversion": "1.0.0", + "unstructured": { + "encoding": "UTF-8" + } } diff --git a/dpo/data-formats/dmaap_son.json b/dpo/data-formats/dmaap_son.json index 43f7b8e..7e4a950 100644 --- a/dpo/data-formats/dmaap_son.json +++ b/dpo/data-formats/dmaap_son.json @@ -1,45 +1,46 @@ -{"nbr_list_change_topic":{ - "type": "message_router", - "aaf_username": "", - "aaf_password": "", - "dmaap_info": { - "client_role": "son-subscriber", - "client_id": "sdnr-son-1", - "location": "onap", - "topic_url": "https://HOSTNAME:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO" - } -}, -"fault_management_topic":{ - "type": "message_router", - "aaf_username": "", - "aaf_password": "", - "dmaap_info": { - "client_role": "son-subscriber", - "client_id": "sdnr-son-1", - "location": "onap", - "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_FAULT_OUTPUT" - } -}, -"performance_management_topic":{ - "type": "message_router", - "aaf_username": "", - "aaf_password": "", - "dmaap_info": { - "client_role": "son-subscriber", - "client_id": "sdnr-son-1", - "location": "onap", - "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_MEASUREMENT_OUTPUT" - } -}, -"CL_topic":{ - "type": "message_router", - "aaf_username": "", - "aaf_password": "", - "dmaap_info": { - "client_role": "policy-publisher", - "client_id": "policy-son-1", - "location": "onap", - "topic_url": "https://HOSTNAME:3905/events/DCAE_CL_OUTPUT" - } -} +{ + "nbr_list_change_topic": { + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO" + } + }, + "fault_management_topic": { + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_FAULT_OUTPUT" + } + }, + "performance_management_topic": { + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_MEASUREMENT_OUTPUT" + } + }, + "CL_topic": { + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "policy-publisher", + "client_id": "policy-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/DCAE_CL_OUTPUT" + } + } } diff --git a/dpo/data-formats/nbrListFromSdnr-dataformat.json b/dpo/data-formats/nbrListFromSdnr-dataformat.json index ad50950..b32ea1f 100644 --- a/dpo/data-formats/nbrListFromSdnr-dataformat.json +++ b/dpo/data-formats/nbrListFromSdnr-dataformat.json @@ -1,33 +1,33 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "", - "items": { - "additionalproperties": true, - "description": "", - "properties": { - "cellId": { - "description": "", - "type": "string" - }, - "pciValue": { - "description": "", - "type": "integer" - } - }, - "required": [ - "cellId", - "pciValue" - ], - "type": "object" - }, - "type": "array" - }, - "self": { - "description": "", - "name": "NBRLST_FROM_SDNR", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "cellId": { + "description": "", + "type": "string" + }, + "pciValue": { + "description": "", + "type": "integer" + } + }, + "required": [ + "cellId", + "pciValue" + ], + "type": "object" + }, + "type": "array" + }, + "self": { + "description": "", + "name": "NBRLST_FROM_SDNR", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/oofToSonAsyncResp-dataformat.json b/dpo/data-formats/oofToSonAsyncResp-dataformat.json index 2668370..bf99528 100644 --- a/dpo/data-formats/oofToSonAsyncResp-dataformat.json +++ b/dpo/data-formats/oofToSonAsyncResp-dataformat.json @@ -1,91 +1,91 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "requestId": { - "description": "", - "type": "string" - }, - "requestStatus": { - "description": "", - "type": "string" - }, - "solutions": { - "description": "", - "items": { - "additionalproperties": true, - "description": "", - "properties": { - "finishTime": { - "description": "", - "type": "string" - }, - "networkId": { - "description": "", - "type": "string" - }, - "pciSolutions": { - "description": "", - "items": { - "additionalproperties": true, - "description": "", - "properties": { - "cellId": { - "description": "", - "type": "string" - }, - "pci": { - "description": "", - "type": "string" - } - }, - "required": [ - "cellId", - "pci" - ], - "type": "object" - }, - "type": "array" - }, - "startTime": { - "description": "", - "type": "string" - } - }, - "required": [ - "finishTime", - "networkId", - "pciSolutions", - "startTime" - ], - "type": "object" - }, - "type": "array" - }, - "statusMessage": { - "description": "", - "type": "string" - }, - "transactionId": { - "description": "", - "type": "string" - } - }, - "required": [ - "requestId", - "requestStatus", - "solutions", - "statusMessage", - "transactionId" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "SON_OOF_ASYNC_RESP", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "requestId": { + "description": "", + "type": "string" + }, + "requestStatus": { + "description": "", + "type": "string" + }, + "solutions": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "finishTime": { + "description": "", + "type": "string" + }, + "networkId": { + "description": "", + "type": "string" + }, + "pciSolutions": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "cellId": { + "description": "", + "type": "string" + }, + "pci": { + "description": "", + "type": "string" + } + }, + "required": [ + "cellId", + "pci" + ], + "type": "object" + }, + "type": "array" + }, + "startTime": { + "description": "", + "type": "string" + } + }, + "required": [ + "finishTime", + "networkId", + "pciSolutions", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "statusMessage": { + "description": "", + "type": "string" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "requestId", + "requestStatus", + "solutions", + "statusMessage", + "transactionId" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_OOF_ASYNC_RESP", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/oofToSonSyncResp-dataformat.json b/dpo/data-formats/oofToSonSyncResp-dataformat.json index 11f8cd0..9f15a06 100644 --- a/dpo/data-formats/oofToSonSyncResp-dataformat.json +++ b/dpo/data-formats/oofToSonSyncResp-dataformat.json @@ -1,38 +1,38 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "requestId": { - "description": "", - "type": "string" - }, - "requestStatus": { - "description": "", - "type": "string" - }, - "statusMessage": { - "description": "", - "type": "string" - }, - "transactionId": { - "description": "", - "type": "string" - } - }, - "required": [ - "requestId", - "requestStatus", - "statusMessage", - "transactionId" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "SON_OOF_SYNC_RESP", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "requestId": { + "description": "", + "type": "string" + }, + "requestStatus": { + "description": "", + "type": "string" + }, + "statusMessage": { + "description": "", + "type": "string" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "requestId", + "requestStatus", + "statusMessage", + "transactionId" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_OOF_SYNC_RESP", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/pciFromSdnr-dataformat.json b/dpo/data-formats/pciFromSdnr-dataformat.json index 5eb8e7c..111d55a 100644 --- a/dpo/data-formats/pciFromSdnr-dataformat.json +++ b/dpo/data-formats/pciFromSdnr-dataformat.json @@ -1,29 +1,29 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "attribute-name": { - "description": "", - "type": "string" - }, - "value": { - "description": "", - "type": "string" - } - }, - "required": [ - "attribute-name", - "value" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "PCI_FROM_SDNR", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "attribute-name": { + "description": "", + "type": "string" + }, + "value": { + "description": "", + "type": "string" + } + }, + "required": [ + "attribute-name", + "value" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "PCI_FROM_SDNR", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/pnfNameFromSdnr-dataformat.json b/dpo/data-formats/pnfNameFromSdnr-dataformat.json index 84787dc..4f9f1d6 100644 --- a/dpo/data-formats/pnfNameFromSdnr-dataformat.json +++ b/dpo/data-formats/pnfNameFromSdnr-dataformat.json @@ -1,29 +1,29 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "attribute-name": { - "description": "", - "type": "string" - }, - "value": { - "description": "", - "type": "string" - } - }, - "required": [ - "attribute-name", - "value" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "PNFNAME_FROM_SDNR", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "attribute-name": { + "description": "", + "type": "string" + }, + "value": { + "description": "", + "type": "string" + } + }, + "required": [ + "attribute-name", + "value" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "PNFNAME_FROM_SDNR", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/policyToSonReq-dataformat.json b/dpo/data-formats/policyToSonReq-dataformat.json index f787695..c677a35 100644 --- a/dpo/data-formats/policyToSonReq-dataformat.json +++ b/dpo/data-formats/policyToSonReq-dataformat.json @@ -1,23 +1,23 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "policyName": { - "description": "", - "type": "string" - } - }, - "required": [ - "policyName" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "SON_TO_POLICY_REST_REQ", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "policyName": { + "description": "", + "type": "string" + } + }, + "required": [ + "policyName" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_POLICY_REST_REQ", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/policyToSonResp-dataformat.json b/dpo/data-formats/policyToSonResp-dataformat.json index 526f145..d409824 100644 --- a/dpo/data-formats/policyToSonResp-dataformat.json +++ b/dpo/data-formats/policyToSonResp-dataformat.json @@ -1,64 +1,64 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "configBody": { - "description": "", - "type": "string" - }, - "configBodyType": { - "description": "", - "type": "string" - }, - "configName": { - "description": "", - "type": "string" - }, - "onapName": { - "description": "", - "type": "string" - }, - "policyClass": { - "description": "", - "type": "string" - }, - "policyConfigType": { - "description": "", - "type": "string" - }, - "policyName": { - "description": "", - "type": "string" - }, - "policyVersion": { - "description": "", - "type": "string" - }, - "ttlDate": { - "description": "", - "type": "string" - } - }, - "required": [ - "configBody", - "configBodyType", - "configName", - "onapName", - "policyClass", - "policyConfigType", - "policyName", - "policyVersion", - "ttlDate" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "POLICY_TO_SON_REST_RESP", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "configBody": { + "description": "", + "type": "string" + }, + "configBodyType": { + "description": "", + "type": "string" + }, + "configName": { + "description": "", + "type": "string" + }, + "onapName": { + "description": "", + "type": "string" + }, + "policyClass": { + "description": "", + "type": "string" + }, + "policyConfigType": { + "description": "", + "type": "string" + }, + "policyName": { + "description": "", + "type": "string" + }, + "policyVersion": { + "description": "", + "type": "string" + }, + "ttlDate": { + "description": "", + "type": "string" + } + }, + "required": [ + "configBody", + "configBodyType", + "configName", + "onapName", + "policyClass", + "policyConfigType", + "policyName", + "policyVersion", + "ttlDate" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "POLICY_TO_SON_REST_RESP", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/sonInputFromSdnr-dataformat.json b/dpo/data-formats/sonInputFromSdnr-dataformat.json index de8c017..0ff1bc7 100644 --- a/dpo/data-formats/sonInputFromSdnr-dataformat.json +++ b/dpo/data-formats/sonInputFromSdnr-dataformat.json @@ -1,212 +1,212 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "AAI": { - "description": "", - "type": "object" - }, - "Action": { - "description": "", - "type": "string" - }, - "Payload": { - "additionalproperties": true, - "description": "", - "properties": { - "RadioAccess": { - "additionalproperties": true, - "description": "", - "properties": { - "FAPServiceList": { - "description": "", - "items": { - "additionalproperties": true, - "description": "", - "properties": { - "CellConfig": { - "additionalproperties": true, - "description": "", - "properties": { - "LTE": { - "additionalproperties": true, - "description": "", - "properties": { - "RAN": { - "additionalproperties": true, - "description": "", - "properties": { - "CellIdentity": { - "description": "", - "type": "string" - }, - "NeighborListInUse": { - "additionalproperties": true, - "description": "", - "properties": { - "LTECellNumberOfEntries": { - "description": "", - "type": "string" - }, - "LTENeighborListInUseLTECell": { - "description": "", - "items": { - "additionalproperties": true, - "description": "", - "properties": { - "alias": { - "description": "", - "type": "string" - }, - "blacklisted": { - "description": "", - "type": "string" - }, - "cid": { - "description": "", - "type": "string" - }, - "enable": { - "description": "", - "type": "string" - }, - "mustInclude": { - "description": "", - "type": "string" - }, - "phyCellId": { - "description": "", - "type": "string" - }, - "plmnid": { - "description": "", - "type": "string" - }, - "pnfName": { - "description": "", - "type": "string" - } - }, - "required": [ - "alias", - "blacklisted", - "cid", - "enable", - "mustInclude", - "phyCellId", - "plmnid", - "pnfName" - ], - "type": "object" - }, - "type": "array" - } - }, - "required": [ - "LTECellNumberOfEntries", - "LTENeighborListInUseLTECell" - ], - "type": "object" - } - }, - "required": [ - "CellIdentity", - "NeighborListInUse" - ], - "type": "object" - } - }, - "required": [ - "RAN" - ], - "type": "object" - } - }, - "required": [ - "LTE" - ], - "type": "object" - }, - "X0005b9Lte": { - "additionalproperties": true, - "description": "", - "properties": { - "phyCellIdInUse": { - "description": "", - "type": "string" - }, - "pnfName": { - "description": "", - "type": "string" - } - }, - "required": [ - "phyCellIdInUse", - "pnfName" - ], - "type": "object" - }, - "alias": { - "description": "", - "type": "string" - } - }, - "required": [ - "CellConfig", - "X0005b9Lte", - "alias" - ], - "type": "object" - }, - "type": "array" - }, - "FAPServiceNumberOfEntries": { - "description": "", - "type": "string" - } - }, - "required": [ - "FAPServiceList", - "FAPServiceNumberOfEntries" - ], - "type": "object" - } - }, - "required": [ - "RadioAccess" - ], - "type": "object" - }, - "from": { - "description": "", - "type": "string" - }, - "requestID": { - "description": "", - "type": "string" - }, - "version": { - "description": "", - "type": "string" - } - }, - "required": [ - "AAI", - "Action", - "Payload", - "from", - "requestID", - "version" - ], - "type": "object" - }, - "self": { - "description": "dmaap message from SDNR to SON handler", - "name": "SON_INPUT_FROM_SDNR", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "AAI": { + "description": "", + "type": "object" + }, + "Action": { + "description": "", + "type": "string" + }, + "Payload": { + "additionalproperties": true, + "description": "", + "properties": { + "RadioAccess": { + "additionalproperties": true, + "description": "", + "properties": { + "FAPServiceList": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "CellConfig": { + "additionalproperties": true, + "description": "", + "properties": { + "LTE": { + "additionalproperties": true, + "description": "", + "properties": { + "RAN": { + "additionalproperties": true, + "description": "", + "properties": { + "CellIdentity": { + "description": "", + "type": "string" + }, + "NeighborListInUse": { + "additionalproperties": true, + "description": "", + "properties": { + "LTECellNumberOfEntries": { + "description": "", + "type": "string" + }, + "LTENeighborListInUseLTECell": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "alias": { + "description": "", + "type": "string" + }, + "blacklisted": { + "description": "", + "type": "string" + }, + "cid": { + "description": "", + "type": "string" + }, + "enable": { + "description": "", + "type": "string" + }, + "mustInclude": { + "description": "", + "type": "string" + }, + "phyCellId": { + "description": "", + "type": "string" + }, + "plmnid": { + "description": "", + "type": "string" + }, + "pnfName": { + "description": "", + "type": "string" + } + }, + "required": [ + "alias", + "blacklisted", + "cid", + "enable", + "mustInclude", + "phyCellId", + "plmnid", + "pnfName" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "LTECellNumberOfEntries", + "LTENeighborListInUseLTECell" + ], + "type": "object" + } + }, + "required": [ + "CellIdentity", + "NeighborListInUse" + ], + "type": "object" + } + }, + "required": [ + "RAN" + ], + "type": "object" + } + }, + "required": [ + "LTE" + ], + "type": "object" + }, + "X0005b9Lte": { + "additionalproperties": true, + "description": "", + "properties": { + "phyCellIdInUse": { + "description": "", + "type": "string" + }, + "pnfName": { + "description": "", + "type": "string" + } + }, + "required": [ + "phyCellIdInUse", + "pnfName" + ], + "type": "object" + }, + "alias": { + "description": "", + "type": "string" + } + }, + "required": [ + "CellConfig", + "X0005b9Lte", + "alias" + ], + "type": "object" + }, + "type": "array" + }, + "FAPServiceNumberOfEntries": { + "description": "", + "type": "string" + } + }, + "required": [ + "FAPServiceList", + "FAPServiceNumberOfEntries" + ], + "type": "object" + } + }, + "required": [ + "RadioAccess" + ], + "type": "object" + }, + "from": { + "description": "", + "type": "string" + }, + "requestID": { + "description": "", + "type": "string" + }, + "version": { + "description": "", + "type": "string" + } + }, + "required": [ + "AAI", + "Action", + "Payload", + "from", + "requestID", + "version" + ], + "type": "object" + }, + "self": { + "description": "dmaap message from SDNR to SON handler", + "name": "SON_INPUT_FROM_SDNR", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/sonToOofReq-dataformat.json b/dpo/data-formats/sonToOofReq-dataformat.json index 3ca70e0..e686dd1 100644 --- a/dpo/data-formats/sonToOofReq-dataformat.json +++ b/dpo/data-formats/sonToOofReq-dataformat.json @@ -1,97 +1,97 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "cellInfo": { - "additionalproperties": true, - "description": "", - "properties": { - "cellIdList": { - "description": "", - "items": { - "description": "", - "type": "string" - }, - "type": "array" - }, - "networkId": { - "description": "", - "type": "string" - } - }, - "required": [ - "cellIdList", - "networkId" - ], - "type": "object" - }, - "requestInfo": { - "additionalproperties": true, - "description": "", - "properties": { - "callbackUrl": { - "description": "", - "type": "string" - }, - "numSolutions": { - "description": "", - "type": "integer" - }, - "optimizers": { - "description": "", - "items": { - "description": "", - "type": "string" - }, - "type": "array" - }, - "requestId": { - "description": "", - "type": "string" - }, - "requestType": { - "description": "", - "type": "string" - }, - "sourceId": { - "description": "", - "type": "string" - }, - "timeout": { - "description": "", - "type": "integer" - }, - "transactionId": { - "description": "", - "type": "string" - } - }, - "required": [ - "callbackUrl", - "numSolutions", - "optimizers", - "requestId", - "requestType", - "sourceId", - "timeout", - "transactionId" - ], - "type": "object" - } - }, - "required": [ - "cellInfo", - "requestInfo" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "SON_TO_OOF_REST_REQ", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "cellInfo": { + "additionalproperties": true, + "description": "", + "properties": { + "cellIdList": { + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "networkId": { + "description": "", + "type": "string" + } + }, + "required": [ + "cellIdList", + "networkId" + ], + "type": "object" + }, + "requestInfo": { + "additionalproperties": true, + "description": "", + "properties": { + "callbackUrl": { + "description": "", + "type": "string" + }, + "numSolutions": { + "description": "", + "type": "integer" + }, + "optimizers": { + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "requestId": { + "description": "", + "type": "string" + }, + "requestType": { + "description": "", + "type": "string" + }, + "sourceId": { + "description": "", + "type": "string" + }, + "timeout": { + "description": "", + "type": "integer" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "callbackUrl", + "numSolutions", + "optimizers", + "requestId", + "requestType", + "sourceId", + "timeout", + "transactionId" + ], + "type": "object" + } + }, + "required": [ + "cellInfo", + "requestInfo" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_OOF_REST_REQ", + "version": "1.0.0" + } } diff --git a/dpo/data-formats/sonToPolicyReq-dataformat.json b/dpo/data-formats/sonToPolicyReq-dataformat.json index 7686242..df016aa 100644 --- a/dpo/data-formats/sonToPolicyReq-dataformat.json +++ b/dpo/data-formats/sonToPolicyReq-dataformat.json @@ -1,24 +1,24 @@ { - "dataformatversion": "1.0.0", - "jsonschema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "additionalproperties": true, - "description": "", - "properties": { - "policyName": { - "description": "", - "type": "string" - } - }, - "required": [ - "policyName" - ], - "type": "object" - }, - "self": { - "description": "", - "name": "SON_TO_POLICY_REST_REQ", - "version": "1.0.0" - } + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "policyName": { + "description": "", + "type": "string" + } + }, + "required": [ + "policyName" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_POLICY_REST_REQ", + "version": "1.0.0" + } } diff --git a/dpo/spec/sonhandler-componentspec.json b/dpo/spec/sonhandler-componentspec.json index 186fbf7..1586dcf 100644 --- a/dpo/spec/sonhandler-componentspec.json +++ b/dpo/spec/sonhandler-componentspec.json @@ -1,297 +1,313 @@ { - "self":{ - "version":"1.0.0", - "name":"docker.sonhandler.app", - "description":"Handles the PCI optimization for SON network", - "component_type":"docker" - }, - "streams":{ - "subscribes":[ - { - "format":"SON_INPUT_FROM_SDNR", - "version":"1.0.0", - "config_key":"nbr_list_change_topic", - "type":"message router" - }, - { - "format":"FM_ALARM_FROM_VES", - "version":"1.0.0", - "config_key":"fault_management_topic", - "type":"message router" - }, - { - "format":"PM_ALARM_FROM_VES", - "version":"1.0.0", - "config_key":"performance_management_topic", - "type":"message router" - }, - { - "format":"SON_OOF_ASYNC_RESP", - "version":"1.0.0", - "route":"/callbackUrl", - "type":"http" - } - ], - "publishes":[ - { - "format":"SON_TO_POLICY_DMAAP", - "version":"1.0.0", - "config_key":"CL_topic", - "type":"message router" - } - ] - }, - "services":{ - "calls":[ - { - "config_key":"oof-req", - "request":{ - "format":"SON_TO_OOF_REST_REQ", - "version":"1.0.0" - }, - "response":{ - "format":"SON_OOF_SYNC_RESP", - "version":"1.0.0" - } - }, - { - "config_key":"sdnr-getpnfname", - "request":{ - "format":"CONFIGDB-REQ", - "version":"1.0.0" - }, - "response":{ - "format":"PNFNAME_FROM_SDNR", - "version":"1.0.0" - } - }, - { - "config_key":"sdnr-getcelllist", - "request":{ - "format":"CONFIGDB-REQ", - "version":"1.0.0" - }, - "response":{ - "format":"CELLLIST_FROM_SDNR", - "version":"1.0.0" - } - }, - { - "config_key":"sdnr-getnbrlist", - "request":{ - "format":"CONFIGDB-REQ", - "version":"1.0.0" - }, - "response":{ - "format":"NBRLST_FROM_SDNR", - "version":"1.0.0" - } - }, - { - "config_key":"sdnr-getpci", - "request":{ - "format":"CONFIGDB-REQ", - "version":"1.0.0" - }, - "response":{ - "format":"PCI_FROM_SDNR", - "version":"1.0.0" - } - } - ], - "provides":[ - - ] - }, - "parameters":[ - { - "name":"postgres.username", - "value":"sonuser", - "description":"postgres config", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"postgres.password", - "value":"sonpassword", - "description":"postgres config", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"postgres.host", - "value":"10.165.160.148", - "description":"postgres config", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"postgres.port", - "value":"5432", - "description":"postgres config", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.optimizers", - "value":[ - "pci" - ], - "description":"son handler optimizers list", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.buffertime", - "value":"60", - "description":"buffer time in seconds", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.numsolutions", - "value":"10", - "description":"number of solutions", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.maximumclusters", - "value":"5", - "description":"maximum number of clusters", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.cg", - "value":"sonhms-cg", - "description":"son consumer group", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.cid", - "value":"sonhms-cid", - "description":"son consumer Id", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.dmaap.servers", - "value":["message-router:3904"], - "description":"dmaap server location", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.pollingInterval", - "value":"20", - "description":"dmaap polling interval", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.pollingTimeout", - "value":"60", - "description":"dmaap polling timeout", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.minCollision", - "value":"5", - "description":"minimum collision count", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.minConfusion", - "value":"5", - "description":"minimum confusion count", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.configDb.service", - "value":"http://sdnc:8282", - "description":"configDb service url", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.oof.service", - "value":"http://oof:8080", - "description":"oof service url", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.sourceId", - "value":"SONHMS", - "description":"sonhms source ID", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - }, - { - "name":"sonhandler.callbackUrl", - "value":"http://sonhms.onap:8080/callbackUrl", - "description":"sonhms callback url", - "sourced_at_deployment":false, - "policy_editable":false, - "designer_editable":false - } - ], - "auxilary":{ - "healthcheck":{ - "type":"http", - "interval":"15s", - "timeout":"1s", - "endpoint":"/healthckeck" - }, - "volumes":[ - { - "container":{ - "bind":"/etc/localtime" - }, - "host":{ - "path":"/etc/localtime" - } - }, - { - "container":{ - "bind":"/var/log/onap" - }, - "host":{ - "path":"/dockerdata-nfs/pci-handler/logs" - } - } - ], - "ports":[ - "8080:8080" - ] - }, - "artifacts":[ - { - "type":"docker image", - "uri":"k8s-rancher-1:5000/son-handler:1.0.1" - } - ] + "self": { + "version": "1.0.0", + "name": "docker.sonhandler.app", + "description": "Handles the PCI optimization for SON network", + "component_type": "docker" + }, + "streams": { + "subscribes": [ + { + "format": "SON_INPUT_FROM_SDNR", + "version": "1.0.0", + "config_key": "nbr_list_change_topic", + "type": "message router" + }, + { + "format": "FM_ALARM_FROM_VES", + "version": "1.0.0", + "config_key": "fault_management_topic", + "type": "message router" + }, + { + "format": "PM_ALARM_FROM_VES", + "version": "1.0.0", + "config_key": "performance_management_topic", + "type": "message router" + }, + { + "format": "SON_OOF_ASYNC_RESP", + "version": "1.0.0", + "route": "/callbackUrl", + "type": "http" + } + ], + "publishes": [ + { + "format": "SON_TO_POLICY_DMAAP", + "version": "1.0.0", + "config_key": "CL_topic", + "type": "message router" + } + ] + }, + "services": { + "calls": [ + { + "config_key": "oof-req", + "request": { + "format": "SON_TO_OOF_REST_REQ", + "version": "1.0.0" + }, + "response": { + "format": "SON_OOF_SYNC_RESP", + "version": "1.0.0" + } + }, + { + "config_key": "sdnr-getpnfname", + "request": { + "format": "CONFIGDB-REQ", + "version": "1.0.0" + }, + "response": { + "format": "PNFNAME_FROM_SDNR", + "version": "1.0.0" + } + }, + { + "config_key": "sdnr-getcelllist", + "request": { + "format": "CONFIGDB-REQ", + "version": "1.0.0" + }, + "response": { + "format": "CELLLIST_FROM_SDNR", + "version": "1.0.0" + } + }, + { + "config_key": "sdnr-getnbrlist", + "request": { + "format": "CONFIGDB-REQ", + "version": "1.0.0" + }, + "response": { + "format": "NBRLST_FROM_SDNR", + "version": "1.0.0" + } + }, + { + "config_key": "sdnr-getpci", + "request": { + "format": "CONFIGDB-REQ", + "version": "1.0.0" + }, + "response": { + "format": "PCI_FROM_SDNR", + "version": "1.0.0" + } + } + ], + "provides": [] + }, + "parameters": [ + { + "name": "postgres.username", + "value": "sonuser", + "description": "postgres config", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "postgres.password", + "value": "sonpassword", + "description": "postgres config", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "postgres.host", + "value": "10.165.160.148", + "description": "postgres config", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "postgres.port", + "value": "5432", + "description": "postgres config", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.optimizers", + "value": [ + "pci" + ], + "description": "son handler optimizers list", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.buffertime", + "value": "60", + "description": "buffer time in seconds", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.numsolutions", + "value": "10", + "description": "number of solutions", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.maximumclusters", + "value": "5", + "description": "maximum number of clusters", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.cg", + "value": "sonhms-cg", + "description": "son consumer group", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.cid", + "value": "sonhms-cid", + "description": "son consumer Id", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.dmaap.servers", + "value": [ + "message-router:3904" + ], + "description": "dmaap server location", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.pollingInterval", + "value": "20", + "description": "dmaap polling interval", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.pollingTimeout", + "value": "60", + "description": "dmaap polling timeout", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.minCollision", + "value": "5", + "description": "minimum collision count", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.minConfusion", + "value": "5", + "description": "minimum confusion count", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.configDb.service", + "value": "http://sdnc:8282", + "description": "configDb service url", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.oof.service", + "value": "http://oof:8080", + "description": "oof service url", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.sourceId", + "value": "SONHMS", + "description": "sonhms source ID", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.badThreshold", + "value": "50", + "description": "Threshold for bad neighbors", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.poorThreshold", + "value": "70", + "description": "Threshold for poor neighbors", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + }, + { + "name": "sonhandler.callbackUrl", + "value": "http://sonhms.onap:8080/callbackUrl", + "description": "sonhms callback url", + "sourced_at_deployment": false, + "policy_editable": false, + "designer_editable": false + } + ], + "auxilary": { + "healthcheck": { + "type": "http", + "interval": "15s", + "timeout": "1s", + "endpoint": "/healthckeck" + }, + "volumes": [ + { + "container": { + "bind": "/etc/localtime" + }, + "host": { + "path": "/etc/localtime" + } + }, + { + "container": { + "bind": "/var/log/onap" + }, + "host": { + "path": "/dockerdata-nfs/pci-handler/logs" + } + } + ], + "ports": [ + "8080:8080" + ] + }, + "artifacts": [ + { + "type": "docker image", + "uri": "k8s-rancher-1:5000/son-handler:1.0.1" + } + ] } |