aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
authorkrzysztof kuzmicki <krzysztof.kuzmicki@nokia.com>2018-10-10 13:04:28 +0200
committerkrzysztof kuzmicki <krzysztof.kuzmicki@nokia.com>2018-10-10 13:04:28 +0200
commitf8c267cf722fab31e4d6b5b94f445ae556ce7890 (patch)
tree68e8d270e40912d506c88f989ac7fe54b24be0ff /robot/assets/templates
parentd34367f4733ca498ead3dd0365f27fc4601097df (diff)
E2E sunny scenario for PNF registration
Change-Id: Icbe8914f6111f5ca385117d3c7027e53e960281b Issue-ID: INT-685 Signed-off-by: krzysztof kuzmicki <krzysztof.kuzmicki@nokia.com>
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/aai/add_pnf_registration_info.template12
-rw-r--r--robot/assets/templates/ves/pnf_registration_request.template36
2 files changed, 48 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_pnf_registration_info.template b/robot/assets/templates/aai/add_pnf_registration_info.template
new file mode 100644
index 00000000..2122ef24
--- /dev/null
+++ b/robot/assets/templates/aai/add_pnf_registration_info.template
@@ -0,0 +1,12 @@
+{
+ "pnf-name": "${correlation_id}",
+ "pnf-name2": "example-pnf-name2-val-78244",
+ "pnf-name2-source": "example-pnf-name2-source-val-99275",
+ "pnf-id": "example-pnf-id-val-7989",
+ "equip-type": "example-equip-type-val-20348",
+ "equip-vendor": "example-equip-vendor-val-52182",
+ "equip-model": "example-equip-model-val-8370",
+ "management-option": "example-management-option-val-72881",
+ "ipaddress-v4-oam": "",
+ "ipaddress-v6-oam": ""
+}
diff --git a/robot/assets/templates/ves/pnf_registration_request.template b/robot/assets/templates/ves/pnf_registration_request.template
new file mode 100644
index 00000000..61b46d16
--- /dev/null
+++ b/robot/assets/templates/ves/pnf_registration_request.template
@@ -0,0 +1,36 @@
+{
+ "event": {
+ "commonEventHeader": {
+ "startEpochMicrosec": 1538407540940,
+ "sourceId": "val13",
+ "eventId": "registration_38407540",
+ "nfcNamingCode": "oam",
+ "internalHeaderFields": {},
+ "eventType": "pnfRegistration",
+ "priority": "Normal",
+ "version": "4.0.1",
+ "reportingEntityName": "NOK6061ZW3",
+ "sequence": 0,
+ "domain": "pnfRegistration",
+ "lastEpochMicrosec": 1538407540940,
+ "eventName": "pnfRegistration_Nokia_5gDu",
+ "vesEventListenerVersion": "7.0.1",
+ "sourceName": "${correlation_id}",
+ "nfNamingCode": "gNB"
+ },
+ "pnfRegistrationFields": {
+ "unitType": "val8",
+ "serialNumber": "6061ZW3",
+ "pnfRegistrationFieldsVersion": "2.0",
+ "manufactureDate": "1538407540942",
+ "modelNumber": "val6",
+ "lastServiceDate": "1538407540942",
+ "unitFamily": "BBU",
+ "vendorName": "Nokia",
+ "oamV4IpAddress": "${PNF_IPv4_address}",
+ "oamV6IpAddress": "${PNF_IPv6_address}",
+ "softwareVersion": "val7"
+ }
+ }
+}
+