Changeset eb117fe for fedd/federation
- Timestamp:
- Aug 23, 2012 6:36:01 PM (12 years ago)
- Branches:
- master
- Children:
- 9d40cc9
- Parents:
- be1742d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_partition.py
rbe1742d reb117fe 453 453 new_portal = True 454 454 portal_type = "experiment" 455 myname = "%s tunnel%d" % (dname.lower(),455 myname = "%s%stunnel%d" % (sname.lower(), dname.lower(), 456 456 len(portals[st][dt])) 457 desthost = "%s tunnel%d" % (sname.lower(),458 len(portals[st][dt]))457 desthost = "%s%stunnel%d" % (dname.lower(), 458 sname.lower(), len(portals[st][dt])) 459 459 else: 460 460 new_i = topdl.Interface( … … 472 472 new_portal = True 473 473 portals[st][dt] = [ ] 474 myname = "%s tunnel%d" % (dname.lower(),474 myname = "%s%stunnel%d" % (sname.lower(), dname.lower(), 475 475 len(portals[st][dt])) 476 desthost = "%s tunnel%d" % (sname.lower(),476 desthost = "%s%stunnel%d" % (dname.lower(), sname.lower(), 477 477 len(portals[st][dt])) 478 478 … … 500 500 tsubstrate, segment_element = \ 501 501 self.new_portal_substrate(st, dt, eid, tbparams, expid) 502 myname = "%s tunnel" % dt503 desthost = "%s tunnel" % st502 myname = "%s%stunnel" % (st, dt) 503 desthost = "%s%stunnel" % (dt, st) 504 504 505 505 portal, info = self.new_portal_node(st, dt, tbparams, masters, … … 518 518 substrate, tbparams, expid, tb_name): 519 519 # Add to the master testbed 520 if testbed_suffix(dt): myname = "%stunnel" % "-".join(split_testbed(dt)) 521 else: myname = "%stunnel" % dt 520 if testbed_suffix(dt): myname = "%s%stunnel" % \ 521 ("-".join(split_testbed(dt)), st) 522 else: myname = "%s%stunnel" % (dt, st) 522 523 523 524 desthost = "%s" % ip_addr(dip)
Note: See TracChangeset
for help on using the changeset viewer.