Changeset f1f9aec
- Timestamp:
- Feb 21, 2014 10:23:46 AM (11 years ago)
- Branches:
- master
- Children:
- 0608d96
- Parents:
- 972993c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/desktop_access.py
r972993c rf1f9aec 68 68 # File containing the routing entries for external networks 69 69 self.external_networks = config.get('access', 'external_networks') 70 # values for locations of zebra and ospfd. 71 self.zebra = config.get('access', 'zebra') 72 if self.zebra is None: 73 self.zebra = '/usr/local/sbin/zebra' 74 self.ospfd = config.get('access', 'ospfd') 75 if self.ospfd is None: 76 self.ospfd = '/usr/local/sbin/ospfd' 77 70 78 self.ssh_identity = None 71 79 … … 400 408 my_addr 401 409 # self.set_route('10.0.0.0/8', f, exp_peer) 402 print >>f, ' /usr/local/sbin/zebra -d -f %s' % zebra_conf403 print >>f, ' /usr/local/sbin/ospfd -d -f %s' % ospfd_conf410 print >>f, '%s -d -f %s' % (self.zebra, zebra_conf) 411 print >>f, '%s -d -f %s' % (self.ospfd, ospfd_conf) 404 412 f.close() 405 413 os.chmod(cscript, 0755)
Note: See TracChangeset
for help on using the changeset viewer.