Changeset ae714e4


Ignore:
Timestamp:
Feb 7, 2014 5:03:52 PM (11 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
4bfc015
Parents:
b3125fa1
Message:

External networks a real parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/desktop_access.py

    rb3125fa1 rae714e4  
    6666        # Storage for ephemeral ssh keys and host files
    6767        self.localdir = config.get('access', 'localdir')
     68        # File containing the routing entries for external networks
     69        self.external_networks = config.get('access', 'external_networks')
    6870        self.ssh_identity = None
    6971
     
    416418            print >>f, 'interface tap0'
    417419            try:
    418                 extern = open(os.path.join(self.localdir,
    419                     'external_networks'), 'r')
     420                extern = open(self.external_networks, 'r')
    420421                if extern is not None:
    421422                    for l in extern:
Note: See TracChangeset for help on using the changeset viewer.