Changeset ab847bc for fedd/federation/experiment_partition.py
- Timestamp:
- Apr 28, 2010 4:09:53 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 12658df
- Parents:
- 05fceef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_partition.py
r05fceef rab847bc 212 212 "Cannot DRAGON split substrate w/o capacity") 213 213 segs = [ ] 214 substr = topdl.Substrate(name="dragon%d" % idx, 214 name = join_testbed("dragon", "%d" % idx) 215 substr = topdl.Substrate(name=name, 215 216 capacity=sub.capacity.clone(), 216 217 attribute=[ topdl.Attribute(attribute=n, value=v) 217 218 for n, v, in (\ 218 219 ('vlan', 'unassigned%d' % idx),)]) 219 name = "dragon%d" % idx220 220 store_key = 'fedid:%s/vlan%d' % (expid, idx) 221 221 for tb in tbs.keys(): … … 574 574 id= tbparams[mtb]['allocID'], 575 575 type='emulab', 576 uri = self.tbmap.get( master, None),576 uri = self.tbmap.get(testbed_base(mtb), None), 577 577 interface=[ 578 578 topdl.Interface( … … 603 603 id= tbparams[tb]['allocID'], 604 604 type='emulab', 605 uri = self.tbmap.get(t b, None),605 uri = self.tbmap.get(testbed_base(tb), None), 606 606 interface=[ 607 607 topdl.Interface( … … 625 625 topo[mtb].elements.append(portal) 626 626 topo[mtb].elements.append(seg) 627 for t in (m aster, tb):627 for t in (mtb, tb): 628 628 topo[t].incorporate_elements() 629 629
Note: See TracChangeset
for help on using the changeset viewer.