X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Ftsdr%2FCassandra%2F070_Netflow.robot;h=9a0f10afb5391ba27ad14fde2f079f472d603762;hb=ca65f6e3eb43b80a6d1a7d5046f128ed2fe30f67;hp=2eff1d23bf4138f1bfc195c301c2bf694705c05a;hpb=955afa35efdd87b0fb9da6c8bf7327302f15bba9;p=integration%2Ftest.git diff --git a/csit/suites/tsdr/Cassandra/070_Netflow.robot b/csit/suites/tsdr/Cassandra/070_Netflow.robot index 2eff1d23bf..9a0f10afb5 100644 --- a/csit/suites/tsdr/Cassandra/070_Netflow.robot +++ b/csit/suites/tsdr/Cassandra/070_Netflow.robot @@ -11,24 +11,22 @@ Resource ../../../libraries/TsdrUtils.robot Variables ../../../variables/Variables.py *** Variables *** -${IP_1} 10.0.0.1 -${IP_2} 10.0.0.2 -${NODE_ID} 127.0.0.1 +${IP_1} 10.0.0.1 +${IP_2} 10.0.0.2 +${NODE_ID} 127.0.0.1 ${engine_type} 11 -${engine_id} 11 -${nexthop} 0 -${port} 0 -${prot} 1 -${int1} 1 -${int2} 2 -${version} 5 -*** Test Cases *** - - +${engine_id} 11 +${nexthop} 0 +${port} 0 +${prot} 1 +${int1} 1 +${int2} 2 +${version} 5 +*** Test Cases *** Verifying TSDR Data Store For Netflow Entries [Documentation] Verify the Cassandra Data store to check if Netflow data is stored. - Copy TSDR tables val_table=metriclog + Copy TSDR tables val_table=metriclog ${metric_log}= Verify the Metrics Syslog on Cassandra Client grep DC=NETFLOW Should Contain ${metric_log} srcAddr=${IP_2} ${netflow}= Create Temporary Key Info srcAddr=${IP_2} val_table=metriclog @@ -51,7 +49,6 @@ Verifying TSDR Data Store For Netflow Entries Should Contain ${netflow} srcAS=0 Should Contain ${netflow} dstMask=0 Should Contain ${netflow} srcMask=0 - ${netflow}= Create Temporary Key Info srcAddr=${IP_1} val_table=metriclog Should Contain ${netflow} srcAddr=${IP_1} Should Contain ${netflow} dstAddr=${IP_2} @@ -73,7 +70,6 @@ Verifying TSDR Data Store For Netflow Entries Should Contain ${netflow} dstMask=0 Should Contain ${netflow} srcMask=0 - *** Keywords *** Initialize Netflow [Documentation] Initialize Netflow setup and start collecting the netflow samples. @@ -81,7 +77,3 @@ Initialize Netflow Bringup Netflow Initialize Cassandra Tables Metricval val_table=metriclog Wait Until Keyword Succeeds 36x 5 sec Ping Pair Hosts Cassandra \\d{2} - - - -