Skip to content

Latest commit

 

History

History
100 lines (54 loc) · 4.68 KB

File metadata and controls

100 lines (54 loc) · 4.68 KB
graph LR
    Config["Config"]
    InventoryConfig["InventoryConfig"]
    SSHConfig["SSHConfig"]
    RunnerConfig["RunnerConfig"]
    CoreConfig["CoreConfig"]
    LoggingConfig["LoggingConfig"]
    Parameters["Parameters"]
    resolve["resolve"]
    Config -- "composes" --> InventoryConfig
    Config -- "composes" --> SSHConfig
    Config -- "composes" --> RunnerConfig
    Config -- "composes" --> CoreConfig
    Config -- "composes" --> LoggingConfig
    Config -- "utilizes" --> Parameters
    Config -- "delegates to" --> resolve
Loading

CodeBoardingDemoContact

Details

The Configuration Management subsystem within the Nornir automation framework is responsible for defining, loading, parsing, and validating all operational settings. It is structured around the central Config component, which acts as an aggregate root for all other specific configuration types, providing a single, comprehensive entry point for managing Nornir's operational settings.

Config

Serves as the main aggregator and manager for all Nornir operational settings. It provides methods to initialize, load configuration from various sources (e.g., dictionary, file), and represent the complete configuration state. It orchestrates the creation and population of other specific configuration objects.

Related Classes/Methods:

InventoryConfig

Manages configuration settings specifically related to how Nornir's inventory is loaded and processed (e.g., inventory plugins, options).

Related Classes/Methods:

SSHConfig

Manages SSH connection parameters and settings used by Nornir tasks (e.g., connection options, authentication details).

Related Classes/Methods:

RunnerConfig

Defines and manages settings for how Nornir tasks are executed, such as the number of workers, task-specific options, and overall execution behavior.

Related Classes/Methods:

CoreConfig

Manages fundamental Nornir settings that affect its core behavior, such as global defaults or framework-level parameters.

Related Classes/Methods:

LoggingConfig

Manages settings related to Nornir's logging behavior, including log levels, handlers, and formats.

Related Classes/Methods:

Parameters

A general-purpose base class or utility for handling various configuration parameters. It likely provides common methods for validation or default value assignment that other specific configuration classes inherit from or utilize.

Related Classes/Methods:

resolve

A utility function likely responsible for resolving paths, variables, or other dynamic aspects within the configuration, ensuring that all settings are correctly interpreted before use.

Related Classes/Methods: