def get_appcontroller_client():
 raw_ips = file_io.read('/etc/appscale/load_balancer_ips')
 ips = raw_ips.split('\n')
 head_node = ips[0]
 secret_file = '/etc/appscale/secret.key'
 secret = read_file_contents(secret_file)
 return AppControllerClient(head_node, secret)

def get_appcontroller_client ( ) : raw_ips = file_io . read ( '/etc/appscale/load_balancer_ips' ) ips = raw_ips . split ( '\n' ) head_node = ips [ 0 ] secret_file = '/etc/appscale/secret.key' secret = read_file_contents ( secret_file ) return AppControllerClient ( head_node , secret )
returns an appcontrollerclient instance for this deployment .