Changeset b3227fd


Ignore:
Timestamp:
May 26, 2010 10:05:23 AM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
8209faa
Parents:
ce81d09
Message:

Remove unused code (what was I doing???) and correct a comment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_partition.py

    rce81d09 rb3227fd  
    272272            connInfo, expid=None, tb_name=None):
    273273        """
    274         Add attribiutes to the various elements indicating that they are to be
    275         dragon connected and create a dragon segment in topo to be
    276         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.
    277277        """
    278278
     
    301301        # testbed.  This routine creates a net numbered by dn
    302302        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 from
    304         # the global topology
    305         #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) + 1
    310             #node[tb] = i.get_attribute('ip4_address')
    311 
    312303
    313304        # Set the attributes in the copies that will allow setup of direct
Note: See TracChangeset for help on using the changeset viewer.