Ignore:
Timestamp:
Mar 12, 2010 2:35:06 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
310d419
Parents:
d46b1d5
Message:

Fix bug where federation software wasn't copied and add a hack for getting
netmasks onto dragon nodes. The latter needs to be redone correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    rd46b1d5 r1cf8e2c  
    11011101                                        "No interface %s on element %s" % \
    11021102                                                (ifname, e.name[0]))
     1103                            # XXX: do netmask right
    11031104                            if type =='link':
    11041105                                s = ("tb-allow-external $%s dragonportal " + \
    1105                                         "ip %s vlan %s\n") % \
     1106                                        "ip %s vlan %s netmask 255.255.255.0\n") % \
    11061107                                        (e.name[0], addr, vlan)
    11071108                            elif type =='lan':
     
    14011402                get_url(s, certfile, softdir)
    14021403
    1403             # Copy local portal node software to the tempdir
    1404             for l, f in self.portal_software:
    1405                 base = os.path.basename(f)
    1406                 copy_file(f, "%s/%s" % (softdir, base))
     1404            # Copy local federation and portal node software to the tempdir
     1405            for s in (self.federation_software, self.portal_software):
     1406                for l, f in s:
     1407                    base = os.path.basename(f)
     1408                    copy_file(f, "%s/%s" % (softdir, base))
    14071409
    14081410            for a in attrs:
Note: See TracChangeset for help on using the changeset viewer.