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 1 - (download) (as text) (annotate)
Mon Aug 27 11:46:35 2012 UTC (11 years, 9 months ago) by agomez
File size: 523 byte(s)
'''
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