Changeset b3227fd for fedd/federation
- Timestamp:
- May 26, 2010 10:05:23 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 8209faa
- Parents:
- ce81d09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_partition.py
rce81d09 rb3227fd 272 272 connInfo, expid=None, tb_name=None): 273 273 """ 274 Add attribiutes to the various elements indicating that theyare to be275 dragon connected and create a dragon segment in topo to be276 instantiated.274 Create connection information that tells which nodes are to be 275 connected to direct transits, and create an additional topology with 276 just the interconnected segments and a substrate. 277 277 """ 278 278 … … 301 301 # testbed. This routine creates a net numbered by dn 302 302 dn = len([x for x in topo.keys() if x.startswith(tb_name)]) 303 # Count the number of interfaces on this substrate in each testbed from304 # the global topology305 #count = { }306 #node = { }307 #for e in [ i.element for i in sub.interfaces ]:308 #tb = e.get_attribute('testbed')309 #count[tb] = count.get(tb, 0) + 1310 #node[tb] = i.get_attribute('ip4_address')311 312 303 313 304 # Set the attributes in the copies that will allow setup of direct
Note: See TracChangeset
for help on using the changeset viewer.