bec_lib.file_utils.DeviceConfigWriter#
- class DeviceConfigWriter(service_config: dict)[source]#
Bases:
object
Device config writer class
Initialize the device config writer class. At the moment, this uses the same base_path as the log writer
- Parameters:
service_config (dict) – Device config writer service config. Must at least contain a base_path.
Methods
Create the device config directory.
Compile the recovery config directory.
Attributes
Get the device config directory.
- property directory: str#
Get the device config directory.
- Returns:
String representation of device config directory
- Return type:
str