aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-27 15:29:15 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-27 15:29:15 +0000
commitf2f9278a5839949dee07c0174ab433a83e8e4dbf (patch)
tree946dedeeb5dd38d5d88e3979aff21ea912440f67 /test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py
parent4fab8f0830672c8accb36ad594e708daee36c2e8 (diff)
parent4b97e33295086748108ecb042461719fb09600ba (diff)
Merge "Renaming 5G Bulk PM to usecase/5G-bulkpm"
Diffstat (limited to 'test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py')
-rw-r--r--test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py b/test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py
new file mode 100644
index 000000000..01574f778
--- /dev/null
+++ b/test/csit/tests/usecases/5G-bulkpm/resources/xNFLibrary.py
@@ -0,0 +1,25 @@
+'''
+Created on Aug 18, 2017
+
+@author: sw6830
+'''
+from robot.api import logger
+from Queue import Queue
+import uuid, time, json, threading,os, platform, subprocess,paramiko
+
+class xNFLibrary(object):
+
+ def __init__(self):
+ pass
+
+ def create_header_from_string(self, dictStr):
+ logger.info("Enter create_header_from_string: dictStr")
+ return dict(u.split("=") for u in dictStr.split(","))
+
+ def Generate_UUID(self):
+ """generate a uuid"""
+ return uuid.uuid4()
+
+if __name__ == '__main__':
+ lib = xNFLibrary()
+ time.sleep(100000) \ No newline at end of file