[Nut-upsdev] [nut-commits] svn commit r3060 - branches/nut-scanner/tools/nut-scanner

Frédéric Bohé fredericbohe at eaton.com
Wed Jun 29 11:25:45 UTC 2011


On Tue, 2011-06-28 at 15:00 +0200, Arnaud Quette wrote:
> 
> 2011/6/27 Frederic BOHE <fbohe-guest at alioth.debian.org>
>         Author: fbohe-guest
>         Date: Mon Jun 27 13:56:51 2011
>         New Revision: 3060
>         URL:
>         http://trac.networkupstools.org/projects/nut/changeset/3060
>         
>         Log:
>         Add NUT server scan.
>         
>         (...)
>          device_t * scan_snmp(char * start_ip, char * stop_ip,long
>         usec_timeout, snmp_security_t * sec);
>         
>          device_t * scan_usb();
>         
>          device_t * scan_xml_http(long usec_timeout);
>         
>         +device_t * scan_nut(char * startIP, char * stopIP, char *
>         port);
> 
> for the sake of coherence and completion, you may also add the "long
> usec_timeout" here, as you did for SNMP and XML...

OK, as soon as upscli_connect has a timeout parameter.

> 
> 
> I'm also wondering if the "startIP / stopIP" is really worth WRT a
> CIDR or "network / mask" notation...
> in all cases, providing conversion routines would be useful, to allow
> user to specify either start / stop hosts or network range.

I will add those functions.

Regards,
Fred

> 
> cheers,
> Arnaud
> -- 
> Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
> Network UPS Tools (NUT) Project Leader -
> http://www.networkupstools.org/
> Debian Developer - http://www.debian.org
> Free Software Developer - http://arnaud.quette.free.fr/
> 
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

-- 
Team Open Source Eaton - http://powerquality.eaton.com

--------------------------------------------------------------------------



More information about the Nut-upsdev mailing list