2 Documentation Test suite for HSQLDB DataStore NetFlow Stats Verification
7 Library ../../../libraries/Common.py
8 Resource ../../../libraries/KarafKeywords.robot
9 Resource ../../../libraries/TsdrUtils.robot
10 Variables ../../../variables/Variables.py
12 Suite Setup Initialize Netflow
13 Suite Teardown Stop Tsdr Suite
31 Verification of Full Record Text for Netflow Dumps
32 [Documentation] Verify the Netflow Record Text Hbase client
33 ${out}= Issue Command On Karaf Console tsdr:list NETFLOW | grep srcAddr=${IP_2}
34 Should Contain ${out} srcPort=${port}
35 Should Contain ${out} srcAddr=${IP_2}
36 Should Contain ${out} dstAddr=${IP_1}
37 Should Contain ${out} srcPort=${port}
38 Should Contain ${out} protocol=${prot}
39 Should Contain ${out} nextHop=${nexthop}
40 Should Contain ${out} engine_type
41 Should Contain ${out} engine_id
42 Should Contain ${out} input=${int2}
43 Should Contain ${out} output=${int1}
44 ${out}= Issue Command On Karaf Console tsdr:list NETFLOW | grep srcAddr=${IP_1}
45 Should Contain ${out} srcAddr=${IP_1}
46 Should Contain ${out} dstAddr=${IP_2}
47 Should Contain ${out} dstPort=${port}
48 Should Contain ${out} protocol=${prot}
49 Should Contain ${out} nextHop=${nexthop}
50 Should Contain ${out} engine_type
51 Should Contain ${out} engine_id
52 Should Contain ${out} input=${int1}
53 Should Contain ${out} output=${int2}
54 Should Contain ${out} sysUpTime
55 Should Contain ${out} flow_sequence
56 Should Contain ${out} unix_nsecs
57 Should Contain ${out} dPkts
58 Should Contain ${out} dOctets
59 Should Contain ${out} tcpFlags
60 Should Contain ${out} dstAS=0
61 Should Contain ${out} srcAS=0
62 Should Contain ${out} dstMask=0
63 Should Contain ${out} srcMask=0
68 [Documentation] Initialize Mininet topology and check if netflow data is getting collected
70 Wait Until Keyword Succeeds 36x 5 sec Ping Pair Hosts HSQLDB 2\\d+