${POD_RUNNING_STATUS} \\sRunning
${WATCHER_COE} ${CURDIR}/../variables/coe/coe.yaml
@{NODE_IPs} ${K8s_MASTER_IP} ${K8s_MINION1_IP} ${K8s_MINION2_IP}
+@{COE_DIAG_SERVICES} OPENFLOW IFM ITM DATASTORE ELAN
*** Keywords ***
Start Suite
Coe.Verify Watcher Is Running
BuiltIn.Wait Until Keyword Succeeds 40s 2s Coe.Check Node Status Is Ready
Coe.Label Nodes
+ BuiltIn.Wait Until Keyword Succeeds 60 2 Genius.Check System Status @{COE_DIAG_SERVICES}
Genius.Verify Tunnel Status as UP default-transport-zone
Coe.Derive Coe Data Models
${Bridge-1} BR1
${Bridge-2} BR2
${DEFAULT_MONITORING_INTERVAL} Tunnel Monitoring Interval (for VXLAN tunnels): 1000
-@{DIAG_SERVICES} OPENFLOW IFM ITM DATASTORE
+@{GENIUS_DIAG_SERVICES} OPENFLOW IFM ITM DATASTORE
*** Keywords ***
Genius Suite Setup
Start Suite
[Documentation] Initial setup for Genius test suites
- Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 Check System Status
+ Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 Check System Status @{GENIUS_DIAG_SERVICES}
Log Start the tests
${conn_id_1}= Open Connection ${TOOLS_SYSTEM_IP} prompt=${DEFAULT_LINUX_PROMPT} timeout=30s
Set Global Variable ${conn_id_1}
[Return] ${check_establishment}
Check Service Status
- [Arguments] ${odl_ip} ${system_ready_state} ${service_state}
+ [Arguments] ${odl_ip} ${system_ready_state} ${service_state} @{service_list}
[Documentation] Issues the karaf shell command showSvcStatus to verify the ready and service states are the same as the arguments passed
${service_status_output} Issue_Command_On_Karaf_Console showSvcStatus ${odl_ip} 8101
Should Contain ${service_status_output} ${system_ready_state}
- : FOR ${service} IN @{DIAG_SERVICES}
+ : FOR ${service} IN @{service_list}
\ Should Match Regexp ${service_status_output} ${service} +: ${service_state}
Create Vteps
Should Be Equal As Strings ${Actual_Tunnel_Count} ${Expected_Tunnel_Count}
Check System Status
+ [Arguments] @{service_list}
[Documentation] This keyword will verify whether all the services are in operational and all nodes are active based on the number of odl systems
: FOR ${i} IN RANGE ${NUM_ODL_SYSTEM}
- \ Check Service Status ${ODL_SYSTEM_${i+1}_IP} ACTIVE OPERATIONAL
+ \ Check Service Status ${ODL_SYSTEM_${i+1}_IP} ACTIVE OPERATIONAL @{service_list}
Verify Tunnel Status
[Arguments] ${tunnel_names} ${tunnel_status}