From: Ron Shacham Date: Tue, 26 May 2020 20:35:06 +0000 (-0400) Subject: Debugging output to show threshold is updated based on A1-P, static route to A1mediat... X-Git-Tag: 1.0.11~5 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=b12b0d396c5ed7dce5a95d9a5265bf9d3658fc4e;p=ric-app%2Fts.git Debugging output to show threshold is updated based on A1-P, static route to A1mediator fixed Signed-off-by: Ron Shacham Change-Id: Ia2b2d63b0f8349ddd37dd974ef8cc2a17229e967 --- diff --git a/assets/bootstrap.rt b/assets/bootstrap.rt index bf4717f..ca163ed 100644 --- a/assets/bootstrap.rt +++ b/assets/bootstrap.rt @@ -1,6 +1,6 @@ # bootstrap route table newrt | start -mse | 20011 | -1 | service-ricplt-a1mediator-rmr:4562 +mse | 20011 | -1 | service-ricplt-a1mediator-rmr.ricplt:4562 mse | 30000 | -1 | service-ricxapp-qpdriver-rmr.ricxapp.svc.cluster.local:4562 newrt | end diff --git a/container-tag.yaml b/container-tag.yaml index ee0c040..b7eb1b8 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -1,3 +1,3 @@ # this is used by CI jobs to apply a tag when it builds the image --- -tag: '1.0.7' +tag: '1.0.8' diff --git a/src/ts_xapp/ts_xapp.cpp b/src/ts_xapp/ts_xapp.cpp index c42e616..2dc1523 100644 --- a/src/ts_xapp/ts_xapp.cpp +++ b/src/ts_xapp/ts_xapp.cpp @@ -336,8 +336,8 @@ void policy_callback( Message& mbuf, int mtype, int subid, int len, Msg_componen int rmtype; // received message type - fprintf( stderr, "Policy Callback got a message, type=%d , length=%d\n" , mtype, len); - fprintf(stderr, "payload is %s\n", payload.get()); + cout << "Policy Callback got a message, type=" << mytpe << " , length=" << len << endl; + cout << "payload is " << payload.get()) << endl; const char *arg = (const char*)payload.get(); @@ -350,6 +350,7 @@ void policy_callback( Message& mbuf, int mtype, int subid, int len, Msg_componen //Set the threshold value if (handler.found_threshold) { + cout << "Setting RSRP Threshold to A1-P value: " << handler.threshold << endl; rsrp_threshold = handler.threshold; } diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index d2561f8..e101bf4 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -5,9 +5,9 @@ { "name": "trafficxapp", "image": { - "registry": "nexus3.o-ran-sc.org:10002", + "registry": "nexus3.o-ran-sc.org:10004", "name": "o-ran-sc/ric-app-ts", - "tag": "1.0.7" + "tag": "1.0.8" } } ],