Cisco Telnet SSH

FossilOrigin-Name: d8ca481a69c4dde67d707f190a797da1d3712c703842f74dd69495124a4ac583
This commit is contained in:
7u83@mail.ru
2016-03-27 14:43:47 +00:00
parent 7cfeef1e58
commit 1be29b9e52
3 changed files with 64 additions and 3 deletions

View File

@ -27,6 +27,8 @@
#include "cw/capwap_cisco.h"
#include "cw/capwap80211.h"
#include "cw/lwapp_cisco.h"
#include "mod_cisco.h"
#include "cisco.h"
@ -164,7 +166,31 @@ static cw_action_in_t actions_in[] = {
}
,
{
/* This is Cisco's Vendor specific encapsulation
* of LWAPP elements */
.capwap_state = CW_STATE_CONFIGURE,
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
.vendor_id = CW_VENDOR_ID_CISCO,
.elem_id = CW_CISCO_SPAM_VENDOR_SPECIFIC,
.start = lw_in_vendor_specific,
}
,
/* LWAPP Vendor spec Messages */
{
.proto = CW_ACTION_PROTO_LWAPP,
.capwap_state = CW_STATE_CONFIGURE,
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
.vendor_id = LW_VENDOR_ID_CISCO,
.elem_id = LW_CISCO_TELNET_SSH,
.start = cisco_in_telnet_ssh
}
,
/* End of list */
{0, 0}
@ -235,6 +261,30 @@ static cw_action_out_t actions_out[]={
}
,
/* --------------------------------------------------------
* Configuration Update Request - Out
*/
{
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.out = cisco_out_telnet_ssh,
}
,
{
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.item_id = CW_ITEM_WTP_NAME,
.vendor_id = CW_VENDOR_ID_CISCO,
.elem_id = CW_CISCO_RAD_NAME,
.out=cw_out_generic,
.get = cw_out_get_outgoing
}
,
{0,0}
};