Changeset 935e46f for fedd/federation/proxy_emulab_segment.py
- Timestamp:
- Apr 22, 2010 10:21:17 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 76bcab2
- Parents:
- 4c931af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_emulab_segment.py
r4c931af r935e46f 100 100 self.log.debug("Getting mapping for %s %s" % (pid, eid)) 101 101 phys_start = re.compile('^Physical\s+Node\s+Mapping') 102 phys_line = re.compile('(\S+) \s+\S+\s+\S+\s+(.*)')102 phys_line = re.compile('(\S+)(\s+\S+)*\s+(\S+)') 103 103 phys_end = re.compile('^$') 104 104 status = subprocess.Popen(cmd, stdout=subprocess.PIPE, … … 127 127 else: 128 128 m = phys_line.match(line.strip()) 129 if m: self.node[m.group(1)] = m.group( 2)129 if m: self.node[m.group(1)] = m.group(3) 130 130 else: self.log.warn( 131 "Matching failed while parsing node mapping") 131 "Matching failed while parsing node mapping: " +\ 132 "line %s" % line) 132 133 rv = status.wait() 133 134
Note: See TracChangeset
for help on using the changeset viewer.