Starting KPM processor simJSON Test
kpm0
kpm0.9
kpm2
kpm3
ret is 0
kpm4
kpm5
kpm6
ORAN-E2SM-KPM
OID123
KPM monitor
1
1
Periodic report
5
1
O-DU Measurement Container for the 5GC connected deployment
1
1
2
O-DU Measurement Container for the EPC connected deployment
1
1
3
O-CU-CP Measurement Container for the 5GC connected deployment
1
1
4
O-CU-CP Measurement Container for the EPC connected deployment
1
1
5
O-CU-UP Measurement Container for the 5GC connected deployment
1
1
6
O-CU-UP Measurement Container for the EPC connected deployment
1
1
er encded is 489
after encoding message
here is encoded message ▒ORAN-E2SM-KPM
this is the char array ▒ORAN-E2SM-KPM
!!!lenth of ranfuncdesc is 15
value of this index is 32
value of this index is 192
value of this index is 79
value of this index is 82
value of this index is 65
value of this index is 78
value of this index is 45
value of this index is 77
value of this index is 0
value of this index is 32
value of this index is 102
%%about to register e2sm func desc for 0
%%about to register callback for subscription for func_id 0
Start E2 Agent (E2 Simulator
After reading input options
[SCTP] Binding client socket to source port 36422
[SCTP] Connecting to server at 10.98.216.41:36422 ...
[SCTP] Connection established
After starting client
client_fd value is 3
looping through ran func
about to call setup request encode
After generating e2setup req
1
49
1
3
37 34 37
10110101110001100111011110001
10
8
0
20 C0 4F 52 41 4E 2D 45 32 53 4D 2D 4B 50 4D 00
00 05 4F 49 44 31 32 33 05 00 4B 50 4D 20 6D 6F
6E 69 74 6F 72 08 8B 6A 84 E2 3B E0 8B 00 60 00
01 01 07 00 50 65 72 69 6F 64 69 63 20 72 65 70
6F 72 74 01 05 14 01 01 1D 00 4F 2D 44 55 20 4D
65 61 73 75 72 65 6D 65 6E 74 20 43 6F 6E 74 61
69 6E 65 72 20 66 6F 72 20 74 68 65 20 35 47 43
20 63 6F 6E 6E 65 63 74 65 64 20 64 65 70 6C 6F
79 6D 65 6E 74 01 01 01 01 00 01 02 1D 00 4F 2D
44 55 20 4D 65 61 73 75 72 65 6D 65 6E 74 20 43
6F 6E 74 61 69 6E 65 72 20 66 6F 72 20 74 68 65
20 45 50 43 20 63 6F 6E 6E 65 63 74 65 64 20 64
65 70 6C 6F 79 6D 65 6E 74 01 01 01 01 00 01 03
1E 80 4F 2D 43 55 2D 43 50 20 4D 65 61 73 75 72
65 6D 65 6E 74 20 43 6F 6E 74 61 69 6E 65 72 20
66 6F 72 20 74 68 65 20 35 47 43 20 63 6F 6E 6E
65 63 74 65 64 20 64 65 70 6C 6F 79 6D 65 6E 74
01 01 01 01 00 01 04 1E 80 4F 2D 43 55 2D 43 50
20 4D 65 61 73 75 72 65 6D 65 6E 74 20 43 6F 6E
74 61 69 6E 65 72 20 66 6F 72 20 74 68 65 20 45
50 43 20 63 6F 6E 6E 65 63 74 65 64 20 64 65 70
6C 6F 79 6D 65 6E 74 01 01 01 01 00 01 05 1E 80
4F 2D 43 55 2D 55 50 20 4D 65 61 73 75 72 65 6D
65 6E 74 20 43 6F 6E 74 61 69 6E 65 72 20 66 6F
72 20 74 68 65 20 35 47 43 20 63 6F 6E 6E 65 63
74 65 64 20 64 65 70 6C 6F 79 6D 65 6E 74 01 01
01 01 00 01 06 1E 80 4F 2D 43 55 2D 55 50 20 4D
65 61 73 75 72 65 6D 65 6E 74 20 43 6F 6E 74 61
69 6E 65 72 20 66 6F 72 20 74 68 65 20 45 50 43
20 63 6F 6E 6E 65 63 74 65 64 20 64 65 70 6C 6F
79 6D 65 6E 74 01 01 01 01
2
OID123
50
51
nginterf
72 65 71 70 61 72 74
72 65 73 70 61 72 74
After XER Encoding
error length 0
error buf
er encded is 581
in sctp send data func
data.len is 581after getting sent_len
[SCTP] Sent E2-SETUP-REQUEST
about to call E2ResetRequest encode
[E2AP] Created E2ResetRequest
before
3
49
1
1
after
error length 0
error buf
er encoded is 18
in sctp send data func
data.len is 18after getting sent_len
[SCTP] Sent E2ResetRequest
[SCTP] Waiting for SCTP data
receive data1
receive data2
receive data3
[SCTP] Received new data of size 60
in e2ap_handle_sctp_data()
decoding...
full buffer
length of data 60
result 0
index is 2
showing xer of data
1
49
1
4
13 10 14
10101010110011001110
9
6
0
2
52
53
nginterf
[E2AP] Unpacked E2AP-PDU: index = 2, procedureCode = 1
[E2AP] Received SETUP-RESPONSE-SUCCESS
receive data1
receive data2
receive data3
[SCTP] Received new data of size 47
in e2ap_handle_sctp_data()
decoding...
full buffer
length of data 47
result 0
index is 1
showing xer of data
8
29
123
2
5
1
30
01 02 03 04
19
1
01 02 03 04
initiating message
[E2AP] Unpacked E2AP-PDU: index = 1, procedureCode = 8
[E2AP] Received RIC-SUBSCRIPTION-REQUEST
count3
size4
next present value 1
value of pres ranfuncid is 2
next present value 2
value of pres ranfuncid is 2
equal pres to ranfuncid
next present value 3
value of pres ranfuncid is 2
After loop, func_id is 1
Function Id of message is 1
%%we are getting the subscription callback for func id 1
Error: No RAN Function with this ID exists
receive data1
receive data2
receive data3
[SCTP] Received new data of size 47
in e2ap_handle_sctp_data()
decoding...
full buffer
length of data 47
result 0
index is 1
showing xer of data
8
29
123
2
5
1
30
01 02 03 04
19
1
01 02 03 04
initiating message
[E2AP] Unpacked E2AP-PDU: index = 1, procedureCode = 8
[E2AP] Received RIC-SUBSCRIPTION-REQUEST
count3
size4
next present value 1
value of pres ranfuncid is 2
next present value 2
value of pres ranfuncid is 2
equal pres to ranfuncid
next present value 3
value of pres ranfuncid is 2
After loop, func_id is 1
Function Id of message is 1
%%we are getting the subscription callback for func id 1
Error: No RAN Function with this ID exists
receive data1
receive data2
receive data3
[SCTP] Received new data of size 22
in e2ap_handle_sctp_data()
decoding...
full buffer
length of data 22
result 0
index is 1
showing xer of data
9
29
123
2
5
1
initiating message
[E2AP] Unpacked E2AP-PDU: index = 1, procedureCode = 9
[E2AP] No available handler for procedureCode=9
receive data1
receive data2
receive data3
[SCTP] Received new data of size 22
in e2ap_handle_sctp_data()
decoding...
full buffer
length of data 22
result 0
index is 1
showing xer of data
9
29
123
2
5
1
initiating message
[E2AP] Unpacked E2AP-PDU: index = 1, procedureCode = 9
[E2AP] No available handler for procedureCode=9
receive data1
receive data2