def get_conn(service='SoftLayer_Virtual_Guest'):
 client = SoftLayer.Client(username=config.get_cloud_config_value('user', get_configured_provider(), __opts__, search_global=False), api_key=config.get_cloud_config_value('apikey', get_configured_provider(), __opts__, search_global=False))
 return client[service]

def get_conn ( service = 'SoftLayer_Virtual_Guest' ) : client = SoftLayer . Client ( username = config . get_cloud_config_value ( 'user' , get_configured_provider ( ) , __opts__ , search_global = False ) , api_key = config . get_cloud_config_value ( 'apikey' , get_configured_provider ( ) , __opts__ , search_global = False ) ) return client [ service ]
return a conn object for the passed vm data .