#NEWLINE# def _get_running_instance( self ) : #NEWLINE# #INDENT# instance_ref = utils . get_test_instance ( ) #NEWLINE# network_info = utils . get_test_network_info ( ) #NEWLINE# network_info [ 0 ] [ 'network' ] [ 'subnets' ] [ 0 ] [ 'meta' ] [ 'dhcp_server' ] = '1.1.1.1' #NEWLINE# image_info = utils . get_test_image_info ( None , instance_ref ) #NEWLINE# image_info [ 'disk_format' ] = 'raw' #NEWLINE# image_info [ 'container_format' ] = 'docker' #NEWLINE# self . connection . spawn ( self . ctxt , instance_ref , image_info , [ ] , 'herp' , network_info = network_info ) #NEWLINE# return ( instance_ref , network_info )