Changes between Version 43 and Version 44 of GENIExperimenter/RSpecs


Ignore:
Timestamp:
05/15/12 11:35:31 (8 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/RSpecs

    v43 v44  
    2020version is the [wiki:RSpecSchema3 GENI v3].
    2121== GENI v3 ==
    22 The current GENI v3 RSpec schemas are based on the ProtoGENI v2 RSpecs. You can find some documentation and RSpec examples [http://www.protogeni.net/trac/protogeni/wiki/RSpec on the ProtoGENI website]. There you will also find a [http://www.protogeni.net/trac/protogeni/wiki/RSpecTutorial tutorial on RSpecs]. Although the examples are for ProtoGENI v2 RSpecs, it is easy to [#ConvertingProtoGENIv2toGENIv3 convert them] to GENI v3.
     22The current GENI v3 RSpec schemas are based on the ProtoGENI v2 RSpecs. You can find some documentation and RSpec examples [http://www.protogeni.net/trac/protogeni/wiki/RSpec on the ProtoGENI website]. There you will also find a [http://www.protogeni.net/trac/protogeni/wiki/RSpecTutorial tutorial on RSpecs]. Although the examples are for ProtoGENI v2 RSpecs, it is easy to [wiki:HowTo/Convertv2tov3RSpecs convert them] to GENI v3.
    2323
    2424=== OpenFlow v3 Extension ===
     
    3030
    3131== ProtoGENI v2 (deprecated) ==
    32 The latest GENI v3 are based on ProtoGENI v2 RSpecs. A good resource about understanding and writing ProtoGENI v2 RSpecs can be found on the [http://www.protogeni.net/trac/protogeni/wiki/RSpecTutorial ProtoGENI wiki]. The only difference between
     32ProtoGENI v2 RSpec is the type that ProtoGENI AM used to describe resources. The GENI community decided to adopt this type, and created the GENI v3 RSpec type based on this. It is easy to [wiki:HowTo/Convertv2tov3RSpecs convert RSpecs] from ProtoGENI v2 to GENI v3.
    3333
    3434= Writing RSpecs =
     
    4141that will check the validity of an xml document against its schema.
    4242
    43 == Converting ProtoGENI v2 to GENI v3 ==
    44 The only thing that changed from ProtoGENI v2 to GENI v3 RSpecs is the location of the schemas. On the top of a ProtoGENI v2 RSpecs there is the `<rspec>` tag that provides a lot of information about the RSpec version that is used in the document. In order to convert them to GENI v3 RSpecs you will just need to replace that tag.
    45 
    46 ''' ProtoGENI v2 Example '''
    47 {{{
    48 #!xml
    49 <rspec xmlns="http://www.protogeni.net/resources/rspec/2"
    50        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    51        xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
    52                            http://www.protogeni.net/resources/rspec/2/request.xsd"
    53        type="request" >
    54 
    55      <!-- Rest of RSpec -->
    56 
    57 </rspec>
    58 }}}
    59 
    60 ''' GENI v3 Example '''
    61 {{{
    62 #!xml
    63 <rspec  xmlns="http://www.geni.net/resources/rspec/3"
    64              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    65              xsi:schemaLocation="http://www.geni.net/resources/rspec/3
    66                         http://www.geni.net/resources/rspec/3/request.xsd"
    67      type="request"  >
    68 
    69      <!-- Rest of RSpec -->
    70 
    71 </rspec>
    72 
    73 }}}
    74 
    7543''' For comments and corrections on this page please [mailto:help@geni.net email us].'''