anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | package mmeGrpc; |
| 4 | |
| 5 | service MmeGrpcCli |
| 6 | { |
| 7 | rpc GetUeContext(UeContextReqBuf) returns(UeContextRespBuf) {} |
| 8 | rpc GetDebugUeContext(UeContextReqBuf) returns(EventInfoRespBuf) {} |
| 9 | rpc GetProcStats(Empty) returns(ProcedureStatsRespBuf) {} |
| 10 | rpc ShowAllMobileContexts(Empty) returns(stream UeContextRespBuf) {} |
| 11 | |
| 12 | } |
| 13 | |
| 14 | message UeContextReqBuf |
| 15 | { |
| 16 | int32 id = 1; |
| 17 | } |
| 18 | |
| 19 | message UeContextRespBuf |
| 20 | { |
| 21 | string IMSI = 1; |
| 22 | string MSISDN = 2; |
| 23 | string TAI = 3; |
| 24 | string EUTRAN_CGI = 4; |
| 25 | uint32 CONTEXT_ID = 5; |
| 26 | int32 ENB_UE_S1AP_ID = 6; |
| 27 | string UE_STATE = 7; |
| 28 | |
| 29 | message SessionContextRespBuf |
| 30 | { |
| 31 | string APN = 1; |
| 32 | string PDN_ADDRESS = 2; |
| 33 | uint32 BEARER_ID = 3; |
| 34 | string S11_SGW_GTPC_TEID = 4; |
| 35 | string S5_PGW_GTPC_TEID = 5; |
| 36 | string S1U_ENB_TEID = 6; |
| 37 | string S1U_SGW_TEID = 7; |
| 38 | string S5U_PGW_TEID = 8; |
| 39 | } |
| 40 | |
| 41 | repeated SessionContextRespBuf SessionContext = 8; |
| 42 | } |
| 43 | |
| 44 | message EventInfoRespBuf |
| 45 | { |
| 46 | string UE_STATE = 1; |
| 47 | |
| 48 | message EventInfoBuf |
| 49 | { |
| 50 | string EVENT = 1; |
| 51 | string STATE = 2; |
| 52 | string TIME = 3; |
| 53 | } |
| 54 | |
| 55 | repeated EventInfoBuf EventInfo = 2; |
| 56 | } |
| 57 | |
| 58 | message ProcedureStatsRespBuf |
| 59 | { |
| 60 | uint32 num_of_air_sent = 1; |
| 61 | uint32 num_of_ulr_sent = 2; |
| 62 | uint32 num_of_processed_aia = 3; |
| 63 | uint32 num_of_processed_ula = 4; |
| 64 | uint32 num_of_auth_req_to_ue_sent = 5; |
| 65 | uint32 num_of_processed_auth_response = 6; |
| 66 | uint32 num_of_sec_mode_cmd_to_ue_sent = 7; |
| 67 | uint32 num_of_processed_sec_mode_resp = 8; |
| 68 | uint32 num_of_esm_info_req_to_ue_sent = 9; |
| 69 | uint32 num_of_handled_esm_info_resp = 10; |
| 70 | uint32 num_of_cs_req_to_sgw_sent = 11; |
| 71 | uint32 num_of_processed_cs_resp = 12; |
| 72 | uint32 num_of_init_ctxt_req_to_ue_sent = 13; |
| 73 | uint32 num_of_processed_init_ctxt_resp = 14; |
| 74 | uint32 num_of_mb_req_to_sgw_sent = 15; |
| 75 | uint32 num_of_processed_attach_cmp_from_ue = 16; |
| 76 | uint32 num_of_processed_mb_resp = 17; |
| 77 | uint32 num_of_attach_done = 18; |
| 78 | uint32 num_of_del_session_req_sent = 19; |
| 79 | uint32 num_of_purge_req_sent = 20; |
| 80 | uint32 num_of_processed_del_session_resp = 21; |
| 81 | uint32 num_of_processed_pur_resp = 22; |
| 82 | uint32 num_of_detach_accept_to_ue_sent = 23; |
| 83 | uint32 num_of_processed_detach_accept = 24; |
| 84 | uint32 num_of_ue_ctxt_release = 25; |
| 85 | uint32 num_of_processed_ctxt_rel_resp = 26; |
| 86 | uint32 num_of_subscribers_attached =27; |
| 87 | uint32 num_of_rel_access_bearer_req_sent =28; |
| 88 | uint32 num_of_rel_access_bearer_resp_received =29; |
| 89 | uint32 num_of_s1_rel_req_received =30; |
| 90 | uint32 num_of_s1_rel_cmd_sent =31; |
| 91 | uint32 num_of_s1_rel_comp_received =32; |
| 92 | uint32 num_of_clr_received =33; |
| 93 | uint32 num_of_cla_sent =34; |
| 94 | uint32 num_of_detach_req_to_ue_sent =35; |
| 95 | uint32 num_of_detach_accept_from_ue =36; |
| 96 | uint32 total_num_of_subscribers =37; |
| 97 | uint32 num_of_subscribers_detached =38; |
| 98 | uint32 num_of_tau_response_to_ue_sent =39; |
| 99 | |
| 100 | |
| 101 | } |
| 102 | |
| 103 | message Empty |
| 104 | { |
| 105 | } |