Example of an RSpec request for two nodes with a VLAN link between them.

You may want a link between several nodes on the same Component Manager. You can specify them with the link element. Currently, the only way to connect nodes on different Component Managers is via GRE tunnels (see RSpecRequestTunnelExample).

<?xml version="1.0" encoding="UTF-8"?>
<rspec xmlns="http://www.protogeni.net/resources/rspec/0.1"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.protogeni.net/resources/rspec/0.1 http://www.protogeni.net/resources/rspec/0.1/request.xsd"
       type="request" >
  <node virtual_id="left"
        virtualization_type="emulab-vnode"
        exclusive="1">
    <node_type type_name="pc" type_slots="1"/>
    <interface virtual_id="if0"/>
  </node>
  <node virtual_id="right"
        virtualization_type="emulab-vnode"
        exclusive="1">
    <node_type type_name="pc" type_slots="1"/>
    <interface virtual_id="if0"/>
  </node>
  <link virtual_id="center">
    <interface_ref virtual_node_id="left"
                   virtual_interface_id="if0" />
    <interface_ref virtual_node_id="right" 
                   virtual_interface_id="if0" />
  </link>
</rspec>