| 1 | == Converting ProtoGENI v2 to GENI v3 == |
| 2 | 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. |
| 3 | |
| 4 | ''' ProtoGENI v2 Example ''' |
| 5 | {{{ |
| 6 | #!xml |
| 7 | <rspec xmlns="http://www.protogeni.net/resources/rspec/2" |
| 8 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 9 | xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 |
| 10 | http://www.protogeni.net/resources/rspec/2/request.xsd" |
| 11 | type="request" > |
| 12 | |
| 13 | <!-- Rest of RSpec --> |
| 14 | |
| 15 | </rspec> |
| 16 | }}} |
| 17 | |
| 18 | ''' GENI v3 Example ''' |
| 19 | {{{ |
| 20 | #!xml |
| 21 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 24 | http://www.geni.net/resources/rspec/3/request.xsd" |
| 25 | type="request" > |
| 26 | |
| 27 | <!-- Rest of RSpec --> |
| 28 | |
| 29 | </rspec> |
| 30 | |
| 31 | }}} |