Comments (4)
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.
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
from oran-sc-ric.
@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.
Thank you all. it works with "test" branch!
from oran-sc-ric.
Related Issues (18)
- Until the next release, please use the test branch from srsRAN_Project HOT 1
- Inquiring about timeline for e2sm_rc module xApp example
- Question about using real USRP devices with the project HOT 8
- xApp onboarding & deployment: error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8) HOT 15
- connecting the dockerized OSC RIC to another modules HOT 3
- Route Manager simulator: possibility to dynamically modify the static route table HOT 4
- Route Manager Simulator: no initialization of RMR library HOT 12
- Can't connect to RIC on other machine
- xApp gets stuck a lot of times in new release HOT 5
- No E2 connection error in real USRP HOT 6
- Decoding Error in E2SM-KPM IndicationHeader at collectStartTime HOT 10
- filed to connect srsran to e2 HOT 6
- The "simple_xapp.py" has no effect on the dl_throughput of the UE HOT 23
- Controlling SSB Periodicty HOT 1
- Failure for running RIC HOT 13
- Error while running simple_rc_xapp HOT 2
- Inquire about how to send the control message from xAPP to gNB HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oran-sc-ric.