Log In | Get Help   
Home My Page Projects Code Snippets Project Openings BonFIRE VCOC Demonstration Kit
Summary Activity SCM Files Wiki
[bonfiredemokit] Diff of /ea/submit_sites.py
[bonfiredemokit] / ea / submit_sites.py Repository:
ViewVC logotype

Diff of /ea/submit_sites.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1, Mon Aug 27 11:46:35 2012 UTC revision 18, Tue Oct 9 16:17:03 2012 UTC
# Line 1  Line 1 
1    #
2    # BonFIRE Virtual Clusters on Federated Clouds Demonstration Kit
3    #
4    # Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012
5    #
6    # License Apache Software
7    #
8    # The research leading to these results has received funding from
9    # the European Community's Seventh Framework Programme (FP7/2007-2013)
10    # under agreement number 257386
11    #
12    # This software is provided with ABSOLUTELY NO WARRANTY
13    #
14  '''  '''
15  Created on 22/02/2012  Created on 22/02/2012
16    
# Line 16  Line 29 
29    
30    
31  """################################################################  """################################################################
32  # Envio de experimentos                                           #  # Submisson of experiments                                   #
33  ###################################################################"""  ###################################################################"""
34  #Descripcion del trabajo en Json  #Json description
35  exp={'description': 'Experiment description',  exp={'description': 'Experiment description',
36       'duration': 120,       'duration': 120,
37       'name': 'My Experiment',       'name': 'My Experiment',
# Line 31  Line 44 
44    
45    
46    
47  #Indicamos la lista de sites a la que queremos enviar, la duracion de los experimentos  #List of sites where the experiments can be send and the maximum time.
48  # y nos devuelve una lista con stings en json con la definicion del experimento  
49  locations=['be-ibbt','fr-inria','uk-hplabs','uk-epcc']  locations=['be-ibbt','fr-inria','uk-hplabs','uk-epcc']
50    
51  duration = 120  duration = 120
52  locations = ['fr-inria']  locations = ['fr-inria']
53    # Get a JSON string with the experiment definition for these locations and times.
54  exp, info_instance, info_storage, info_location = expt.json_exp(locations, duration)  exp, info_instance, info_storage, info_location = expt.json_exp(locations, duration)
55    
56  multi = 10  multi = 10

Legend:
Removed from v.1  
changed lines
  Added in v.18

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge