Changeset f769cb3 for fedd/federation
- Timestamp:
- Nov 23, 2011 2:28:47 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- c6f867c
- Parents:
- 9294673
- Location:
- fedd/federation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
r9294673 rf769cb3 1023 1023 if e.name in starter.node: 1024 1024 e.localname.append("%s%s" % \ 1025 (starter.node[e.name] , self.domain))1026 e.status = 'active'1025 (starter.node[e.name][0], self.domain)) 1026 e.status = starter.node[e.name][1] 1027 1027 else: 1028 1028 # Simple debugging assignment -
fedd/federation/emulab_segment.py
r9294673 rf769cb3 226 226 if code ==0: 227 227 for k, v in nodes.items(): 228 print v 228 229 if v.get('erole', False) and 'pnode' in v: 229 self.node[k] = v['pnode'] 230 st = v.get('status', 'up') 231 if st == 'up': st = 'active' 232 else: st = 'failed' 233 self.node[k] = (v['pnode'], st) 230 234 if self.log: 231 235 self.log.info("Mapping complete") -
fedd/federation/proxy_emulab_segment.py
r9294673 rf769cb3 142 142 else: 143 143 m = phys_line.match(line.strip()) 144 if m: self.node[m.group(1)] = m.group(3)144 if m: self.node[m.group(1)] = (m.group(3), 'active') 145 145 else: self.log.warn( 146 146 "Matching failed while parsing node mapping: " +\
Note: See TracChangeset
for help on using the changeset viewer.