#include <CoreDevice.h>
Inheritance diagram for tacpp::CoreDevice:
Public Member Functions | |
CoreDevice (const string, const string) | |
~CoreDevice () | |
Device_data * | get (const ipaddr) |
void | add (const ipaddr) |
void | del (const ipaddr) |
void | usr_expire () |
bool | usr_del (const ipaddr, const string) |
void | usr_del (const ipaddr) |
bool | usr_activate (const ipaddr, 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) |
void | startPeriodic () |
void | modifyCommunity (const ipaddr, const string) |
void | modifyCounter (const ipaddr, const bool) |
void | modifyDelay (ipaddr, int) |
void | modifyDescr (ipaddr, const string) |
void | modifyModule (ipaddr, const string) |
void | modifyKey (ipaddr, const string) |
void | modifyLogin (ipaddr, const string) |
void | modifyPwd (ipaddr, const string) |
void | modifyDef (ipaddr, bool) |
void | modifyShut (ipaddr, bool) |
void | modifySnmp (ipaddr, bool) |
void | modifyIcmp (ipaddr, bool) |
Device_data * | get (int) |
ipaddr | getip (int) |
DeviceUser_data | getuser (int) |
DeviceUser_data | getuser (ipaddr, int) |
string | load (const ipaddr) |
string | getmodulename (const ipaddr) |
string | applycf (char *const *mask, const string cmdname, const list< string >paramList, Command *cmd=NULL) throw (CmdErr) |
string | buildcfstr (int) |
int | size () |
void | setDeviceStatus (ipaddr, bool) |
bool | get_device_status (ipaddr) |
string | getCommunity (ipaddr) |
void | setRunPeriodic (bool) |
bool | getRunPeriodic () |
|
init |
|
free |
|
add device |
|
apply config Implements tacpp::Core_data. |
|
build config for one object by number Implements tacpp::Core_data. |
|
delete device |
|
for snmp polling, get object by number |
|
get object by ipaddr with locking |
|
get device status |
|
snmp community |
|
get device ip by number |
|
returns snmp module name by device ip |
|
get user by device ip and number |
|
get user by number |
|
load/reload module |
|
set community |
|
set/unset interface traffic counter |
|
set/modify default authorization |
|
set/modify device polling delay |
|
set/modify device description |
|
enable/disable icmp polling |
|
set/modify tacacs+ key |
|
set/modify login request string |
|
set/modify device snmp module |
|
set/modify pwd request string |
|
set/modify device shutdown or no |
|
enable/disable snmp polling |
|
number of user sessions |
|
set device status |
|
returns number of device objects |
|
run periodic polling thread |
|
activate user on device |
|
add user with data
|
|
delete all users from device |
|
delete user from list by nas and port
|
|
expire and delete expired users |
|
periodic user checking |