mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:26:14 +00:00
mgmtd: remove unused "placeholder" code.
We don't need un-run/un-tested placeholder code we may never need. Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
dbb1bc6f35
commit
70fb3910db
@ -136,28 +136,6 @@ message BeOperDataGetReply {
|
|||||||
optional YangDataReply data = 5;
|
optional YangDataReply data = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BeOperDataNotify {
|
|
||||||
required YangDataReply data = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BeConfigCmdReq {
|
|
||||||
required string cmd = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BeConfigCmdReply {
|
|
||||||
required bool success = 1;
|
|
||||||
required string error_if_any = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BeShowCmdReq {
|
|
||||||
required string cmd = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BeShowCmdReply {
|
|
||||||
required bool success = 1;
|
|
||||||
required string cmd_ouput = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Any message on the MGMTD Backend Interface.
|
// Any message on the MGMTD Backend Interface.
|
||||||
//
|
//
|
||||||
@ -173,11 +151,6 @@ message BeMessage {
|
|||||||
BeCfgDataApplyReply cfg_apply_reply = 9;
|
BeCfgDataApplyReply cfg_apply_reply = 9;
|
||||||
BeOperDataGetReq get_req = 10;
|
BeOperDataGetReq get_req = 10;
|
||||||
BeOperDataGetReply get_reply = 11;
|
BeOperDataGetReply get_reply = 11;
|
||||||
BeOperDataNotify notify_data = 12;
|
|
||||||
BeConfigCmdReq cfg_cmd_req = 13;
|
|
||||||
BeConfigCmdReply cfg_cmd_reply = 14;
|
|
||||||
BeShowCmdReq show_cmd_req = 15;
|
|
||||||
BeShowCmdReply show_cmd_reply = 16;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -768,9 +768,6 @@ static int mgmt_be_client_handle_msg(struct mgmt_be_client *client_ctx,
|
|||||||
client_ctx, (uint64_t)be_msg->cfg_apply_req->txn_id);
|
client_ctx, (uint64_t)be_msg->cfg_apply_req->txn_id);
|
||||||
break;
|
break;
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_GET_REQ:
|
case MGMTD__BE_MESSAGE__MESSAGE_GET_REQ:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_SUBSCR_REQ:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_CMD_REQ:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_SHOW_CMD_REQ:
|
|
||||||
MGMTD_BE_CLIENT_ERR("Got unhandled message type %u",
|
MGMTD_BE_CLIENT_ERR("Got unhandled message type %u",
|
||||||
be_msg->message_case);
|
be_msg->message_case);
|
||||||
/*
|
/*
|
||||||
@ -781,13 +778,11 @@ static int mgmt_be_client_handle_msg(struct mgmt_be_client *client_ctx,
|
|||||||
* NOTE: The following messages are always sent from Backend
|
* NOTE: The following messages are always sent from Backend
|
||||||
* clients to MGMTd only and/or need not be handled here.
|
* clients to MGMTd only and/or need not be handled here.
|
||||||
*/
|
*/
|
||||||
|
case MGMTD__BE_MESSAGE__MESSAGE_SUBSCR_REQ:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_GET_REPLY:
|
case MGMTD__BE_MESSAGE__MESSAGE_GET_REPLY:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_TXN_REPLY:
|
case MGMTD__BE_MESSAGE__MESSAGE_TXN_REPLY:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_DATA_REPLY:
|
case MGMTD__BE_MESSAGE__MESSAGE_CFG_DATA_REPLY:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_APPLY_REPLY:
|
case MGMTD__BE_MESSAGE__MESSAGE_CFG_APPLY_REPLY:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_CMD_REPLY:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_SHOW_CMD_REPLY:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_NOTIFY_DATA:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE__NOT_SET:
|
case MGMTD__BE_MESSAGE__MESSAGE__NOT_SET:
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
|
@ -532,9 +532,6 @@ mgmt_be_adapter_handle_msg(struct mgmt_be_client_adapter *adapter,
|
|||||||
be_msg->cfg_apply_reply->error_if_any, adapter);
|
be_msg->cfg_apply_reply->error_if_any, adapter);
|
||||||
break;
|
break;
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_GET_REPLY:
|
case MGMTD__BE_MESSAGE__MESSAGE_GET_REPLY:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_CMD_REPLY:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_SHOW_CMD_REPLY:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_NOTIFY_DATA:
|
|
||||||
/*
|
/*
|
||||||
* TODO: Add handling code in future.
|
* TODO: Add handling code in future.
|
||||||
*/
|
*/
|
||||||
@ -548,8 +545,6 @@ mgmt_be_adapter_handle_msg(struct mgmt_be_client_adapter *adapter,
|
|||||||
case MGMTD__BE_MESSAGE__MESSAGE_TXN_REQ:
|
case MGMTD__BE_MESSAGE__MESSAGE_TXN_REQ:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_DATA_REQ:
|
case MGMTD__BE_MESSAGE__MESSAGE_CFG_DATA_REQ:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_APPLY_REQ:
|
case MGMTD__BE_MESSAGE__MESSAGE_CFG_APPLY_REQ:
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_CFG_CMD_REQ:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE_SHOW_CMD_REQ:
|
|
||||||
case MGMTD__BE_MESSAGE__MESSAGE__NOT_SET:
|
case MGMTD__BE_MESSAGE__MESSAGE__NOT_SET:
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user