Defs for Telnet and SSH

FossilOrigin-Name: 333a425fe6edc0b5dba166bba3eac4f318acf590c7ac15dccbecef2bae1e6bce
This commit is contained in:
7u83@mail.ru 2016-03-27 14:50:50 +00:00
parent b9cc39678e
commit 3e12140892
2 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,9 @@ const char CW_ITEM_WTP_FRAME_TUNNEL_MODE[]="wtp_frame_tunnel_mode";
const char CW_ITEM_WTP_RADIOS_IN_USE[]="max_radios";
const char CW_ITEM_WTP_MAX_RADIOS[]="radios_in_use";
const char CW_ITEM_SSH_ENABLE[]="ssh_enable";
const char CW_ITEM_TELNET_ENABLE[]="telnet_enable";
/*
const char CW_ITEM_WTP_HARDWARE_VENDOR=
*/
@ -101,6 +104,10 @@ struct cw_itemdef capwap_itemdefs[] = {
{CW_ITEM_CAPWAP_TRANSPORT_PROTOCOL,CW_ITEM_NONE,MBAG_BYTE},
{CW_ITEM_TELNET_ENABLE,CW_ITEM_NONE,MBAG_BYTE},
{CW_ITEM_SSH_ENABLE,CW_ITEM_NONE,MBAG_BYTE},
{CW_ITEM_WTP_NAME,CW_ITEM_NONE,MBAG_STR},
{CW_ITEM_WTP_MAC_TYPE,CW_ITEM_NONE,MBAG_BYTE},
{CW_ITEM_WTP_FRAME_TUNNEL_MODE,CW_ITEM_NONE,MBAG_BYTE},

View File

@ -176,6 +176,12 @@ extern const char CW_ITEM_RADIO_INFOS[];
extern const char CW_ITEM_ECN_SUPPORT[];
extern const char CW_ITEM_SSH_ENABLE[];
extern const char CW_ITEM_TELNET_ENABLE[];
#define CW_ITEM_REBOOT_COUNT "reboot_count"
#define CW_ITEM_REBOOT_AC_INITIATED_COUNT "ac_initiated"
#define CW_ITEM_REBOOT_LINK_FAILURE_COUNT "link_failure"