Module Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num Num Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad keyword Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Break Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num attr Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body For NameStore Call NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Break orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Break Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num attr Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str orelse Pass decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body For NameStore Call NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str Num Num Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Num Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list
N/A N/A commands N/A os N/A random N/A sys N/A time N/A possible_topdir N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path abspath N/A N/A sys argv N/A 0 N/A os pardir N/A os pardir N/A N/A N/A N/A os path exists N/A N/A N/A os path join possible_topdir nova __init__.py N/A N/A N/A N/A N/A sys path insert 0 possible_topdir smoketests flags smoketests base N/A FLAGS N/A flags FLAGS N/A TEST_PREFIX N/A test%s N/A int N/A N/A N/A random random 1000000 N/A TEST_BUCKET N/A %s_bucket TEST_PREFIX N/A TEST_KEY N/A %s_key TEST_PREFIX N/A TEST_KEY2 N/A %s_key2 TEST_PREFIX N/A TEST_DATA N/A InstanceTestsFromPublic N/A N/A base UserSmokeTestCase N/A test_001_can_create_keypair N/A N/A self N/A N/A N/A key N/A N/A self create_key_pair N/A self conn TEST_KEY N/A N/A N/A self assertEqual N/A key name TEST_KEY N/A test_002_security_group N/A N/A self N/A N/A N/A security_group_name N/A N/A join N/A N/A N/A random choice sdiuisudfsdcnpaqwertasd N/A x N/A range N/A N/A random randint 4 8 N/A group N/A N/A N/A self conn create_security_group security_group_name test group N/A N/A group connection N/A self conn N/A N/A N/A group authorize tcp 22 22 0.0.0.0/0 N/A N/A FLAGS use_ipv6 N/A N/A N/A N/A group authorize tcp 22 22 ::/0 N/A reservation N/A N/A N/A self conn run_instances N/A FLAGS test_image key_name TEST_KEY security_groups N/A security_group_name instance_type m1.tiny N/A N/A N/A self data N/A security_group_name security_group_name N/A N/A N/A self data N/A group group N/A N/A N/A self data N/A instance_id N/A N/A N/A reservation instances N/A 0 id N/A test_003_instance_with_group_runs_within_60_seconds N/A N/A self N/A N/A N/A reservations N/A N/A N/A self conn get_all_instances N/A N/A N/A self data N/A instance_id N/A instance N/A N/A N/A reservations N/A 0 instances N/A 0 N/A x N/A xrange 60 N/A N/A N/A N/A instance update N/A N/A N/A instance state running N/A N/A N/A N/A N/A time sleep 1 N/A N/A N/A N/A self fail instance failed to start N/A ip N/A N/A N/A N/A reservations N/A 0 instances N/A 0 private_dns_name N/A N/A N/A self failIf N/A ip 0.0.0.0 N/A N/A N/A self data N/A private_ip ip N/A N/A FLAGS use_ipv6 N/A N/A ipv6 N/A N/A N/A N/A reservations N/A 0 instances N/A 0 dns_name_v6 N/A N/A N/A self failIf N/A ipv6 None N/A N/A N/A self data N/A ip_v6 ipv6 N/A test_004_can_ssh_to_ipv6 N/A N/A self N/A N/A N/A N/A FLAGS use_ipv6 N/A N/A x N/A xrange 20 N/A N/A N/A N/A conn N/A N/A self connect_ssh N/A N/A self data N/A ip_v6 TEST_KEY N/A N/A N/A conn close N/A N/A N/A Exception N/A ex N/A N/A ex N/A N/A N/A time sleep 1 N/A N/A N/A N/A N/A N/A self fail could not ssh to instance N/A test_012_can_create_instance_with_keypair N/A N/A self N/A N/A N/A N/A instance_id N/A self data N/A N/A N/A N/A N/A self conn terminate_instances N/A N/A N/A self data N/A instance_id N/A reservation N/A N/A N/A self conn run_instances N/A FLAGS test_image key_name TEST_KEY instance_type m1.tiny N/A N/A N/A self assertEqual N/A len N/A reservation instances 1 N/A N/A N/A self data N/A instance_id N/A N/A N/A reservation instances N/A 0 id N/A test_013_instance_runs_within_60_seconds N/A N/A self N/A N/A N/A reservations N/A N/A N/A self conn get_all_instances N/A N/A N/A self data N/A instance_id N/A instance N/A N/A N/A reservations N/A 0 instances N/A 0 N/A x N/A xrange 60 N/A N/A N/A N/A instance update N/A N/A N/A instance state running N/A N/A N/A N/A N/A time sleep 1 N/A N/A N/A N/A self fail instance failed to start N/A ip N/A N/A N/A N/A reservations N/A 0 instances N/A 0 private_dns_name N/A N/A N/A self failIf N/A ip 0.0.0.0 N/A N/A N/A self data N/A private_ip ip N/A N/A FLAGS use_ipv6 N/A N/A ipv6 N/A N/A N/A N/A reservations N/A 0 instances N/A 0 dns_name_v6 N/A N/A N/A self failIf N/A ipv6 None N/A N/A N/A self data N/A ip_v6 ipv6 N/A test_014_can_not_ping_private_ip N/A N/A self N/A N/A N/A x N/A xrange 4 N/A N/A N/A status output N/A N/A commands getstatusoutput N/A ping -c1 %s N/A N/A self data N/A private_ip N/A N/A status 0 N/A N/A N/A N/A self fail can ping private ip from public network N/A N/A FLAGS use_ipv6 N/A N/A N/A status output N/A N/A commands getstatusoutput N/A ping6 -c1 %s N/A N/A self data N/A ip_v6 N/A N/A status 0 N/A N/A N/A N/A self fail can ping ipv6 from public network N/A N/A N/A test_015_can_not_ssh_to_private_ip N/A N/A self N/A N/A N/A x N/A xrange 1 N/A N/A N/A N/A conn N/A N/A self connect_ssh N/A N/A self data N/A private_ip TEST_KEY N/A N/A N/A conn close N/A N/A N/A Exception N/A N/A N/A N/A time sleep 1 N/A N/A N/A N/A self fail can ssh for ipv4 address from public network N/A N/A FLAGS use_ipv6 N/A N/A x N/A xrange 1 N/A N/A N/A N/A conn N/A N/A self connect_ssh N/A N/A self data N/A ip_v6 TEST_KEY N/A N/A N/A conn close N/A N/A N/A Exception N/A N/A N/A N/A time sleep 1 N/A N/A N/A N/A self fail can ssh for ipv6 address from public network N/A test_999_tearDown N/A N/A self N/A N/A N/A N/A N/A self delete_key_pair N/A self conn TEST_KEY N/A security_group_name N/A N/A self data N/A security_group_name N/A group N/A N/A self data N/A group N/A group N/A N/A N/A N/A group revoke tcp 22 22 0.0.0.0/0 N/A N/A FLAGS use_ipv6 N/A N/A N/A N/A group revoke tcp 22 22 ::/0 N/A N/A N/A N/A self conn delete_security_group security_group_name N/A N/A instance_id N/A self data N/A N/A N/A N/A N/A self conn terminate_instances N/A N/A N/A self data N/A instance_id N/A N/A