ironic.common.trait_based_networking.loader module

class ironic.common.trait_based_networking.loader.ConfigLoader[source]

Bases: object

Extends ConfigFile and provides automatic config file change detection

Not intended for consumption outside of this module. Use the module level tbn_config_file_traits() function to retrieve configured and parsed traits.

refresh()[source]
property traits
property valid
ironic.common.trait_based_networking.loader.is_config_valid()[source]
ironic.common.trait_based_networking.loader.tbn_config_file_traits()[source]

Get TBN traits from the configured YAML file.

Thread-safe way to retrieve the configured and parsed TBN traits.