Move CSIT to integration/csit repo
[integration/csit.git] / tests / usecases / 5G-bulkpm / resources / xNFLibrary.py
1 '''
2 Created on Aug 18, 2017
3
4 @author: sw6830
5 '''
6 from robot.api import logger
7 from Queue import Queue
8 import uuid, time, json, threading,os, platform, subprocess,paramiko
9
10 class xNFLibrary(object):
11
12     def __init__(self):
13         pass
14
15     def create_header_from_string(self, dictStr):
16         logger.info("Enter create_header_from_string: dictStr")
17         return dict(u.split("=") for u in dictStr.split(","))
18
19     def Generate_UUID(self):
20         """generate a uuid"""
21         return uuid.uuid4()
22
23 if __name__ == '__main__':
24     lib = xNFLibrary()
25     time.sleep(100000)