X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FScripts%2Fgetnodes.py;h=aa289ed0e0edba9d89e1a54918d3349de72dc63a;hb=HEAD;hp=e358fed83f17cbcdce4f72d4c9106f598099453d;hpb=de19068aaa1f3d2b415cd960106121ceb167aaa9;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Scripts/getnodes.py b/Automation/Tests/Scripts/getnodes.py index e358fed..aa289ed 100644 --- a/Automation/Tests/Scripts/getnodes.py +++ b/Automation/Tests/Scripts/getnodes.py @@ -15,9 +15,14 @@ # limitations under the License. # ############################################################################## +# +# This source code is part of the near-RT RIC (RAN Intelligent Controller) +# platform project (RICP). +# import config import redis +import cleanup_db def add(): @@ -28,7 +33,7 @@ def add(): r = redis.Redis(host=c, port=p, db=0) - r.flushall() + cleanup_db.flush(True) r.set("{e2Manager},ENB:02f829:007a80", "\n\x05test1\x12\t10.0.2.15\x18\xc9+ \x01*\x10\n\x0602f829\x12\x06007a800\x01:3\b\x01\x12/\bc\x12\x0f02f829:0007ab50\x1a\x040102\"\x0602f829*\n\n\b\b\x01\x10\x01\x18\x04 \x040\x01")