and added files
[bcm963xx.git] / userapps / opensource / net-snmp / perl / AnyData_SNMP / README
1 The AnyData::SNMP module is really an augmentation to Jeff Zucker's
2 excellent perl AnyData and DBD::AnyData modules.  It is designed to
3 allow the infamous perl DBI module to translate SQL commands directly
4 into network SNMP requests and to manipulate the data in perl
5 afterward.  See the perl DBI documentation for further details, as
6 well as the AnyData documentation.
7
8 The netsh command then implements a standard shell around the sql to
9 SNMP mapping, such that commands like the following are possible:
10
11   netsh -c public localhost 'select ifIndex, ifDescr, ifType from ifTable'
12   netsh -c public localhost 'update ifTable set ifAdminStatus = 2 where ifType = 6'
13
14 Without a command to run, netsh puts you into an interactive shell
15 where the commands can be typed at a command prompt.
16
17 See the INSTALL file for the necessary prerequisites.  Note that this
18 currently makes use of a patched copy of the DBD::AnyData module.
19 This will be fixed in future versions of both this module and the
20 DBD::AnyData module as the authors worth toward a common
21 infrastructure.