Dear all JFFNMS users and developpers,

We are using Extreme Networks Summit 48si running ExtremeWare OS. Since we needed to handle backups of their configuration using TFTP by JFFNMS, I have written the file "configs/extremeware.inc.php".

I have also made a little enhancement : if the function "config_". $config["command"]."_preg" exists, it will be called in order to replace some strings into the configuration data obtained from the switch. The idea is to remplace this code found in the file "enfine/ tftp_get_host_config.php" :

    //Cisco Router NTP fix
$config_data = preg_replace('/ntp clock-period \S+/', '', $config_data);

by a function into one or more "engine/configs/cisco_*.inc.php". I have done this because one string should also be replaced into the configuration file uploaded by ExtremeWare onto the TFTP server.

Attached is the patch that creates the file "engine/configs/ extremeware.inc.php" and modify "engine/tftp_get_host_config.php".

Regards,

--
Sébastien Namèche
Société Netensia
<[EMAIL PROTECTED]>

Attachment: extremeware-config.patch
Description: Binary data


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to