Module Expr Str Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore ListLoad Str Str AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num If CompareEq NameLoad Num body AugAssignAdd NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareEq SubscriptLoad NameLoad Index Num Str body AugAssignMult NameStore BinOpPow Num Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body AugAssignMult NameStore BinOpPow Num Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body AugAssignMult NameStore BinOpPow Num Num If CompareNotEq NameLoad Num body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLt NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad orelse Break Expr Call AttributeLoad NameLoad attr CompareGt NameLoad Num decorator_list Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Test for linearbandwidth.py
 N/A unittest N/A pexpect N/A sys testLinearBandwidth N/A N/A unittest TestCase N/A testLinearBandwidth N/A N/A self N/A N/A N/A Verify that bandwidth is monotonically decreasing as # of hops increases N/A p N/A N/A pexpect spawn python -m mininet.examples.linearbandwidth N/A count 0 N/A opts N/A \*\*\* Linear network results (\d+)\s+([\d\.]+) (.bits) N/A pexpect EOF N/A True N/A N/A index N/A N/A p expect opts timeout 600 N/A N/A index 0 N/A N/A count 1 N/A N/A N/A index 1 N/A N/A n N/A int N/A N/A N/A p match group 1 N/A bw N/A float N/A N/A N/A p match group 2 N/A unit N/A N/A N/A p match group 3 N/A N/A N/A unit N/A 0 K N/A N/A bw N/A 10 3 N/A N/A N/A N/A unit N/A 0 M N/A N/A bw N/A 10 6 N/A N/A N/A N/A unit N/A 0 G N/A N/A bw N/A 10 9 N/A N/A n 1 N/A N/A info N/A bw: %d bits/s across %d switches, previous: %d bits/s across %d switches N/A bw n previous_bw previous_n N/A N/A N/A self assertTrue N/A bw previous_bw info N/A N/A previous_bw previous_n N/A bw n N/A N/A N/A N/A N/A self assertTrue N/A count 0 N/A N/A N/A unittest skipIf N/A -quick N/A sys argv long test N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main