Changes between Version 1 and Version 2 of orca-and-rspec

Show
Ignore:
Timestamp:
10/27/11 15:00:53 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • orca-and-rspec

    v1 v2  
    11= ORCA and RSpec =  
    22 
    3 ORCA supports requests submitted in RSpec v2. Requests in NS2 and RSpec v1 are possible, but require a manual use of the NDL converter.  
     3ORCA supports requests submitted in RSpec v2. Requests in NS2 and RSpec v1 are possible, but require a manual use of the [wiki:ndl-conversions NDL converter].  
     4 
     5== RSpec v2 == 
     6 
     7ORCA supports a limited set of RSpec expressions. The example below shows a representative sample of what can be said: 
     8 
     9{{{ 
     10?xml version="1.0" encoding="UTF-8"?> 
     11<rspec type="request" 
     12xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 
     13                                          http://www.protogeni.net/resources/rspec/2/request.xsd" 
     14    xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 
     15    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     16    xmlns="http://www.protogeni.net/resources/rspec/2"> 
     17<node client_id="geni1"> 
     18 <sliver_type name="raw-pc"> 
     19   <disk_image 
     20name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" 
     21version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" /> 
     22 </sliver_type> 
     23 <services> 
     24   <execute shell="sh" command="sudo hostname `cat 
     25/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/> 
     26 </services> 
     27 <interface client_id="geni1:0"> 
     28    <ip address="172.16.1.1" netmask="255.255.0.0" /> 
     29 </interface> 
     30</node> 
     31<node client_id="geni2"> 
     32 <sliver_type name="raw-pc"> 
     33   <disk_image 
     34name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" 
     35version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" /> 
     36 </sliver_type> 
     37 <services> 
     38   <execute shell="sh" command="sudo hostname `cat 
     39/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/> 
     40 </services> 
     41 <interface client_id="geni2:0" > 
     42   <ip address="172.16.1.2" netmask="255.255.0.0" /> 
     43 </interface> 
     44</node> 
     45<link client_id="center"> 
     46  <interface_ref client_id="geni1:0" /> 
     47  <interface_ref client_id="geni2:0" /> 
     48</link> 
     49</rspec> 
     50}}} 
     51 
     52== Conversion conventions ==  
     53 
     54 * Disk images - in ORCA users are allowed to specify their own images that can be placed on any webserver to be picked up by ORCA (downloaded and installed on user instances). This functionality is supported via ImageProxy.