[VOL-3638] Updating ONU test to latest keyword arguments
Change-Id: Ic89f882b5d8824e70a232d8f43702bea2ae8a428
diff --git a/tests/functional/Voltha_ScaleFunctionalTests.robot b/tests/functional/Voltha_ScaleFunctionalTests.robot
index 6858aa5..3eb1576 100644
--- a/tests/functional/Voltha_ScaleFunctionalTests.robot
+++ b/tests/functional/Voltha_ScaleFunctionalTests.robot
@@ -121,8 +121,11 @@
[Documentation] Verify dhcp allocation for multiple ONU user
[Tags] VOL-1824 active
#validate total number of DHCP allocations
- Wait Until Keyword Succeeds ${long_timeout} 20s Validate DHCP Allocations ${ONOS_SSH_IP}
- ... ${ONOS_SSH_PORT} 16
+ FOR ${I} IN RANGE 0 ${num_olts}
+ ${olt_serial_number}= Set Variable ${list_olts}[${I}][sn]
+ Wait Until Keyword Succeeds ${long_timeout} 20s Validate DHCP Allocations ${onos_ssh_connection}
+ ... 16 ${olt_serial_number} BBSM
+ END
#validate DHCP allocation for each port
FOR ${I} IN RANGE 0 ${num_onus}
${src}= Set Variable ${hosts.src[${I}]}
@@ -181,6 +184,7 @@
Setup Suite
[Documentation] Set up the test suite
Common Test Suite Setup
+ ${onos_ssh_connection} Open ONOS SSH Connection ${ONOS_SSH_IP} ${ONOS_SSH_PORT}
Teardown Suite
[Documentation] Clean up devices if desired