Module Import alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Dict While CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Num If CompareLtE NameLoad BinOpSub Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Num TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign AttributeStore NameLoad attr Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad BinOpMod Str SubscriptLoad NameLoad Index Num BinOpMod Str SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Print NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore BinOpAdd Str Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Num Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign AttributeStore NameLoad attr Num For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str BinOpAdd NameLoad Num Str BinOpMod Str SubscriptLoad NameLoad Index NameLoad Print NameLoad decorator_list
N/A N/A itertools N/A paramiko N/A prettytable N/A re N/A subprocess N/A sys sshconnect N/A N/A hostname user passwd N/A N/A N/A sshclient N/A N/A paramiko SSHClient N/A N/A N/A sshclient set_missing_host_key_policy N/A N/A paramiko AutoAddPolicy N/A N/A N/A N/A N/A sshclient connect hostname username user password passwd N/A N/A N/A Exception N/A N/A N/A sshclient N/A report_table N/A N/A suite_name N/A N/A N/A ps N/A N/A subprocess Popen N/A grep -r TESTCASE N/A /tmp/%s.log suite_name stdout N/A subprocess PIPE N/A output N/A N/A N/A ps communicate N/A 0 N/A output N/A N/A output splitlines N/A line 0 N/A tc_dict N/A N/A N/A line N/A len output N/A N/A find1 N/A N/A re search \b(TESTCASE_GBP_.*)\b: (.*) N/A output N/A line N/A re I N/A N/A find1 None N/A N/A line 1 N/A N/A line N/A N/A len output 1 N/A N/A find2 N/A N/A re search N/A \b%s\b: (.*) N/A N/A find1 group 1 N/A output N/A line N/A re I N/A N/A find2 None N/A N/A N/A tc_dict N/A N/A N/A find1 group 1 N/A N/A N/A find2 group 1 N/A N/A find1 group 2 N/A line 1 N/A table N/A N/A prettytable PrettyTable N/A TESTCASE_ID RESULTS TESTCASE_HEADER N/A N/A table padding_width 1 N/A N/A key val N/A N/A tc_dict iteritems N/A N/A N/A N/A table add_row N/A N/A %s key N/A %s N/A val N/A 0 N/A %s N/A val N/A 1 N/A table N/A report_results N/A N/A suite_name txt_file N/A N/A N/A orig_stdout N/A sys stdout N/A f N/A open N/A %s txt_file a N/A N/A sys stdout f N/A report N/A report_table suite_name N/A report N/A N/A sys stdout orig_stdout N/A N/A N/A f close N/A gen_tc_header N/A N/A N/A N/A N/A comb_list N/A N/A same_leaf two_leafs N/A same_host two_hosts N/A same_ptg two_ptgs N/A same_L3_subnet two_L3_subnets N/A same_L2_bd two_L2_bds N/A out_hdr_list N/A list N/A N/A itertools product comb_list N/A out_headers N/A N/A hdr out_hdr_list N/A N/A header N/A test_ N/A N/A _ join N/A N/A str i N/A i hdr N/A N/A N/A out_headers append header N/A proto N/A list N/A N/A itertools combinations N/A icmp tcp udp dhcp arp 2 N/A proto_hdrs N/A N/A hdr proto N/A N/A proto_header N/A N/A _ join N/A N/A str i N/A i hdr N/A N/A N/A proto_hdrs append proto_header N/A in_hdrs N/A list N/A N/A itertools product out_headers proto_hdrs N/A final_headers N/A N/A hdr in_hdrs N/A N/A tc_header N/A N/A _ join N/A N/A str i N/A i hdr N/A N/A N/A final_headers append tc_header N/A table N/A N/A prettytable PrettyTable N/A TESTCASE_ID STATUS TESTCASE_HEADER N/A N/A table padding_width 1 N/A i N/A range N/A len final_headers N/A N/A N/A N/A table add_row N/A N/A TESTCASE_DP_%s N/A i 1 TBA N/A %s N/A final_headers N/A i N/A table N/A