- Timestamp:
- Sep 24, 2009 6:35:09 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
- Children:
- 0fa1729
- Parents:
- 46bc576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
r46bc576 rb236eed 846 846 "Can't find segment for portal %s" % myname) 847 847 848 is_ip = re.match('\d+\.\d+\.\d+\.\d+', peer) 849 848 850 rexp = seg.get_attribute('experiment') 849 851 rproj, reid = rexp.split("/", 1) … … 870 872 % (rproj, reid, peer.lower(), reid.lower(), 871 873 rproj.lower(), rdomain) 872 print >>f, "Peer: %s.%s.%s%s" % \ 873 (peer.lower(), reid.lower(), rproj.lower(), rdomain) 874 if is_ip: 875 print >>f, "Peer: %s" % peer 876 else: 877 print >>f, "Peer: %s.%s.%s%s" % \ 878 (peer.lower(), reid.lower(), 879 rproj.lower(), rdomain) 874 880 print >>f, "RemoteScriptDir: %s" % scriptdir 875 881 print >>f, "Pubkeys: /proj/%s/exp/%s/tmp/%s" % \
Note: See TracChangeset
for help on using the changeset viewer.