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

View of /ea/storage.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (download) (as text) (annotate)
Fri Aug 31 10:40:38 2012 UTC (11 years, 9 months ago) by agomez
File size: 978 byte(s)
Corrected minor error in license text
Powerpoint presentation to show how to use the software (also in PDF).
#
# BonFIRE Virtual Clusters on Federated Clouds Demonstration Kit
#
# Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012
# 
# License GPL Version 3
#
# The research leading to these results has received funding from 
# the European Community's Seventh Framework Programme (FP7/2007-2013) 
# under agreement number 257386
#
# This software is provided with ABSOLUTELY NO WARRANTY
# 
'''
Created on 16/03/2012

@author: cesga
'''

import time
import sub_pycurl as em
import xml_conv
import xml_creator as xmlc
import credentials as cr




user = cr.getuser('~/.restfully/api.bonfire-project.eu.yml') 
passwd = cr.getpass('~/.restfully/api.bonfire-project.eu.yml') 

theurl = 'https://api.bonfire-project.eu/'
raiz = 'https://api.bonfire-project.eu/'

exp=xmlc.xml_creator()

print exp

job = em.sub()
job.user = user
job.passwd = passwd

respuesta = job.submit_xml(theurl, exp)
print "respuesta", respuesta

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

Powered By FusionForge