Changes between Version 135 and Version 136 of GENIExperimenter/ExperimentExample-OF-FOAM
- Timestamp:
- 04/26/12 21:55:57 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/ExperimentExample-OF-FOAM
v135 v136 108 108 109 109 === Step 2. Determine the MyPLC hosts to be reserved === 110 From each site's advertisement RSpecs generated above, we choose one host: 110 111 From each site's advertisement RSpecs generated above, we choose one host to use in the experiment. Detailed instructions for defining a MyPLC V2 RSpec are available [http://groups.geni.net/geni/wiki/GEC12OmniTutorial/Tutorial#CreatingPlanetLabRequestRSpecsfromAdvertisementRSpecs here]. This sections shows the MyPLC node details for each site: 111 112 112 113 ==== BBN MyPLC Host ==== … … 124 125 At the Clemson MyPLC, we choose the host ''planetlab4'': 125 126 {{{ 126 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"127 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu" 127 128 component_manager_id="urn:publicid:IDN+plc+authority+am" 128 129 component_name="planetlab4.clemson.edu" client_id="planetlab4" exclusive="false"> … … 135 136 At the Wisconsin MyPLC, we choose the host ''wings-openflow-1'': 136 137 {{{ 137 <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu"138 <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu" 138 139 component_manager_id="urn:publicid:IDN+plc+authority+am" 139 140 component_name="wings-openflow-1.wail.wisc.edu" exclusive="false"> … … 146 147 === Step 3. Generate the MyPLCs RSpecs === 147 148 148 T he advertisement RSpecs are used to generate the request RSpecs to reserve the resources. Following are the compute resources request RSpec defined based on the output of the listresources commands above. The request Rspec template looks as follows:149 To generate the MyPLC RSpec, we combine the request RSpec template below with the node details in step 2. Here is the RSpec V2 template: 149 150 {{{ 150 151 <?xml version="1.0" ?> … … 153 154 URL: http://myplc.gpolab.bbn.com:12346/ 154 155 --> 155 156 156 <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2" 157 157 xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" … … 161 161 http://www.protogeni.net/resources/rspec/2/request.xsd"> 162 162 163 </rspec> 164 }}} 165 163 <!-- Insert MyPLC node details here --> 164 165 </rspec> 166 }}} 167 168 Following are the complete MyPLC RSpec for each site: 166 169 167 170 '''BBN MyPLC Compute Resource RSpec ''' 168 {{{169 #!xml170 <?xml version="1.0"?>171 <!--172 This rspec will create a container on each of the BBN production MyPLC plnodes.173 AM: https://myplc.gpolab.bbn.com:12346/174 -->175 <RSpec type="SFA">176 <network name="plc.gpolab">177 <node component_id="urn:publicid:IDN+plc:gpolab:gpolab+node+navis.gpolab.bbn.com"178 component_manager_id="urn:publicid:IDN+plc:gpolab+authority+sa"179 node_id="n1" site_id="urn:publicid:IDN+plc:gpolab:gpolab+authority+sa">180 <hostname> navis.gpolab.bbn.com </hostname>181 </node>182 </network>183 </RSpec>184 }}}185 186 ''' Clemson MyPLC Compute Resources RSpec'''187 171 {{{ 188 172 #!xml 189 173 <?xml version="1.0" ?> 190 174 <!-- Resources at AM: 191 URL: http://myplc.clemson.edu:12346/ 192 --> 193 <RSpec type="SFA"> 194 <network name="plc"> 195 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu" 196 component_manager_id="urn:publicid:IDN+plc+authority+sa" 197 node_id="n1" site_id="urn:publicid:IDN+plc:cu+authority+sa"> 198 <hostname> planetlab4.clemson.edu </hostname> 199 </node> 200 </network> 201 </RSpec> 202 }}} 203 204 205 '''Wisconsin MyPLC Compute Resources RSpec''' 175 URN: unspecified_AM_URN 176 URL: http://myplc.gpolab.bbn.com:12346/ 177 --> 178 <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2" 179 xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 180 xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" 181 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 182 xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 183 http://www.protogeni.net/resources/rspec/2/request.xsd"> 184 <node component_id="urn:publicid:IDN+plc:gpolab:gpolab+node+navis.gpolab.bbn.com" 185 component_manager_id="urn:publicid:IDN+plc:gpolab+authority+am" 186 component_name="navis.gpolab.bbn.com" client_id="mypc0" exclusive="false"> 187 <sliver_type name="plab-vnode"> 188 </sliver_type> 189 </node> 190 </rspec> 191 }}} 192 193 ''' Clemson MyPLC Compute Resources RSpec''' 206 194 {{{ 207 195 #!xml 208 196 <?xml version="1.0" ?> 209 197 <!-- Resources at AM: 210 URL: https://wings-openflow-1.wail.wisc.edu:12346/ 211 --> 212 <RSpec type="SFA"> 213 <network name="plc"> 214 <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-2.wail.wisc.edu" 215 component_manager_id="urn:publicid:IDN+plc+authority+sa" 216 node_id="n9" site_id="urn:publicid:IDN+plc:wisc+authority+sa"> 217 <hostname> wings-openflow-2.wail.wisc.edu </hostname> 218 </node> 219 </network> 220 </RSpec> 198 URN: unspecified_AM_URN 199 URL: http://myplc.gpolab.bbn.com:12346/ 200 --> 201 <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2" 202 xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 203 xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" 204 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 205 xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 206 http://www.protogeni.net/resources/rspec/2/request.xsd"> 207 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu" 208 component_manager_id="urn:publicid:IDN+plc+authority+am" 209 component_name="planetlab4.clemson.edu" client_id="planetlab4" exclusive="false"> 210 <sliver_type name="plab-vnode"> 211 </sliver_type> 212 </node> 213 </rspec> 214 }}} 215 216 217 '''Wisconsin MyPLC Compute Resources RSpec''' 218 {{{ 219 #!xml 220 <?xml version="1.0" ?> 221 <!-- Resources at AM: 222 URN: unspecified_AM_URN 223 URL: http://myplc.gpolab.bbn.com:12346/ 224 --> 225 <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2" 226 xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 227 xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" 228 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 229 xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 230 http://www.protogeni.net/resources/rspec/2/request.xsd"> 231 <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu" 232 component_manager_id="urn:publicid:IDN+plc+authority+am" 233 component_name="wings-openflow-1.wail.wisc.edu" exclusive="false"> 234 <sliver_type name="plab-vnode"> 235 </sliver_type> 236 </node> 237 </rspec> 221 238 }}} 222 239 … … 281 298 282 299 Now we have all the site specific information needed to define the BBN OF resource request RSpec. The syntax for each of these RSpec items can be "borrowed" from the listresources associated to each DPID. 283 284 300 285 301 These are the RSpec lines that define the ports on habanero: … … 369 385 }}} 370 386 371 In addition each of the groups must be allowed to sharetraffic for the IP subnet range reserved for the experiment. Following is the packet filter definitions for Clemson:387 In addition packet filters must defined to allow traffic for the IP subnet range reserved for the experiment. Following is the packet filter definitions for Clemson: 372 388 {{{ 373 389 <openflow:match> … … 421 437 422 438 423 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment. Following is the packet filter definition forWisconsin !OpenFlow resources:439 In addition packet filters are defined to allow traffic for the IP subnet range reserved for the experiment. Following is the packet filter definition for the Wisconsin !OpenFlow resources: 424 440 {{{ 425 441 <openflow:match>