aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/dcae-bulkpm/testcases/resources/VesLibrary.py
blob: d1ec9811d6b6743ae823525d075db88d9d10526f (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 VesLibrary(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 = VesLibrary()
    time.sleep(100000)