Changeset e794984 for fedd/federation/experiment_control.py
- Timestamp:
- Sep 6, 2009 3:25:23 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
- Children:
- 895a133
- Parents:
- e19b75c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
re19b75c re794984 967 967 968 968 def __call__(self, uri, aid ): 969 print "in terminate_segment: %s" % aid970 969 req = { 971 970 'allocID': aid , … … 1397 1396 for f in ("hosts", gw_secretkey_base, gw_pubkey_base): 1398 1397 self.auth.set_attribute(asignee, "%s/%s" % (configpath, f)) 1399 print "assigned %s/%s" % (configpath, f)1400 1398 1401 1399 # Now, for each substrate in the main topology, find those that … … 1724 1722 1725 1723 def get_handler(self, path, fid): 1726 print "%s" % path1727 1724 if self.auth.check_attribute(fid, path): 1728 1725 return ("%s/%s" % (self.repodir, path), "application/binary") … … 1974 1971 for fed in fed_exp.get('federant', []): 1975 1972 try: 1976 print "looking at %s" % fed1977 1973 tb = fed['emulab']['project']['testbed']['localname'] 1978 1974 aid = fed['allocID'] 1979 1975 except KeyError, e: 1980 print "Key error: %s" %e1981 1976 continue 1982 1977 tbparams[tb] = aid
Note: See TracChangeset
for help on using the changeset viewer.