Changeset 934dd99 for fedd/federation
- Timestamp:
- Apr 13, 2012 6:10:09 PM (13 years ago)
- Branches:
- compt_changes, master
- Children:
- b035f90
- Parents:
- 9c3e77f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r9c3e77f r934dd99 759 759 self.node = { } 760 760 self.subs = { } 761 self.tb = { } 761 762 self.proof = None 762 763 … … 773 774 if isinstance(e, topdl.Computer): 774 775 self.node[e.name] = e 776 elif isinstance(e, topdl.Testbed): 777 self.tb[e.uri] = e 775 778 for s in top.substrates: 776 779 self.subs[s.name] = s … … 978 981 if ne.os: merge_oses(ne, e) 979 982 break 983 elif isinstance(e,topdl.Testbed): 984 for s in data: 985 ne = s.tb.get(e.uri, None) 986 if ne is not None: 987 add_new_names(ne.localname, e.localname) 988 add_new_names(ne.operation, e.operation) 989 merge_services(ne, e) 990 for a in ne.attribute: 991 e.set_attribute(a.attribute, a.value) 980 992 # Annotate substrates 981 993 for s in top.substrates:
Note: See TracChangeset
for help on using the changeset viewer.