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 ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str For NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareLtE Call NameLoad AttributeLoad NameLoad attr Num CompareGtE Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Num keyword Num TryFinally body If UnaryOpNot Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str finalbody If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return NameLoad If CompareNotEq NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad keyword NameLoad keyword Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr TryFinally body While UnaryOpNot Call AttributeLoad NameLoad attr body If CompareGt BinOpSub Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num finalbody Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr While Call AttributeLoad NameLoad attr body If CompareGt BinOpSub Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr 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_GROUP N/A %s_group TEST_PREFIX AddressTests N/A N/A base UserSmokeTestCase N/A test_000_setUp N/A N/A self N/A N/A N/A N/A N/A self create_key_pair N/A self conn TEST_KEY N/A reservation N/A N/A N/A self conn run_instances N/A FLAGS test_image instance_type m1.tiny key_name TEST_KEY N/A N/A N/A self data N/A instance N/A N/A reservation instances N/A 0 N/A N/A N/A N/A self wait_for_running N/A N/A self data N/A instance N/A N/A N/A N/A self fail instance failed to start N/A N/A N/A N/A N/A self data N/A instance update N/A N/A N/A N/A self wait_for_ping N/A N/A N/A self data N/A instance private_dns_name N/A N/A N/A N/A self fail could not ping instance N/A N/A N/A N/A self wait_for_ssh N/A N/A N/A self data N/A instance private_dns_name TEST_KEY N/A N/A N/A N/A self fail could not ssh to instance N/A test_001_can_allocate_floating_ip N/A N/A self N/A N/A N/A result N/A N/A N/A self conn allocate_address N/A N/A N/A self assertTrue N/A hasattr result public_ip N/A N/A N/A self data N/A public_ip N/A result public_ip N/A test_002_can_associate_ip_with_instance N/A N/A self N/A N/A N/A result N/A N/A N/A self conn associate_address N/A N/A N/A self data N/A instance id N/A N/A self data N/A public_ip N/A N/A N/A self assertTrue result N/A test_003_can_ssh_with_public_ip N/A N/A self N/A N/A N/A ssh_authorized False N/A groups N/A N/A N/A self conn get_all_security_groups N/A default N/A rule N/A N/A groups N/A 0 rules N/A N/A N/A N/A N/A rule ip_protocol tcp N/A N/A int N/A rule from_port 22 N/A N/A int N/A rule to_port 22 N/A N/A ssh_authorized True N/A N/A N/A ssh_authorized N/A N/A N/A N/A N/A self conn authorize_security_group default ip_protocol tcp from_port 22 to_port 22 N/A N/A N/A N/A N/A N/A self wait_for_ssh N/A N/A self data N/A public_ip TEST_KEY N/A N/A N/A N/A self fail could not ssh to public ip N/A N/A N/A ssh_authorized N/A N/A N/A N/A N/A self conn revoke_security_group default ip_protocol tcp from_port 22 to_port 22 N/A test_004_can_disassociate_ip_from_instance N/A N/A self N/A N/A N/A result N/A N/A N/A self conn disassociate_address N/A N/A self data N/A public_ip N/A N/A N/A self assertTrue result N/A test_005_can_deallocate_floating_ip N/A N/A self N/A N/A N/A result N/A N/A N/A self conn release_address N/A N/A self data N/A public_ip N/A N/A N/A self assertTrue result 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 N/A N/A N/A self conn terminate_instances N/A N/A N/A N/A self data N/A instance id N/A N/A SecurityGroupTests N/A N/A base UserSmokeTestCase N/A __get_metadata_item N/A N/A self category N/A N/A N/A id_url N/A latest/meta-data/%s category N/A options -f -s --max-time 1 N/A command N/A curl %s %s/%s N/A options N/A N/A self data N/A public_ip id_url N/A N/A status output N/A N/A commands getstatusoutput command N/A value N/A N/A output strip N/A N/A status 0 N/A N/A False N/A value N/A __public_instance_is_accessible N/A N/A self N/A N/A N/A instance_id N/A N/A self __get_metadata_item instance-id N/A N/A instance_id N/A N/A False N/A N/A instance_id N/A N/A N/A self data N/A instance id N/A N/A N/A Exception N/A Wrong instance id. Expected: %s, Got: %s N/A N/A N/A N/A self data N/A instance id instance_id N/A True N/A test_001_can_create_security_group N/A N/A self N/A N/A N/A N/A N/A N/A self conn create_security_group TEST_GROUP description test N/A groups N/A N/A N/A self conn get_all_security_groups N/A N/A N/A self assertTrue N/A TEST_GROUP N/A N/A group name N/A group groups N/A test_002_can_launch_instance_in_security_group N/A N/A self N/A N/A N/A N/A open proxy.sh f N/A N/A user_data N/A N/A f read N/A N/A N/A self create_key_pair N/A self conn TEST_KEY 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 TEST_GROUP user_data user_data instance_type m1.tiny N/A N/A N/A self data N/A instance N/A N/A reservation instances N/A 0 N/A N/A N/A N/A self wait_for_running N/A N/A self data N/A instance N/A N/A N/A N/A self fail instance failed to start N/A N/A N/A N/A N/A self data N/A instance update N/A test_003_can_authorize_security_group_ingress N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self conn authorize_security_group TEST_GROUP ip_protocol tcp from_port 80 to_port 80 N/A test_004_can_access_metadata_over_public_ip N/A N/A self N/A N/A N/A result N/A N/A N/A self conn allocate_address N/A N/A N/A self assertTrue N/A hasattr result public_ip N/A N/A N/A self data N/A public_ip N/A result public_ip N/A result N/A N/A N/A self conn associate_address N/A N/A N/A self data N/A instance id N/A N/A self data N/A public_ip N/A start_time N/A N/A time time N/A N/A N/A N/A N/A N/A self __public_instance_is_accessible N/A N/A N/A N/A N/A N/A time time start_time 60 N/A N/A N/A Exception Timeout N/A N/A N/A time sleep 1 N/A N/A result N/A N/A N/A self conn disassociate_address N/A N/A self data N/A public_ip N/A test_005_validate_metadata N/A N/A self N/A N/A N/A instance N/A N/A self data N/A instance N/A N/A N/A self assertTrue N/A instance instance_type N/A N/A self __get_metadata_item instance-type N/A test_006_can_revoke_security_group_ingress N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self conn revoke_security_group TEST_GROUP ip_protocol tcp from_port 80 to_port 80 N/A start_time N/A N/A time time N/A N/A N/A self __public_instance_is_accessible N/A N/A N/A N/A N/A N/A time time start_time 60 N/A N/A N/A Exception Timeout N/A N/A N/A time sleep 1 N/A test_999_tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self conn delete_key_pair TEST_KEY N/A N/A N/A N/A self conn delete_security_group TEST_GROUP N/A groups N/A N/A N/A self conn get_all_security_groups N/A N/A N/A self assertFalse N/A TEST_GROUP N/A N/A group name N/A group groups N/A N/A N/A N/A self conn terminate_instances N/A N/A N/A N/A self data N/A instance id N/A N/A N/A self assertTrue N/A N/A N/A self conn release_address N/A N/A self data N/A public_ip N/A N/A