Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16,...
Transcript of Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16,...
Resource specification update for PlanetLab and VINI
Andy BavierPrinceton University
March 16, 2010
RSpec overview
• User interface for resource allocation in SFA– Aggregates advertise available resources– Users request resources for a slice
• Recall: RSpec workflow– RSpec = GetResources([SliceHRN])– User edits RSpec– CreateSlice(SliceHRN, RSpec)
• Describe current implementation of RSpecs for PlanetLab and VINI testbeds
• Wiki: http://svn.planet-lab.org/wiki/SFAResourceSpecifications
PlanetLab RSpec
• RSpec = GetResources()• Returns a list of sites and nodes in XML
… <site id="s4"> <name>Kentucky</name> <node id="n73"> <hostname>planetlab1.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> </node> <node id="n74"> <hostname>planetlab2.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> </node> </site>…
PlanetLab RSpec
• User annotates RSpec with requested virtual resources• Example: request sliver with default attributes
… <site id="s4"> <name>Kentucky</name> <node id="n73"> <hostname>planetlab1.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> </node> <node id="n74"> <hostname>planetlab2.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> <sliver /> </node> </site>…
PlanetLab RSpec
• Request sliver with fd_fusemount capability
… <site id="s4"> <name>Kentucky</name> <node id="n73"> <hostname>planetlab1.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> </node> <node id="n74"> <hostname>planetlab2.netlab.uky.edu</hostname> <bw_limit units="kbps">100000</bw_limit> <sliver> <vsys>fd_fusemount</vsys> </sliver> </node> </site>…
PlanetLab RSpec
• Request fd_fusemount for all slivers with the <sliver_defaults> element at top of RSpec
<RSpec type="SFA"> <network name="plc"> <sliver_defaults> <vsys>fd_fusemount</vsys> </sliver_defaults> ….
Short PlanetLab RSpec
• Rspec only contains <sliver> elements• Use nodeid attribute of <sliver> element to refer
to a node
<RSpec type="SFA"> <request name="plc"> <sliver nodeid="n73"> <vsys>fd_fusemount</vsys> </sliver> </request></RSpec>
VINI RSpec
• VINI extends the PlanetLab Rspec with network information– “slice” the physical network using virtual links
• <link> element describes the physical topology connecting VINI sites
• <vlink> element specifies a virtual link between slivers
.... <link endpoints="s11 s15"> <description>I2 Chicago -- I2 Atlanta</description> <bw_unallocated units="kbps">988000</bw_unallocated> <vlink endpoints=“n26 n18” /> </link>….
Sfatables• Allows resource owners to specify policies on
how their resources are used• Works by transforming / filtering RSpecs• Example: default bandwidth for virtual links
User submits:
<vlink endpoints=“n26 n18” />
Aggregate Manager sees:
<vlink endpoints=“n26 n18”> <kbps>10000</kbps></vlink>
sfatables -A INCOMING -- -m slice --hrn=plc.princeton.iias -- -t RESTRICT_SLICE_PROP -e link --max-link-kbps=10000
sfatables
Summary
• Deployed on VINI• Will deploy on PlanetLab soon– Coordinating with federation partners
• Happy to dig into implementation details later today or tomorrow