updating dpid on bbsim-olt in tests
Change-Id: Ifbb1c9cc4f65cb1749370d2dfebc84db0115705f
diff --git a/src/test/cord-api/Tests/BBSim/BBSIMScale.robot b/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
index 29a52e9..fbc51d5 100644
--- a/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
+++ b/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
@@ -83,10 +83,10 @@
Set Suite Variable ${container_list}
Teardown
- #Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${VOLT_SUBSCRIBER}
- #Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${ATT_WHITELIST}
- #Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${VOLT_DEVICE}
- #Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${ATT_SERVICEINSTANCES}
+ Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${VOLT_SUBSCRIBER}
+ Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${ATT_WHITELIST}
+ Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${VOLT_DEVICE}
+ Wait Until Keyword Succeeds 60s 2s Clean Up Objects ${ATT_SERVICEINSTANCES}
Delete All Sessions
#Get Pod Logs
@@ -140,3 +140,11 @@
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
[Return] ${resp}
+
+CORD Delete
+ [Documentation] Make a DELETE call to the CORD controller
+ [Arguments] ${service} ${data_id}
+ ${resp}= Delete Request XOS uri=${service}/${data_id}
+ Log ${resp.content}
+ Should Be Equal As Strings ${resp.status_code} 200
+ [Return] ${resp}
diff --git a/src/test/cord-api/Tests/BBSim/bbsim_utils.py b/src/test/cord-api/Tests/BBSim/bbsim_utils.py
index a813624..a5e729f 100644
--- a/src/test/cord-api/Tests/BBSim/bbsim_utils.py
+++ b/src/test/cord-api/Tests/BBSim/bbsim_utils.py
@@ -48,19 +48,9 @@
for index in range(1, int(num_onus) + 1):
onu = {
"serial_number": "BBSM" + str("00000") + str(pon_id) + '{0:02x}'.format(int(index)-1),
- "device_id" : "of:000000000ac004ce",
+ "device_id" : "of:0000626273696d76",
"pon_port_id" : 536870913,
"owner_id" : att_service_id
}
whitelists.append(onu)
return whitelists
-
-#test=whitelists()
-#wls = test.generate_whitelists(64, 1, 1)
-#for i in wls:
-# print i
-
-#test=bbsim_utils()
-#subs = test.generate_subscribers(16, 1)
-#for i in subs:
-# print i