summaryrefslogtreecommitdiffstats
path: root/test/functest
diff options
context:
space:
mode:
authorvrvarma <vv8305@att.com>2019-04-12 00:46:37 -0400
committervrvarma <vv8305@att.com>2019-04-12 00:48:49 -0400
commite1f6d80752920a7ef990134f02abb3db9b5a6232 (patch)
tree5232b24e83948e1a0c6093e7cf182bd140750050 /test/functest
parent75f7a15a5a14af434e0e8430fcec880106d64dbf (diff)
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 <vv8305@att.com> Issue-ID: OPTFRA-416 Signed-off-by: vrvarma <vv8305@att.com>
Diffstat (limited to 'test/functest')
-rw-r--r--test/functest/simulators/configdb/response-payloads/getCellList-2000.json1
-rw-r--r--test/functest/simulators/configdb/response-payloads/getNbrList-cell20.json14
-rw-r--r--test/functest/simulators/configdb/response-payloads/getNbrList-cell21.json6
-rw-r--r--test/functest/simulators/configdb/response-payloads/getNbrList-cell22.json6
-rw-r--r--test/functest/simulators/configdb/response-payloads/getNbrList-cell23.json6
-rw-r--r--test/functest/simulators/configdb/response-payloads/getNbrList-cell24.json6
6 files changed, 39 insertions, 0 deletions
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