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))
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
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