Update pnfsimulator config 00/82100/1
authorbiniek <lukasz.biniek@nokia.com>
Tue, 12 Mar 2019 16:23:16 +0000 (17:23 +0100)
committerbiniek <lukasz.biniek@nokia.com>
Wed, 13 Mar 2019 09:58:26 +0000 (10:58 +0100)
Change-Id: Icd81ae3d5e458dc941a17ccdc3eead7120a64cb0
Issue-ID: INT-960
Signed-off-by: biniek <lukasz.biniek@nokia.com>
test/mocks/pnfsimulator/config/config.json
test/mocks/pnfsimulator/json_schema/input_validator.json

index 3cda0c6..a536c37 100644 (file)
   "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"
+          }
+        }
+      ]
+    }
   }
 }
index 13ce589..ced70c7 100644 (file)
         "vendorName": {
           "type": "string"
         },
-        "oamV4IpAddress": {
-          "type": "string"
-        },
-        "oamV6IpAddress": {
-          "type": "string"
-        },
         "unitFamily": {
           "type": "string"
         },
@@ -78,6 +72,9 @@
         },
         "unitType": {
           "type": "string"
+        },
+        "additionalFields": {
+          "type": "object"
         }
       }
     },