Esempio n. 1
0
File: perf.py Progetto: yurchor/sssd
 def run_gnuplot(self, plot_file):
     """ Run gnuplot
     :param str plot_file: Name of the plotfile
     :Return: None
     """
     pki_inst = PkiTools()
     gnuplot_cmd = 'gnuplot %s' % plot_file
     pki_inst.execute(shlex.split(gnuplot_cmd))
Esempio n. 2
0
def nssdir(session_multihost, request):
    serverList = [session_multihost.master[0].sys_hostname]
    pki_inst = PkiTools()
    try:
        certdb = pki_inst.createselfsignedcerts(serverList)
    except PkiLibException as err:
        return (err.msg, err.rval)
    else:
        return certdb
Esempio n. 3
0
def nssdir(session_multihost):
    """ Setup Self signed CA """
    server_list = [session_multihost.master[0].sys_hostname]
    pki_inst = PkiTools()
    try:
        certdb = pki_inst.createselfsignedcerts(server_list)
    except PkiLibException as err:
        return (err.msg, err.rval)
    else:
        return certdb