Commit a18324b2 authored by Jonathon Duerig's avatar Jonathon Duerig

Add first cut at examples using external references for ads.

Also, a request which uses those advertisements.
parent 2911db62
<?xml version="1.0" encoding="UTF-8"?>
<rspec type="advertisement"
xmlns="http://www.protogeni.net/resources/rspec/0.1">
<external_ref component_node_uuid="urn:ion+node+ion"
component_interface_id="interface"
component_manager_uuid="urn:ion+authority+cm" />
<node component_uuid="urn:utah+node-1"
component_manager_uuid="urn:utah+authority+cm"
virtualization_type="emulab-vnode">
<node_type type_name="pc" type_slots="1" />
<interface component_id="eth0"/>
</node>
<node component_manager_uuid="urn:utah+authority+cm"
component_name="cisco3"
component_uuid="urn:utah+node+cisco3" >
<node_type
type_name="switch"
type_slots="1"
/>
<available>true</available>
<exclusive>true</exclusive>
<interface component_id="node-1"/>
<interface component_id="ion"/>
</node>
<link component_name="link-1"
component_uuid="urn:utah+link+link-1" >
<component_manager
name="urn:utah+authority+cm"/>
<interface_ref component_node_uuid="urn:utah+node+cisco3"
component_interface_id="node-1"/>
<interface_ref component_node_uuid="urn:utah+node+node-1"
component_interface_id="eth0"/>
</link>
<link component_name="link-ion"
component_uuid="urn:utah+link+link-ion" >
<component_manager
name="urn:utah+authority+cm"/>
<component_manager
name="urn:ion+authority+cm"/>
<interface_ref component_node_uuid="urn:utah+node+cisco3"
component_interface_id="ion"/>
<interface_ref component_node_uuid="urn:ion+node+ion"
component_interface_id="interface"/>
</link>
</rspec>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<rspec type="advertisement"
xmlns="http://www.protogeni.net/resources/rspec/0.1">
<external_ref component_node_uuid="urn:ion+node+ion"
component_interface_id="interface"
component_manager_uuid="urn:ion+authority+cm" />
<node component_uuid="urn:uky+node-a"
component_manager_uuid="urn:uky+authority+cm"
virtualization_type="emulab-vnode">
<node_type type_name="pc" type_slots="1" />
<interface component_id="eth0"/>
</node>
<node component_manager_uuid="urn:uky+authority+cm"
component_name="hp1"
component_uuid="urn:uky+node+hp1" >
<node_type
type_name="switch"
type_slots="1"
/>
<available>true</available>
<exclusive>true</exclusive>
<interface component_id="node-a"/>
<interface component_id="ion"/>
</node>
<link component_name="link-a"
component_uuid="urn:uky+link+link-a" >
<component_manager
name="urn:uky+authority+cm"/>
<interface_ref component_node_uuid="urn:uky+node+hp1"
component_interface_id="node-a"/>
<interface_ref component_node_uuid="urn:uky+node+node-a"
component_interface_id="eth0"/>
</link>
<link component_name="link-ion"
component_uuid="urn:uky+link+link-ion" >
<component_manager
name="urn:uky+authority+cm"/>
<component_manager
name="urn:ion+authority+cm"/>
<interface_ref component_node_uuid="urn:uky+node+hp1"
component_interface_id="ion"/>
<interface_ref component_node_uuid="urn:ion+node+ion"
component_interface_id="interface"/>
</link>
</rspec>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<rspec type="advertisement"
xmlns="http://www.protogeni.net/resources/rspec/0.1">
<node component_uuid="urn:ion+node+ion"
component_manager_uuid="urn:ion+authority+cm"
virtualization_type="emulab-vnode">
<node_type
type_name="switch"
type_slots="1"
/>
<interface component_id="interface"/>
</node>
</rspec>
<?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"
component_manager_uuid="urn:uky+authority+cm">
<node_type type_name="pc" type_slots="1"/>
<interface virtual_id="if0"/>
</node>
<node virtual_id="right"
virtualization_type="emulab-vnode"
exclusive="1"
component_manager_uuid="urn:utah+authority+cm">
<node_type type_name="pc" type_slots="1"/>
<interface virtual_id="if0"/>
</node>
<link virtual_id="center">
<component_manager name="urn:uky+authority+cm" />
<component_manager name="urn:utah+authority+cm" />
<component_manager name="urn:ion+authority+cm" />
<interface_ref virtual_node_id="left"
virtual_interface_id="if0" />
<interface_ref virtual_node_id="right"
virtual_interface_id="if0" />
<component_hop component_urn="urn:utah+link+link-ion"/>
<component_hop component_urn="urn:uky+link+link-ion"/>
</link>
</rspec>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment