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
A1 simulator for STD 2.0.0
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
src
/
STD_1.1.3
/
main.py
diff --git
a/near-rt-ric-simulator/src/STD_1.1.3/main.py
b/near-rt-ric-simulator/src/STD_1.1.3/main.py
index
b7ecdcd
..
5742791
100644
(file)
--- a/
near-rt-ric-simulator/src/STD_1.1.3/main.py
+++ b/
near-rt-ric-simulator/src/STD_1.1.3/main.py
@@
-163,6
+163,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)