Version 2 (modified by ibaldin, 8 years ago)

--

ORCA and RSpec

ORCA supports requests submitted in RSpec v2. Requests in NS2 and RSpec v1 are possible, but require a manual use of the NDL converter.

RSpec v2

ORCA supports a limited set of RSpec expressions. The example below shows a representative sample of what can be said:

?xml version="1.0" encoding="UTF-8"?>
<rspec type="request"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
                                          http://www.protogeni.net/resources/rspec/2/request.xsd"
    xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.protogeni.net/resources/rspec/2">
<node client_id="geni1">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml"
version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" />
 </sliver_type>
 <services>
   <execute shell="sh" command="sudo hostname `cat
/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
 </services>
 <interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.0.0" />
 </interface>
</node>
<node client_id="geni2">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml"
version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" />
 </sliver_type>
 <services>
   <execute shell="sh" command="sudo hostname `cat
/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
 </services>
 <interface client_id="geni2:0" >
   <ip address="172.16.1.2" netmask="255.255.0.0" />
 </interface>
</node>
<link client_id="center">
  <interface_ref client_id="geni1:0" />
  <interface_ref client_id="geni2:0" />
</link>
</rspec>

Conversion conventions

  • 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?.