Ignore:
Timestamp:
Sep 3, 2009 6:51:50 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:
f5ae004
Parents:
66861a2
Message:

checkpoint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    r66861a2 recca6eb  
    21512151            self.caller = caller
    21522152
    2153         def __call__(self, uri, aid, topo, attrs=None):
     2153        def __call__(self, uri, aid, topo, master, attrs=None):
    21542154            req = {
    21552155                    'allocID': { 'fedid' : aid },
     
    21572157                        'topdldescription': topo.to_dict(),
    21582158                    },
     2159                    'master': master,
    21592160                }
    21602161            if attrs:
     
    22042205                        trusted_certs=self.trusted_certs,
    22052206                        caller=self.call_StartSegment),
    2206                     args=(uri, aid, topo[tb], attrs), name=tb,
     2207                    args=(uri, aid, topo[tb], False, attrs), name=tb,
    22072208                    pdata=thread_pool, trace_file=self.trace_file)
    22082209            threads.append(t)
     
    22312232                    trusted_certs=self.trusted_certs,
    22322233                    caller=self.call_StartSegment)
    2233             if not starter(uri, aid, topo[master], attrs):
     2234            if not starter(uri, aid, topo[master], True, attrs):
    22342235                failed.append(master)
    22352236
     
    26682669                                                "/usr/local/federation/bin"),
    26692670                                            ('active', "%s" % active),
    2670                                             ('type', 'both'),
    2671                                             ('startup', 'sudo -H /usr/local/federation/bin/fed-tun.pl -f /proj/%s/exp/%s/tmp/%s%s.gw.conf >& /tmp/bridge.log' % (sproject, eid, myname.lower(), sdomain.lower())))
     2671                                            ('portal_type', 'both'),
     2672                                            ('startup', 'sudo -H /usr/local/federation/bin/fed-tun.pl -f /proj/%s/exp/%s/tmp/%s.%s.%s%s.gw.conf >& /tmp/bridge.log' % (sproject, eid, myname.lower(), eid.lower(), sproject.lower(), sdomain.lower())))
    26722673                                    ],
    26732674                                interface=[
     
    28362837                            (url_base, expid)
    28372838                },
     2839                {
     2840                    'attribute': 'experiment_name',
     2841                    'value': eid,
     2842                },
    28382843            ]
    28392844
Note: See TracChangeset for help on using the changeset viewer.