#include <CoreDevice.h>
Public Member Functions | |
Device_data (const ipaddr) | |
Device_data () | |
~Device_data () | |
DeviceUser_data | gets (const int) |
bool | add (DeviceUser_data *) |
void | usr_expire () |
bool | usr_del (const string) |
void | usr_del () |
bool | usr_activate (const string, const string, const string, const ipaddr) |
bool | usr_add (const ipaddr, const string, const string, const string, const ipaddr, const db_user) |
void | usr_periodic (const time_t) |
int | numsess (const string) |
int | size () |
int | getDelay () |
void | setDelay (const int) |
void | setDescr (const string) |
string | getDescr () |
void | setCommunity (const string) |
string | getCommunity () |
ipaddr | getHostaddr () |
bool | compareHostaddr (const ipaddr) |
void | setHostaddr (const ipaddr) |
void | setModule (const string) |
string | getModule () |
void | setCounter (const bool) |
bool | getCounter () |
void | setShutdown (const bool) |
bool | getShutdown () |
string | getTacKey () |
void | setTacKey (const string) |
string | getLoginstring () |
void | setLoginstring (const string) |
string | getPwdstring () |
void | setPwdstring (const string) |
bool | getDefAuthor () |
void | setDefAuthor (const bool) |
bool | getSnmppolling () |
void | setSnmppolling (const bool) |
bool | getIcmppolling () |
void | setIcmppolling (const bool) |
bool | getStatus () |
void | setStatus (const bool) |
int | getRest () |
void | setRest (const int) |
string | load () |
string | buildcfstr () |
Public Attributes | |
bool(* | getnas )(SnmpDevice *, SnmpD *(*)(char *, char *, char *), char *) |
bool(* | dropnas )(SnmpDevice *, char *, SnmpD *(*)(char *, char *, char *), bool(*)(char *, char *, char *, char *, char), char *) |
|
set data for device |
|
set data by default |
|
destructor |
|
add entry |
|
returns configuration strings for this device |
|
compare this ip addr with given
|
|
get network device community |
|
get store per-interface snmp traffic counters or not |
|
enable/disable default authorization (config) |
|
get polling delay value |
|
get device description |
|
get device name/address |
|
permit/deny icmp polling (config) |
|
login request string (config) |
|
get device module name |
|
password request string (config) |
|
polling delay wait in seconds (internal) |
|
det DeviceUser_data |
|
permit/deny snmp polling (config) |
|
device status from polling - on/off (internal) |
|
tacacs+ key (config) |
|
load module |
|
numsess on our device |
|
set network device community |
|
set store per-interface snmp traffic counters or not |
|
set default author value |
|
set polling delay value |
|
set device description |
|
set device name/address |
|
set icmp polling |
|
set device module name |
|
store pwd str |
|
set |
|
set device as active or close it (config) |
|
set snmp polling |
|
set dev stat |
|
set tacacs+ key |
|
cusr_ size |
|
activate user or delete if something mismatch |
|
add user |
|
delete all users from device |
|
delete user from port |
|
delete expired entryes |
|
periodic checking |
|
dynamically loaded function - drop user from device port |
|
dynamically loaded function - process snmp information for device |