Tidied updated tests.
[integration/test.git] / csit / suites / tsdr / HBase / 070_Netflow.robot
index 39b57a9b1f04a12453be8d2fc0e0f54c2c7a7366..cb2f55114eab4acd9d1e4b35e0dd37efe889c393 100644 (file)
@@ -11,20 +11,19 @@ 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
-${protocol}    1
-${int1}    1
-${int2}    2
-${version}    5
-*** Test Cases ***
-
+${engine_id}      11
+${nextHop}        0
+${port}           0
+${protocol}       1
+${int1}           1
+${int2}           2
+${version}        5
 
+*** Test Cases ***
 Verification of Full Record Text for Netflow Dumps
     [Documentation]    Verify the Netflow Record Text Hbase client
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1' , LIMIT => 10, FILTER => "ValueFilter( =, 'regexstring:srcAddr=${IP_2}' )" }
@@ -37,7 +36,6 @@ Verification of Full Record Text for Netflow Dumps
     Should Contain    ${out}    engine_id
     Should Contain    ${out}    input=${int2}
     Should Contain    ${out}    output=${int1}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1' , LIMIT => 10, FILTER => "ValueFilter( =, 'regexstring:srcAddr=${IP_1}' )" }
     Should Contain    ${out}    srcAddr=${IP_1}
     Should Contain    ${out}    dstAddr=${IP_2}
@@ -48,7 +46,6 @@ Verification of Full Record Text for Netflow Dumps
     Should Contain    ${out}    engine_id
     Should Contain    ${out}    input=${int1}
     Should Contain    ${out}    output=${int2}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW'
     Should Contain    ${out}    sysUpTime
     Should Contain    ${out}    flow_sequence
@@ -60,8 +57,6 @@ Verification of Full Record Text for Netflow Dumps
     Should Contain    ${out}    dstMask=0
     Should Contain    ${out}    srcMask=0
 
-
-
 Verification of Metric Record for Netflow Dumps
     [Documentation]    Verify the Netflow Metric Record Hbase client
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:dstAddr' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${IP_1}' )" }
@@ -74,36 +69,24 @@ Verification of Metric Record for Netflow Dumps
     Should Contain    ${out}    value=${IP_2}
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:input' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${int1}' )" }
     Should Contain    ${out}    value=${int1}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:output' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${int2}' )" }
     Should Contain    ${out}    value=${int2}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:input' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${int2}' )" }
     Should Contain    ${out}    value=${int2}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:output' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${int1}' )" }
     Should Contain    ${out}    value=${int1}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:flowDuration' , LIMIT => 10}
     Should Contain    ${out}    flowDuration
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:nextHop' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${nextHop}' )" }
     Should Contain    ${out}    value=${nextHop}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:version' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${version}' )" }
     Should Contain    ${out}    value=${version}
-
     ${out}=    Query the Data from HBaseClient    scan 'NETFLOW',{ COLUMNS => 'c1:protocol' , LIMIT => 10, FILTER => "ValueFilter( =, 'binaryprefix:${protocol}' )" }
     Should Contain    ${out}    value=${protocol}
 
-
 *** Keywords ***
 Initialize Netflow
     [Documentation]    Initialize Netflow setup and start collecting the netflow samples.
     Query the Data from HBaseClient    truncate 'NETFLOW'
     Bringup Netflow
     Wait Until Keyword Succeeds    36x    5 sec    Ping Pair Hosts Hbase    \\d{2} row
-
-
-
-