Module Expr Str Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str
N/A N/A 
Created on Oct 10, 2012
@author: mmunn
Unit test          : EUCA-2185 DescribeInstances api call does not return ip addresses
setUp              : Install Credentials, set use_instance_dns
test               : Call euca-describe-instances with use_instance_dns=true and make 
                     sure the instance ip is not the same as the instance dns name
                     in the returned string
tearDown           : Removes Credentials, terminates instance, reset use_instance_dns

cloud.conf:( place in same directory as this test)
IP_ADDRESS   CENTOS  6.3     64      BZR     [CLC]
IP_ADDRESS   CENTOS  6.3     64      BZR     [WS]
IP_ADDRESS   CENTOS  6.3     64      BZR     [CC00 SC00]
IP_ADDRESS   CENTOS  6.3     64      BZR     [NC00]
 N/A unittest N/A shutil eucaops Eucaops Euca2185 N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self conf cloud.conf N/A N/A self tester N/A Eucaops config_file N/A self conf password foobar N/A N/A self clc1 N/A N/A N/A N/A self tester service_manager get_enabled_clc N/A N/A self source N/A N/A source  N/A N/A self tester credpath /eucarc &&  N/A N/A self sbin N/A N/A N/A self tester eucapath /usr/sbin/ N/A N/A self cmd euca-modify-property -p bootstrap.webservices.use_instance_dns= N/A N/A N/A N/A self tester sys N/A N/A N/A N/A self source N/A self sbin N/A self cmd true N/A N/A N/A self doAuth N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self tester sys N/A N/A N/A N/A self source N/A self sbin N/A self cmd false N/A N/A N/A N/A self tester cleanup_artifacts N/A N/A N/A N/A self tester delete_keypair N/A self keypair N/A N/A N/A N/A self tester local N/A N/A rm  N/A N/A self keypair name .pem N/A N/A N/A shutil rmtree N/A N/A self tester credpath N/A doAuth N/A N/A self N/A N/A N/A N/A self keypair N/A N/A N/A self tester add_keypair N/A N/A self group N/A N/A N/A self tester add_group N/A N/A N/A N/A self tester authorize_group N/A self group N/A testName N/A N/A self N/A N/A N/A N/A self emi N/A N/A N/A self tester get_emi N/A N/A self reservation N/A N/A N/A self tester run_instance keypair N/A N/A self keypair name group N/A self group is_reachable False N/A instance N/A N/A self reservation instances N/A N/A N/A N/A instance state running N/A N/A N/A self dns N/A instance public_dns_name N/A N/A self instanceid N/A instance id N/A N/A self out N/A N/A N/A self tester sys N/A N/A N/A self source euca-describe-instances  N/A self instanceid N/A N/A self count N/A N/A N/A str N/A self out count N/A str N/A self dns N/A N/A N/A self count 1 N/A N/A N/A N/A N/A N/A self fail N/A  euca-describe-instances instance ip= N/A self dns N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main Euca2185