@classmethod
    def getElaNode(cls):

        try:

            f = open("/home/elastic/test.dir/py_test/conf.yml", "r", encoding="utf-8")
        except FileNotFoundError as E:
            print (E)
            exit(1)
        else:
            INF = yaml.load(f, yaml.Loader)

            retNode = Elasticsearch(
                    host      = INF.get("ela_host"),
                    port      = 9200,
                    http_auth = (INF.get("user"),
                                 INF.get("psswd"))
                    )

            if retNode.ping():
                #print (retNode.info())
                return retNode