X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fsrc%2FOSC_2.1.0%2Fmain.py;fp=near-rt-ric-simulator%2Fsrc%2FOSC_2.1.0%2Fmain.py;h=e0766d86468f965a3993a8a3aae817d720073c88;hb=967079bda24e7a0f5268728f1474ce0ddc9e52d0;hp=48fbe91c94ae9ae67d7b8a140cd9a357bad1640e;hpb=868107297d275a6f50790a5e6d3de6c65cbd4a3e;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/src/OSC_2.1.0/main.py b/near-rt-ric-simulator/src/OSC_2.1.0/main.py index 48fbe91..e0766d8 100644 --- a/near-rt-ric-simulator/src/OSC_2.1.0/main.py +++ b/near-rt-ric-simulator/src/OSC_2.1.0/main.py @@ -206,6 +206,8 @@ def getcounter(countername): elif (countername == "remote_hosts"): hosts=",".join(hosts_set) return str(hosts),200 + elif (countername == "datadelivery"): + return Response(str(0),200, mimetype=TEXT_PLAIN) else: return Response("Counter name: "+countername+" not found.",404, mimetype=TEXT_PLAIN)