'Check if OVS daemon is started correctly.'

def check_db_daemon(self):

    working = utils.program_is_alive('ovsdb-server', self.pid_files_path)
    if (not working):
        logging.error('OpenVSwitch    database    daemon    with    PID    in    file    %s    not    working.', self.db_pidfile)
    return working
