aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks
diff options
context:
space:
mode:
authorbiniek <lukasz.biniek@nokia.com>2019-03-12 17:23:16 +0100
committerbiniek <lukasz.biniek@nokia.com>2019-03-13 10:58:26 +0100
commite3e7977dbf5600a61a2dffed961142d0adce5532 (patch)
tree8ffe4fa632d531c0e18627f04f4a597f5c7156e0 /test/mocks
parent3b62afe389de15bbb5a53239f076af68512e0595 (diff)
Update pnfsimulator config
Change-Id: Icd81ae3d5e458dc941a17ccdc3eead7120a64cb0 Issue-ID: INT-960 Signed-off-by: biniek <lukasz.biniek@nokia.com>
Diffstat (limited to 'test/mocks')
-rw-r--r--test/mocks/pnfsimulator/config/config.json53
-rw-r--r--test/mocks/pnfsimulator/json_schema/input_validator.json9
2 files changed, 33 insertions, 29 deletions
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"
}
}
},