pyats.easypy.config package

Submodules

class pyats.easypy.config.loader.ConfigLoader(schema={Optional  (str) plugins: Use  (cython_function_or_method) <cyfunction validate_plugins>, Optional  (str) components: {Or ('runinfo', 'job', 'mailbot', 'reporter'): {Optional  (str) class: Use  (cython_function_or_method) <cyfunction import_from_name>, Any  (str) *: Any  (str) *}}}, enable_extensions=True)

Bases: pyats.utils.yaml.loader.Loader

postprocessor(content)
class pyats.easypy.config.manager.Configuration(legacy_cli=True)

Bases: object

Easypy configuration object. Core concept that allows easypy to load configuration for user plugins, and as well allows components to be swapped with different subclasses/implementations.

add_config_parser_option(parser, legacy_cli=True)
configure_parser(legacy_cli=True)
load(config=None, argv=None)
load_custom_plugin_entry_point(plugins)
load_entry_point()
update(config)
pyats.easypy.config.schema.validate_plugins(data)