From e1f6d80752920a7ef990134f02abb3db9b5a6232 Mon Sep 17 00:00:00 2001 From: vrvarma Date: Fri, 12 Apr 2019 00:46:37 -0400 Subject: Updating code for pci-anr optimization calls Include pci-anr minizinc model Refactor the code to handle pci & pci-anr optimizations Fix pytest unit test cases Change-Id: I59eba39850a90e5aaf45f0e2de1881ebb5a9d5d8 Signed-off-by: vrvarma Issue-ID: OPTFRA-416 Signed-off-by: vrvarma --- .../configdb/response-payloads/getCellList-2000.json | 1 + .../configdb/response-payloads/getNbrList-cell20.json | 14 ++++++++++++++ .../configdb/response-payloads/getNbrList-cell21.json | 6 ++++++ .../configdb/response-payloads/getNbrList-cell22.json | 6 ++++++ .../configdb/response-payloads/getNbrList-cell23.json | 6 ++++++ .../configdb/response-payloads/getNbrList-cell24.json | 6 ++++++ 6 files changed, 39 insertions(+) create mode 100644 test/functest/simulators/configdb/response-payloads/getCellList-2000.json create mode 100644 test/functest/simulators/configdb/response-payloads/getNbrList-cell20.json create mode 100644 test/functest/simulators/configdb/response-payloads/getNbrList-cell21.json create mode 100644 test/functest/simulators/configdb/response-payloads/getNbrList-cell22.json create mode 100644 test/functest/simulators/configdb/response-payloads/getNbrList-cell23.json create mode 100644 test/functest/simulators/configdb/response-payloads/getNbrList-cell24.json (limited to 'test/functest/simulators/configdb/response-payloads') diff --git a/test/functest/simulators/configdb/response-payloads/getCellList-2000.json b/test/functest/simulators/configdb/response-payloads/getCellList-2000.json new file mode 100644 index 0000000..77cf7db --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getCellList-2000.json @@ -0,0 +1 @@ +["cell20","cell21","cell22","cell23","cell24"] \ No newline at end of file diff --git a/test/functest/simulators/configdb/response-payloads/getNbrList-cell20.json b/test/functest/simulators/configdb/response-payloads/getNbrList-cell20.json new file mode 100644 index 0000000..86c7d2c --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getNbrList-cell20.json @@ -0,0 +1,14 @@ +[ + { + "cellId": "cell21", + "pciValue": 0 + }, + { + "cellId": "cell22", + "pciValue": 1 + }, + { + "cellId": "cell23", + "pciValue": 2 + } +] \ No newline at end of file diff --git a/test/functest/simulators/configdb/response-payloads/getNbrList-cell21.json b/test/functest/simulators/configdb/response-payloads/getNbrList-cell21.json new file mode 100644 index 0000000..490c15f --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getNbrList-cell21.json @@ -0,0 +1,6 @@ +[ + { + "cellId": "cell20", + "pciValue":0 + } +] \ No newline at end of file diff --git a/test/functest/simulators/configdb/response-payloads/getNbrList-cell22.json b/test/functest/simulators/configdb/response-payloads/getNbrList-cell22.json new file mode 100644 index 0000000..426e13b --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getNbrList-cell22.json @@ -0,0 +1,6 @@ +[ + { + "cellId": "cell20", + "pciValue": 0 + } +] \ No newline at end of file diff --git a/test/functest/simulators/configdb/response-payloads/getNbrList-cell23.json b/test/functest/simulators/configdb/response-payloads/getNbrList-cell23.json new file mode 100644 index 0000000..de582eb --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getNbrList-cell23.json @@ -0,0 +1,6 @@ +[ + { + "cellId": "cell24", + "pciValue": 0 + } +] \ No newline at end of file diff --git a/test/functest/simulators/configdb/response-payloads/getNbrList-cell24.json b/test/functest/simulators/configdb/response-payloads/getNbrList-cell24.json new file mode 100644 index 0000000..8d8d3fb --- /dev/null +++ b/test/functest/simulators/configdb/response-payloads/getNbrList-cell24.json @@ -0,0 +1,6 @@ +[ + { + "cellId": "cell23", + "pciValue": 2 + } +] \ No newline at end of file -- cgit 1.2.3-korg