Robot changes for cord tester
Add a common resource robot for CORD to include from other cord robot files.
Add a cluster robot variant.

Change-Id: I4ece954e102aee3aa27234482287c04d49807ef9
diff --git a/src/test/robot/cord.robot b/src/test/robot/cord.robot
index c0c69d4..da58d9c 100644
--- a/src/test/robot/cord.robot
+++ b/src/test/robot/cord.robot
@@ -1,11 +1,8 @@
 *** Settings ***
 Documentation  Run Cord verification test cases
+Resource  cord_resource.robot
 Suite Setup  Cord Setup
 Suite Teardown  Cord Teardown
-Library    OperatingSystem
-
-*** Variables ***
-${CORD_TESTER}    %{HOME}/cord-tester/src/test/setup/cord-test.py
 
 *** Test Cases ***
 Verify Onos DHCP Server Functionality
@@ -37,22 +34,3 @@
   [Documentation]  Start Quagga container, connect it to ONOS before validating ONOS routing works
   ${rc}=  Run Cord Tester  vrouter:vrouter_exchange.test_vrouter_with_5_routes
   Should Be Equal As Integers  ${rc}  0
-
-*** Keywords ***
-Cord Setup
-  [Documentation]  Setup the cord tester
-  ${rc}=  Run and Return RC  sudo ${CORD_TESTER} setup --olt --start-switch
-  Should Be Equal As Integers  ${rc}  0
-  ${test_container}=  Run  sudo docker ps -l | tail -1 | tr -s ' ' | awk '{print $NF}'
-  Set Suite Variable  ${test_container}
-
-Cord Teardown
-  [Documentation]  Teardown the cord tester setup
-  ${output}=  Run  sudo ${CORD_TESTER} cleanup --olt
-
-Run Cord Tester
-  [Arguments]   ${test_case}
-  ${status}  ${output}=  Run and Return RC and Output  sudo ${CORD_TESTER} run --container=${test_container} -t ${test_case}
-  Log  ${output}
-  [Return]    ${status}
-