Code Review
/
sim
/
a1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cherry Maintenance Doc updates
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
src
/
OSC_2.1.0
/
main.py
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
(file)
--- 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 == "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)
else:
return Response("Counter name: "+countername+" not found.",404, mimetype=TEXT_PLAIN)