X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Frspecs%2Fversions%2Fpgv3.py;h=6d6a4494727824dc4914b45c14b0a4be6b824fcc;hb=f6ceca6a9f9cb1cb63e20817641adf16beaaffb1;hp=efec871dcb500f365064ea0fd105728bb0b03803;hpb=757704ef48f67222c74243095dc59c9577133b58;p=sfa.git diff --git a/sfa/rspecs/versions/pgv3.py b/sfa/rspecs/versions/pgv3.py index efec871d..6d6a4494 100644 --- a/sfa/rspecs/versions/pgv3.py +++ b/sfa/rspecs/versions/pgv3.py @@ -1,6 +1,6 @@ from sfa.rspecs.versions.pgv2 import PGv2 -class PGv3(PGv2): +class GENIv3(PGv2): type = 'GENI' content_type = 'ad' version = '3' @@ -9,26 +9,46 @@ class PGv3(PGv2): extensions = { 'flack': "http://www.protogeni.net/resources/rspec/ext/flack/1", 'planetlab': "http://www.planet-lab.org/resources/sfa/ext/planetlab/1", + 'plos': "http://www.planet-lab.org/resources/sfa/ext/plos/1", } namespaces = dict(extensions.items() + [('default', namespace)]) elements = [] -class PGv3Ad(PGv3): +class GENIv3Ad(GENIv3): enabled = True content_type = 'ad' schema = 'http://www.geni.net/resources/rspec/3/ad.xsd' - template = '' + template = """ + + + + + + Boot the node + + VMs begin powered down or inactive. They + must be explicitly booted before use. + + + The node is up and ready to use. + + + The node has failed and requires administrator + intervention before it can be used. Please contact support + for assistance. + + +""" -class PGv3Request(PGv3): +class GENIv3Request(GENIv3): enabled = True content_type = 'request' schema = 'http://www.geni.net/resources/rspec/3/request.xsd' - template = '' + template = '' -class PGv2Manifest(PGv3): +class GENIv2Manifest(GENIv3): enabled = True content_type = 'manifest' schema = 'http://www.geni.net/resources/rspec/3/manifest.xsd' - template = '' - + template = ''