diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2019-04-18 09:07:14 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2019-04-18 09:32:28 +0200 |
commit | b66da2b3b8519866973badc4e19f1ae717e77d1f (patch) | |
tree | 200e1615cb9b2a7426b54708d1516a5b02d36fa2 /tests/dcaegen2/prh-testcases/assets/bbs_registration | |
parent | a6795420765b4455dbc761bfc4a70ecb457693ad (diff) |
PRH BBS tests
Issue-ID: INT-989
Change-Id: I2963a7b0df2ee16a8cf5bc3144510950a1fd7ad2
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/assets/bbs_registration')
4 files changed, 80 insertions, 0 deletions
diff --git a/tests/dcaegen2/prh-testcases/assets/bbs_registration/aai-entry.json b/tests/dcaegen2/prh-testcases/assets/bbs_registration/aai-entry.json new file mode 100644 index 00000000..8787dc1b --- /dev/null +++ b/tests/dcaegen2/prh-testcases/assets/bbs_registration/aai-entry.json @@ -0,0 +1,23 @@ +{ + "pnf-name": "NOK6061ZW9", + "pnf-name2": "example-pnf-name2-val-58071", + "pnf-name2-source": "example-pnf-name2-source-val-22408", + "pnf-id": "example-pnf-id-val-55834", + "equip-type": "example-equip-type-val-5497", + "equip-vendor": "example-equip-vendor-val-85730", + "equip-model": "example-equip-model-val-38526", + "management-option": "example-management-option-val-15776", + "ipaddress-v4-oam": "example-ipaddress-v4-oam-val-33556", + "sw-version": "example-sw-version-val-64239", + "in-maint": true, + "frame-id": "example-frame-id-val-76733", + "serial-number": "example-serial-number-val-79366", + "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-34781", + "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-29979", + "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-53703", + "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-93386", + "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-92665", + "inv-status": "example-inv-status-val-8477", + "prov-status": "example-prov-status-val-68268", + "nf-role": "example-nf-role-val-68489" +}
\ No newline at end of file diff --git a/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-logical-link.json b/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-logical-link.json new file mode 100644 index 00000000..c48c841c --- /dev/null +++ b/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-logical-link.json @@ -0,0 +1,11 @@ +{ + "link-name": "bbs-link", + "link-type": "attachmentPoint", + "relationship-list": [ + { + "relationship": { + "related-link": "/network/pnfs/pnf/NOK6061ZW9" + } + } + ] +} diff --git a/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-pnf-ready-event.json b/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-pnf-ready-event.json new file mode 100644 index 00000000..9da0201c --- /dev/null +++ b/tests/dcaegen2/prh-testcases/assets/bbs_registration/expected-pnf-ready-event.json @@ -0,0 +1,6 @@ +{ + "additionalFields": { + "attachmentPoint": "bbs-link" + }, + "correlationId": "NOK6061ZW9" +} diff --git a/tests/dcaegen2/prh-testcases/assets/bbs_registration/ves-event.json b/tests/dcaegen2/prh-testcases/assets/bbs_registration/ves-event.json new file mode 100644 index 00000000..c67d863e --- /dev/null +++ b/tests/dcaegen2/prh-testcases/assets/bbs_registration/ves-event.json @@ -0,0 +1,40 @@ +{ + "event": { + "commonEventHeader": { + "startEpochMicrosec": 1540212137393, + "sourceId": "val13", + "eventId": "registration_40212137", + "nfcNamingCode": "oam", + "internalHeaderFields": { + "collectorTimeStamp": "Mon, 10 22 2018 12:42:18 UTC" + }, + "eventType": "pnfRegistration", + "priority": "Normal", + "version": "4.0.1", + "reportingEntityName": "NOK6061ZW9", + "sequence": 0, + "domain": "pnfRegistration", + "lastEpochMicrosec": 1540212137393, + "eventName": "pnfRegistration_Nokia_5gDu", + "vesEventListenerVersion": "7.0.1", + "sourceName": "NOK6061ZW9", + "nfNamingCode": "gNB" + }, + "pnfRegistrationFields": { + "unitType": "val8", + "serialNumber": "6061ZW9", + "pnfRegistrationFieldsVersion": "2.0", + "manufactureDate": "1540212137393", + "modelNumber": "val6", + "lastServiceDate": "1540212137393", + "unitFamily": "BBU", + "vendorName": "Nokia", + "oamV4IpAddress": "val3", + "oamV6IpAddress": "val4", + "softwareVersion": "val7", + "additionalFields": { + "attachmentPoint": "bbs-link" + } + } + } +} |