#NEWLINE# def GetConfig( user_config ) : #NEWLINE# #INDENT# config = configs . LoadConfig ( BENCHMARK_CONFIG , user_config , BENCHMARK_NAME ) #NEWLINE# num_vms = max ( FLAGS . num_vms , 3 ) #NEWLINE# config [ 'vm_groups' ] [ 'workers' ] [ 'vm_count' ] = num_vms #NEWLINE# if FLAGS [ 'ycsb_client_vms' ] . present : #NEWLINE# #INDENT# config [ 'vm_groups' ] [ 'clients' ] [ 'vm_count' ] = FLAGS . ycsb_client_vms #NEWLINE# #UNINDENT# return user_config