From e3e7977dbf5600a61a2dffed961142d0adce5532 Mon Sep 17 00:00:00 2001 From: biniek Date: Tue, 12 Mar 2019 17:23:16 +0100 Subject: Update pnfsimulator config Change-Id: Icd81ae3d5e458dc941a17ccdc3eead7120a64cb0 Issue-ID: INT-960 Signed-off-by: biniek --- test/mocks/pnfsimulator/config/config.json | 53 ++++++++++++---------- .../pnfsimulator/json_schema/input_validator.json | 9 ++-- 2 files changed, 33 insertions(+), 29 deletions(-) (limited to 'test') diff --git a/test/mocks/pnfsimulator/config/config.json b/test/mocks/pnfsimulator/config/config.json index 3cda0c6fc..a536c37db 100644 --- a/test/mocks/pnfsimulator/config/config.json +++ b/test/mocks/pnfsimulator/config/config.json @@ -15,31 +15,38 @@ "pnfRegistrationParams": { "serialNumber": "6061ZW3", "vendorName": "Nokia", - "oamV4IpAddress": "val3", - "oamV6IpAddress": "val4", "unitFamily": "BBU", "modelNumber": "val6", "softwareVersion": "val7", - "unitType": "val8" - }, - "notificationParams": { - "changeIdentifier": "PM_MEAS_FILES", - "changeType": "FileReady", - "arrayOfNamedHashMap": [ - {"name": "A20161221.1031-1041.bin.gz", "hashMap": { - "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", - "compression": "gzip", - "fileFormatType": "org.3GPP.32.435#measCollec", - "fileFormatVersion": "V10" - } - }, - {"name": "A20161222.1042-1102.bin.gz", "hashMap": { - "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", - "compression": "gzip", - "fileFormatType": "org.3GPP.32.435#measCollec", - "fileFormatVersion": "V10" - } - } - ] + "unitType": "val8", + "additionalFields": { + "attachmentPoint": "bla-bla-30-3", + "svlan": "1005", + "cvlan": "678" + }, + "notificationParams": { + "changeIdentifier": "PM_MEAS_FILES", + "changeType": "FileReady", + "arrayOfNamedHashMap": [ + { + "name": "A20161221.1031-1041.bin.gz", + "hashMap": { + "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + }, + { + "name": "A20161222.1042-1102.bin.gz", + "hashMap": { + "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + } + ] + } } } diff --git a/test/mocks/pnfsimulator/json_schema/input_validator.json b/test/mocks/pnfsimulator/json_schema/input_validator.json index 13ce589ab..ced70c746 100644 --- a/test/mocks/pnfsimulator/json_schema/input_validator.json +++ b/test/mocks/pnfsimulator/json_schema/input_validator.json @@ -61,12 +61,6 @@ "vendorName": { "type": "string" }, - "oamV4IpAddress": { - "type": "string" - }, - "oamV6IpAddress": { - "type": "string" - }, "unitFamily": { "type": "string" }, @@ -78,6 +72,9 @@ }, "unitType": { "type": "string" + }, + "additionalFields": { + "type": "object" } } }, -- cgit 1.2.3-korg