Changeset 6527d60 for fedd/federation/emulab_access.py
- Timestamp:
- Mar 4, 2012 8:20:31 PM (13 years ago)
- Branches:
- compt_changes, master
- Children:
- 9e5e251
- Parents:
- 8cab4c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
r8cab4c2 r6527d60 771 771 (info.node[e.name].pname, self.domain),), 772 772 e.localname) 773 add_new(("%s%s" % 774 (info.node[e.name].lname, self.domain),), 775 e.localname) 773 776 e.status = info.node[e.name].status 774 777 os = info.node[e.name].getOS() … … 780 783 add_new(('testop1', 'testop2'), e.operation) 781 784 i += 1 785 786 for s in t.substrates: 787 if s.name in info.subs: 788 sub = info.subs[s.name] 789 if sub.cap is not None: 790 s.capacity = topdl.Capacity(sub.cap, 'max') 791 if sub.delay is not None: 792 s.delay = topdl.Latency(sub.delay, 'max') 793 # XXX interfaces 782 794 783 795
Note: See TracChangeset
for help on using the changeset viewer.