[VOL-2431]Multiple ONU Reboot Scenario

Change-Id: I0ec6a3e80d9a266b85a8c8e99b877e8a9e6f9857
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index 1609f5a..0a3e305 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -124,3 +124,19 @@
         ...    Check Ping    True    ${dst['dp_iface_ip_qinq']}    ${src['dp_iface_name']}
         ...    ${src['ip']}    ${src['user']}    ${src['pass']}    ${src['container_type']}    ${src['container_name']}
     END
+
+ONU Reboot
+    [Documentation]    Reboot ONU and verify that ONU comes up properly
+    [Tags]    VOL-1957    RebootONU   notready
+    [Setup]   NONE
+    FOR    ${I}    IN RANGE    0    ${num_onus}
+        ${src}=    Set Variable    ${hosts.src[${I}]}
+        ${dst}=    Set Variable    ${hosts.dst[${I}]}
+        ${onu_device_id}=    Get Device ID From SN    ${src['onu']}
+        Reboot ONU    ${onu_device_id}   ${src}   ${dst}
+        Verify ping is succesful except for given device     ${num_onus}    ${onu_device_id}
+        Run Keyword If    ${has_dataplane}    Clean Up Linux
+        #Check after reboot that ONUs are active, authenticated/DHCP/pingable
+        Perform Sanity Test
+    END
+