#NEWLINE# def run_geni_ch( self , gcf_dir , ssl_dir , ch_port ) : #NEWLINE# #INDENT# '\n        Run the GENI Sample CH in a subprocess and connect to it.\n        ' #NEWLINE# self . ch_proc = self . run_proc_cmd ( ( 'python %s -u %s -r %s -c %s -k %s -p %s --debug -H 0.0.0.0' % ( join ( gcf_dir , 'gch.py' ) , join ( ssl_dir , 'experimenter.crt' ) , join ( ssl_dir , 'certs' ) , join ( ssl_dir , 'ch.crt' ) , join ( ssl_dir , 'ch.key' ) , ch_port ) ) ) #NEWLINE# cert_transport = SafeTransportWithCert ( keyfile = join ( ssl_dir , 'experimenter.key' ) , certfile = join ( ssl_dir , 'experimenter.crt' ) ) #NEWLINE# self . ch_client = xmlrpclib . ServerProxy ( ( 'https://%s:%s/' % ( test_settings . HOST , ch_port ) ) , transport = cert_transport )