[SEBA-184] [WIP] White List tests
Change-Id: Iab364d56583c36de91e1a7e64731ef94b4b2a003
diff --git a/src/test/cord-api/Tests/data/AttWhiteList.json b/src/test/cord-api/Tests/data/AttWhiteList.json
index 224e700..2e41d40 100644
--- a/src/test/cord-api/Tests/data/AttWhiteList.json
+++ b/src/test/cord-api/Tests/data/AttWhiteList.json
@@ -1,27 +1,27 @@
{
- "AttWhiteList" : [
+ "AttWhiteListInfo" : [
{
"serial_number": "ALPHe3d1cfa7",
"device_id" : "of:000000000ac004da",
- "pon_port_id" : "536870912",
+ "pon_port_id" : 536870912,
"owner_id" : "1"
},
{
"serial_number": "ALPHe3d1cea3",
"device_id" : "of:000000000ac004da",
- "pon_port_id" : "536870912",
+ "pon_port_id" : 536870912,
"owner_id" : "1"
},
{
"serial_number": "ALPHe3d1cf84",
"device_id" : "of:000000000ac004da",
- "pon_port_id" : "536870912",
+ "pon_port_id" : 536870912,
"owner_id" : "1"
},
{
"serial_number": "ALPHe3d1cee9",
"device_id" : "of:000000000ac004da",
- "pon_port_id" : "536870912",
+ "pon_port_id" : 536870912,
"owner_id" : "1"
}
diff --git a/src/test/cord-api/Tests/data/AttWorkFlowDriver.json b/src/test/cord-api/Tests/data/AttWorkFlowDriver.json
index 22572b7..86d0e4e 100644
--- a/src/test/cord-api/Tests/data/AttWorkFlowDriver.json
+++ b/src/test/cord-api/Tests/data/AttWorkFlowDriver.json
@@ -1,5 +1,5 @@
{
- "AttWorkFlowDriver" : [
+ "AttWorkFlowDriverInfo" : [
{
"name": "att-workflow-driver"
}
diff --git a/src/test/cord-api/Tests/data/Att_RealOLTDevice.json b/src/test/cord-api/Tests/data/Att_RealOLTDevice.json
new file mode 100644
index 0000000..f61f5bb
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Att_RealOLTDevice.json
@@ -0,0 +1,16 @@
+{
+ "VOLTDeviceInfo" : [
+ {
+ "device_type": "openolt",
+ "host": "10.192.4.218",
+ "port": 9191,
+ "switch_datapath_id": "of:0000cc37ab5b6da8",
+ "dp_id": "of:0000cc37ab5b6da8",
+ "switch_port": "7",
+ "outer_tpid": "0x8100",
+ "name": "olt-1",
+ "uplink": "128",
+ "volt_service_id": 2
+ }
+ ]
+}
diff --git a/src/test/cord-api/Tests/data/Subscriber_Att.json b/src/test/cord-api/Tests/data/Subscriber_Att.json
new file mode 100644
index 0000000..b2c1580
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Subscriber_Att.json
@@ -0,0 +1,12 @@
+{
+ "SubscriberInfo" : [
+ {
+ "name": "My House-305",
+ "c_tag": 999,
+ "onu_device": "ALPHe3d1cfa7",
+ "nas_port_id": "PON 1/1/03/1:1.1.1",
+ "circuit_id": "foo",
+ "status": "pre-provisioned"
+ }
+ ]
+}