Changeset 172
- Timestamp:
- 08/19/09 12:21:25 (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changelog
r162 r172 1 3.1.0: 2 * Added client/daemon hook script code. Two new options 3 for the pxeconfig.conf file 4 - daemon_script_hook 5 - client_script_hook 6 7 We use these scripts to open (client_script_hook) and close 8 (daemon_script_hook) ports on the firewall. So not everybody can do 9 an rsync or use a bittorrent client to get useful info. 10 11 Authors: Bas van der Vlies and Walter de Jong (SARA) 12 13 * new module pxe_global.py, used by pxeconfig and pxeconfigd 14 15 * Rewrite of the daemon code. removed the option -d/--directory is replaced 16 by configuration file option. 17 18 1 19 3.0.4: 2 20 * Fixed an error with importing pxeconfig if it is not in the standard -
trunk/Makefile.in
r171 r172 66 66 distclean: 67 67 rm src/pxeconfig src/pxe_global.py src/pxeconfigd src/hexls examples/pxeconfigd.xinetd config.log config.status Makefile 68 python setup.py clean -a -
trunk/debian/changelog
r163 r172 1 pxeconfig (3.1.0-1) stable; urgency=low 2 3 * Added client/daemon hook script code. Two new options 4 for the pxeconfig.conf file 5 - daemon_script_hook 6 - client_script_hook 7 8 We use these scripts to open (client_script_hook) and close 9 (daemon_script_hook) ports on the firewall. So not everybody can do 10 an rsync or use a bittorrent client to get useful info. 11 12 Authors: Bas van der Vlies and Walter de Jong (SARA) 13 14 * new module pxe_global.py, used by pxeconfig and pxeconfigd 15 16 * Rewrite of the daemon code. removed the option -d/--directory is replaced 17 by configuration file option. 18 19 -- Bas van der Vlies <basv@sara.nl> Wed, 19 Aug 2009 11:12:32 +0200 20 1 21 pxeconfig (3.0.4-1) stable; urgency=low 2 22 -
trunk/src/pxeconfig.py
r170 r172 197 197 if not options.DRY_RUN: 198 198 cmd = '%s %s' %(options.SCRIPT_HOOK, addr) 199 os.system(cmd) 199 200 200 201 haddr = '%s%02X' %(net_2_hex(cnet, options), int(net[3])) -
trunk/src/pxeconfigd.py
r171 r172 116 116 print 'ip = %s, hex = %s' %(client_ip, client_haddr) 117 117 118 if settings['daemon_script_hook']: 118 try: 119 settings['daemon_script_hook'] 119 120 cmd = '%s %s' %(settings['daemon_script_hook'], client_ip) 120 121 print cmd 121 122 os.system(cmd) 123 except KeyError: 124 pass 122 125 123 126 remove_link(client_haddr)
Note: See TracChangeset
for help on using the changeset viewer.