Changeset e794984


Ignore:
Timestamp:
Sep 6, 2009 3:25:23 PM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
Children:
895a133
Parents:
e19b75c
Message:

remove debugging

Location:
fedd/federation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/access.py

    re19b75c re794984  
    6868        self.ssh_privkey_file = config.get("access","ssh_privkey_file")
    6969        self.create_debug = config.getboolean("access", "create_debug")
    70         print self.create_debug
    7170
    7271        self.attrs = { }
     
    13621361
    13631362    def TerminateSegment(self, req, fid):
    1364         print "In terminate"
    13651363        try:
    13661364            req = req['TerminateSegmentRequestBody']
     
    13711369        aid = "%s" % auth_attr
    13721370        attrs = req.get('fedAttr', [])
    1373         print "in terminate %s" % auth_attr
    13741371        if not self.auth.check_attribute(fid, auth_attr):
    1375             print "access denied"
    13761372            raise service_error(service_error.access, "Access denied")
    13771373
  • fedd/federation/experiment_control.py

    re19b75c re794984  
    967967
    968968        def __call__(self, uri, aid ):
    969             print "in terminate_segment: %s" % aid
    970969            req = {
    971970                    'allocID': aid ,
     
    13971396                for f in ("hosts", gw_secretkey_base, gw_pubkey_base):
    13981397                    self.auth.set_attribute(asignee, "%s/%s" % (configpath, f))
    1399                     print "assigned %s/%s" % (configpath, f)
    14001398
    14011399            # Now, for each substrate in the main topology, find those that
     
    17241722
    17251723    def get_handler(self, path, fid):
    1726         print "%s" %  path
    17271724        if self.auth.check_attribute(fid, path):
    17281725            return ("%s/%s" % (self.repodir, path), "application/binary")
     
    19741971            for fed in fed_exp.get('federant', []):
    19751972                try:
    1976                     print "looking at %s" % fed
    19771973                    tb = fed['emulab']['project']['testbed']['localname']
    19781974                    aid = fed['allocID']
    19791975                except KeyError, e:
    1980                     print "Key error: %s" %e
    19811976                    continue
    19821977                tbparams[tb] = aid
Note: See TracChangeset for help on using the changeset viewer.