summaryrefslogtreecommitdiffstats
path: root/tests/usecases/5G-bulkpm/resources/xNFLibrary.py
blob: 01574f778e52372e2c067b4ca277929f25dfc4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)