X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=csit%2Fsuites%2Ftsdr%2FH2%2F010_InterfaceMetrics.robot;h=e891fb5f49c4f4215dc322c322b78ef496d9af68;hp=a81ca1d98e9bcb7a759e83e2e93e6f56e52b63c1;hb=885ab79b11b017e8e9039530afcb9ad8e214fb98;hpb=d11f5895faa57e1fa84e5b3cb92ed9aabe62229b diff --git a/csit/suites/tsdr/H2/010_InterfaceMetrics.robot b/csit/suites/tsdr/H2/010_InterfaceMetrics.robot index a81ca1d98e..e891fb5f49 100644 --- a/csit/suites/tsdr/H2/010_InterfaceMetrics.robot +++ b/csit/suites/tsdr/H2/010_InterfaceMetrics.robot @@ -1,20 +1,35 @@ *** Settings *** -Documentation Test suite for H2 DataStore InterfaceMetrics Verification -Suite Setup Start Tsdr Suite -Suite Teardown Stop Tsdr Suite -Library SSHLibrary -Library Collections -Library String -Library ../../../libraries/Common.py -Resource ../../../libraries/KarafKeywords.robot -Resource ../../../libraries/TsdrUtils.robot -Variables ../../../variables/Variables.py +Documentation Test suite for H2 DataStore InterfaceMetrics Verification + +Library SSHLibrary +Library Collections +Library String +Library ../../../libraries/Common.py +Resource ../../../libraries/KarafKeywords.robot +Resource ../../../libraries/TsdrUtils.robot +Variables ../../../variables/Variables.py + +Suite Setup Start Tsdr Suite +Suite Teardown Stop Tsdr Suite + *** Variables *** -@{INTERFACE_METRICS} TransmittedPackets TransmittedBytes TransmitErrors TransmitDrops ReceivedPackets ReceivedBytes ReceiveOverRunError -... ReceiveFrameError ReceiveErrors ReceiveDrops ReceiveCrcError CollisionCount -@{CATEGORY} FlowGroupStats FlowMeterStats FlowStats FlowTableStats PortStats QueueStats -${TSDR_PORTSTATS} tsdr:list PortStats +@{INTERFACE_METRICS} +... TransmittedPackets +... TransmittedBytes +... TransmitErrors +... TransmitDrops +... ReceivedPackets +... ReceivedBytes +... ReceiveOverRunError +... ReceiveFrameError +... ReceiveErrors +... ReceiveDrops +... ReceiveCrcError +... CollisionCount +@{CATEGORY} FlowGroupStats FlowMeterStats FlowStats FlowTableStats PortStats QueueStats +${TSDR_PORTSTATS} tsdr:list PortStats + *** Test Cases *** Verification of TSDR H2 Feature Installation @@ -25,7 +40,12 @@ Verification of TSDR H2 Feature Installation Verify Feature Is Installed odl-tsdr-all Verify Feature Is Installed odl-tsdr-H2-persistence Verify Feature Is Installed odl-tsdr-core - Wait Until Keyword Succeeds 120s 1s Verify the Metric is Collected? log:display | grep "TSDR H2" TSDR H2 + Wait Until Keyword Succeeds + ... 120s + ... 1s + ... Verify the Metric is Collected? + ... log:display | grep "TSDR H2" + ... TSDR H2 Verification TSDR Command is exist in Help [Documentation] Verify the TSDR List command on Help