Skip to content

Fix for deploying the flexric in cloud-native env

Chieh-Chun Chen requested to merge fix into dev

Content

This MR includes the following modifications

improvements specifically targeting the cloud-native environment

  1. improve cmakelist to optionally install the nearRT-RIC/agent/xapp executables and compile unit test folder 35ab5c30

  2. add config for nearRT-RIC/agent/xapp 13ef2e88

  3. add cu_du_id in global_e2_node_id_t to support agent in the dis-aggregated CU/DU and fix asn to enc/dec ran_type in E2 setup request 4a565187

  4. add ran_type in the init_agent_api() 369d5d5c

Bugfix specifically targeting the cloud-native environment:

  1. correct the sm shared lib (.so), flexric.conf file, and nearRT-RIC/agent/xapp executables to the proper path db190c3a 4e885dfe

  2. correct the resending E42 setup request while there is no agent connected 49aa2caa (note: ric reply the e42 setup response while the expecting number of agent are connected)

  3. add fflush() to print out the log 50ef3f37

Other improvements

  1. add make uninstall to remove the installed executables db190c3a

  2. add hello word xapp 3074ff83

  3. update oai patch to support different ran_type and enable the calculation of RLC tx sdu waiting time aa419ab1

Other bugfix

  1. fix path of the xapp in python to absolute path f4aa21c7

  2. increase buffer size for writing the slice state in log.txt 7b180bee

  3. increase buffer size for enc/dec E2/E42 setup reqeust to enable more than 16 agents/xapps are running at same time 8e273d1a

  4. fix max number of parameter for runtime executable 57666759

Test plan

  • tested in kubernetes/docker container environment with E2E methodology (apply oai.patch on the OAI branch: if5_ECPRI_rework(cfeae956) for testing CU/DU with Quectel UE)
  • tested in physical env with E2E methodology (apply oai.patch on the OAI branch: develop(61e65959b0) for testing gNB with Quectel UE )
  • tested unit test (test_ag_ric_xapp)
  • tested three nodes test (nearRT-RIC, two emu_agent, xapp_monitor_all and xapp_slice)
Edited by Chieh-Chun Chen

Merge request reports