freezer_dr.common.yaml_parser
Module¶freezer_dr.common.yaml_parser.
YamlParser
(yml_file, index='servers')[source]¶Bases: object
find_server
(key, value)[source]¶Generic function to query the .yml file to get server information by any key. :param key: :param value: :return:
find_server_by_hostname
(hostname)[source]¶get server information ilo username, password and ip :param hostname: hostname matches one of the ones in the .yml file :return: dict contains the server information
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.