Ignore:
Timestamp:
Feb 14, 2010 12:04:40 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
c0a8738
Parents:
94a00cb
Message:

Some bugs that weren't shaken out. Wrong peer in the config file, active configs not marked, and startcmds not munged.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    r94a00cb rd87778f  
    986986            active = info.get('active', 'False')
    987987
    988 
    989988            cfn = "%s/%s.gw.conf" % (tmpdir, myname.lower())
    990989            tunnelconfig = self.attrs.has_key('TunnelCfg')
     
    992991                f = open(cfn, "w")
    993992                if active == 'True':
     993                    print >>f, "active: True"
    994994                    if type in ('control', 'both'):
    995995                        for s in [s for s in services \
     
    11021102                elif node_cmd:
    11031103                    if e.get_attribute('startup'):
    1104                         s.set_attribute('startup', "%s \\$USER '%s'" % \
     1104                        e.set_attribute('startup', "%s \\$USER '%s'" % \
    11051105                                (node_cmd, e.get_attribute('startup')))
    11061106                    else:
    1107                         s.set_attribute('startup', node_cmd)
     1107                        e.set_attribute('startup', node_cmd)
    11081108
    11091109                # Remove portal interfaces that do not connect to DRAGON
Note: See TracChangeset for help on using the changeset viewer.