[VOL-2698] - Refactor the power switch library to support two vendors

Change-Id: I489e7ce881d934577f962f5892f0516d8587f3ec
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index 32ae0dc..45026fa 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -14,7 +14,7 @@
 
 *** Settings ***
 Documentation     Test various failure scenarios
-Suite Setup       Common Test Suite Setup
+Suite Setup       Setup Suite
 Test Setup        Setup
 Test Teardown     Teardown
 #Suite Teardown    Teardown Suite
@@ -424,6 +424,8 @@
 Setup Suite
     [Documentation]    Set up the test suite
     Common Test Suite Setup
+    #power_switch.robot needs it to support different vendor's power switch
+    Set Global Variable    ${powerswitch_type}    ${web_power_switch.type}
 
 Clear All Devices Then Create New Device
     [Documentation]    Remove any devices from VOLTHA and ONOS