Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16,...

10
Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010

Transcript of Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16,...

Page 1: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

Resource specification update for PlanetLab and VINI

Andy BavierPrinceton University

March 16, 2010

Page 2: Resource specification update for PlanetLab and VINI Andy Bavier Princeton 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

Page 3: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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>…

Page 4: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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>…

Page 5: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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>…

Page 6: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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> ….

Page 7: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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>

Page 8: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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>….

Page 9: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

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

Page 10: Resource specification update for PlanetLab and VINI Andy Bavier Princeton University March 16, 2010.

Summary

• Deployed on VINI• Will deploy on PlanetLab soon– Coordinating with federation partners

• Happy to dig into implementation details later today or tomorrow