The SMO A1 (policy) flow is almost identical to what we have shown in the xApp (Traffic Steering) flow, with the difference that the policy operations (i.e. policy type creation, policy instance creation) are coming from the SMO instead of directly calling A1 mediator API.
In SMO cluster, the Near RT RIC's coordinates (IP, port, etc) is specified in the recipe for the NonRTRIC. To check whether SMO has successfully established communication with Near RT RIC, Run the following on the SMO cluster: $ curl http://$(hostname):30093/rics
To create a new policy instance under policy type 20008 (Traffic Steering's threshold policy), Run: $ POLICY_TYPE_ID="20008" $ curl -v i-X PUT --header "Content-Type: application/json" \ "http://$(hostname):30091/policy?id=FROMOTF&ric=ric1&service=dummyService&id=${POLICY_TYPE_ID}" \ --data "{\"threshold\" : 1}" |
13 Comments
Gopalasingham Aravinthan
Hi,
Thank a lot for the getting started guide.
I have successfully deployed the near RT RIC cluster and the policy instance creation works via near RT RIC.
But I have few issues with SMO cluster.
when I test the RIC connectivity via curl http://$(hostname):30093/rics (It did not work with port number 30091 )
I receive the following output [{"ricName":"ric1","managedElementIds":["kista_1","kista_2"],"policyTypes":[],"state":"UNAVAILABLE"}
I think, in this case SMO did not establish a connection with nRT RIC, is it so?
Also I am not successful with creation of new policy instance via SMO cluster.
Also I checked and all the pods of onap and nonrttic namespace are deployed successfully in the cluster as mentioned in the getting started guide.
Could you please advise me, what could be the issue here.
Many Thanks
Lusheng Ji
Hi Aravinthan,
Sorry we are still in the process of updating the instructions. What's currently missing is how to configure Non RT RIc to talk to Near RT RIC. Before we add the steps to instruction, or the script, here is something for you to try now:
Non RT RIC:
Gopalasingham Aravinthan
Hi Lusheng,
Many Thanks for your quick response.
Perfect, it works well after following the above steps you provided.
Thanks again
Zhengwei Gao
hi all,
the instructions for a1 flow are somehow incomplete or even misleading.
for connecting nonrtric to ricplt, and for policy management using nonrtric-controlpanel, pls refer to my blog: https://blog.csdn.net/jeffyko/article/details/107975572
for policy management using a1-policy-agent(aka, policymanagementservice), and using a1-controller, pls refer to: https://blog.csdn.net/jeffyko/article/details/107991536
hope this can be helpful. gl.
Michael Duan
Hi,
could someone provide the detailed instructions for O1 flow?
Thanks
Lusheng Ji
The demo scripts can be found under it/dep repo, under the demos directory.
Lusheng Ji
Please post after you log in so people know who you are.
Michael Duan
Hi, all
I have installed Near-RT RIC, and tried to run odu-high.sh
After setting RIC host and odu host, and code compilation, I stuck in the process as below, do anyone can help to solve it?
(Are these two errors are resulted from the codes which try to connect to O-CU and other component, as mentioned in odu-high demo video ?)
###############
...
Sending Scheduler config confirm to DU APP
DU_APP : Received SCH CFG CFM at DU APP
DU_APP : Configuring all Layer is complete
date: 08/27/2020 time: 07:42:58
mtss(posix): sw error: ent: 255 inst: 255 proc id: 000
file: /root/dep/demos/bronze/l2/src/cm/cm_inet.c line: 1877 errcode: 00007 errcls: ERRCLS_DEBUG
errval: 00000 errdesc: cmInetSctpBindx() Failed : error(99), port(38472), sockFd->fd(4)
SCTP: Failed during Binding in ODU
SCTP : ASSOC Req Failed.
DU_APP : Failed to process the request successfully
SCTP : Polling started at DU
DU_APP : Failed to send AssocReq F1
date: 08/27/2020 time: 07:42:58
mtss(posix): sw error: ent: 255 inst: 255 proc id: 000
file: /root/dep/demos/bronze/l2/src/cm/cm_inet.c line: 1877 errcode: 00007 errcls: ERRCLS_DEBUG
errval: 00000 errdesc: cmInetSctpBindx() Failed : error(99), port(32222), sockFd->fd(5)
SCTP: Failed during Binding in ODU
SCTP : ASSOC Req Failed.
DU_APP : Failed to process the request successfully
DU_APP : Failed to send AssocReq E2
DU_APP : Sending EGTP config request
EGTP : EGTP configuration successful
Lusheng Ji
Michael,
It appears that the problem is the SCTP socket.
This version of the O-DU HIGH requires the IP addresses of the both ends of the SCTP connection (i.e. O-DU HIGH and Near RT RIC) to be compiled into the binary. In other words, you would need to modify some IP addresses in src/du_app/du_cfg.h: DU_IP_V4_ADDR for the O-DU's IP local address to bind SCTP socket and RIC_IP_V4_ADDR for the peer IP to establish SCTP socket. If you have not done so, you would need to make the modification based on your local setup's IP addresses then recompile.
Now in the cloud native world, identifying the right IP address could be tricky. For example, the DU_IP_V4_ADDR is the NIC address of the host running the O-DU code (assuming you are running the binary on host). However, the RIC_IP_V4_ADDR should the external IP address of the k8s cluster running the Near RT RIC.
Hope this helps.
Lusheng
Anonymous
Hi, Lusheng
Thank you for your help, it works for me
BhanuPrakash Ramisetti
Hi All,
I have established SCTP connection between RIC (E2 termination) and O-DU High and able to send E2 setup request from O-DU High to RIC (E2 termination) and able to get response from RIC to O-DU High. Now, How can I communicate from O-DU High (sending data) to deployed xApp (say TS xApp) through E2 termination and vice versa?
Pavan Gupta
Hi,
If anyone has tried A1 flow from nonRT-RIC (SMO) to RT-RIC on Cherry or bronze release using the following command, please share if the following command worked for you. Also, if you had to make any changes to it to make it run, kindly share the same.
Anonymous