Giter Club home page Giter Club logo

Comments (4)

pgawlowicz avatar pgawlowicz commented on August 12, 2024 1

note that the gnb e2 agent connects to RIC with id: gnb_001_001_0000019b, while the xapp sends a request to gnbd_001_001_00019b_0. Please use the ID of the agent.

from oran-sc-ric.

Ali78k avatar Ali78k commented on August 12, 2024

Many thanks @pgawlowicz . E2 Setup and RIC Subscription messages are transmitted correctly but RIC Indication messages aren't in a good situation. you can see logs below:
RIC

ric_rtmgr_sim       | 2024/07/22 06:24:37 POST /ric/v1/handles/dissociate-ran  body: [{"E2TAddress":"192.168.63.10:38000","ranNamelist":["gnb_001_001_0000019b"]}] elapsed: 9.83µs
ric_rtmgr_sim       | 2024/07/22 06:24:37 POST /ric/v1/handles/dissociate-ran  body: [{"E2TAddress":"192.168.63.10:38000","ranNamelist":["gnb_001_001_0000019b"]}] elapsed: 18.216µs
ric_rtmgr_sim       | 2024/07/22 06:25:00 POST /ric/v1/handles/associate-ran-to-e2t  body: [{"E2TAddress":"192.168.63.10:38000","ranNamelist":["gnb_001_001_0000019b"]}] elapsed: 130.665µs
ric_rtmgr_sim       | 2024/07/22 06:25:24 POST /ric/v1/handles/xapp-subscription-handle  body: {"address":"192.168.63.20","port":4562,"subscription_id":5} elapsed: 12.144µs
ric_rtmgr_sim       | 2024/07/22 06:25:47 DELETE /ric/v1/handles/xapp-subscription-handle  body: {"address":"192.168.63.20","port":4562,"subscription_id":5} elapsed: 11.677µs
ric_rtmgr_sim       | 2024/07/22 06:26:01 POST /ric/v1/handles/dissociate-ran  body: [{"E2TAddress":"192.168.63.10:38000","ranNamelist":["gnb_001_001_0000019b"]}] elapsed: 13.011µs
^CGracefully stopping... (press Ctrl+C again to force)

xApp

root@srs:~/oran-sc-ric# docker compose exec python_xapp_runner ./kpm_mon_xapp.py --metrics=DRB.UEThpDl,DRB.UEThpUl --kpm_report_style=2
1721629523287 59/RMR [INFO] ric message routing library on SI95 p=4562 mv=3 flg=00 id=a (f447e29 4.9.4 built: Dec 13 2023)
Subscribe to E2 node ID: gnb_001_001_0000019b, RAN func: e2sm_kpm, Report Style: 2, UE_id: 0, metrics: ['DRB.UEThpDl', 'DRB.UEThpUl']
Successfully subscribed with Subscription ID:  2jaeH8HicHhdVdNHEFAy2HqalfY
Received Subscription ID to E2EventInstanceId mapping: 2jaeH8HicHhdVdNHEFAy2HqalfY -> 5
{'response': 'OK', 'status': 200, 'payload': '{}', 'ctype': 'application/json', 'attachment': None, 'mode': 'plain'}
192.168.63.13 - - [22/Jul/2024 06:25:24] "POST /ric/v1/subscriptions/response HTTP/1.1" 200 -
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
Error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8)
^CUnsubscribe Subscription ID:  2jaeH8HicHhdVdNHEFAy2HqalfY
Successfully unsubscribed from Subscription ID:  2jaeH8HicHhdVdNHEFAy2HqalfY

I also attached a pcap file; actually, the result of following command:
sudo tshark -i any -f "sctp port 36421" -w ./e2ap.pcap

capture.tar.gz

from oran-sc-ric.

s21sm avatar s21sm commented on August 12, 2024

@pgawlowicz 's suggestion works for me. e2 agent connects to RIC id and Xapp side e2 Node ID need to be the same

ric_rtmgr_sim       | 2024/07/29 07:04:47 POST /ric/v1/handles/dissociate-ran  body: [{"E2TAddress":"10.0.2.10:38000","ranNamelist":["gnb_001_001_00019b"]}] elapsed: 14.535µs
ric_submgr          | RMR is ready now ...

parser.add_argument("--e2_node_id", type=str, default='gnb_001_001_00019b', help="E2 Node ID")

from oran-sc-ric.

Ali78k avatar Ali78k commented on August 12, 2024

Thank you all. it works with "test" branch!

from oran-sc-ric.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.