LMIShellConfig¶
- class lmi.shell.LMIShellConfig.LMIShellConfig[source]¶
Class representing the shell’s configuration. The class is responsible for loading the configuration from the file and provides a unified API to access these settings.
Constructs a LMIShellConfig object and loads the configuration from the file. If there is no such file, the shell’s configuration properties are set to default values. Configuration file uses python syntax. If there is a syntax error in the configuration file, the properties are set to default values, as well.
- cert_file[source]¶
Property returning a file name containing x509 certificate. This is used for LMIIndicationListener.
Returns: x509 certificate file name Return type: string
- history_file[source]¶
Property returning a string containing the shell’s history file.
Returns: history file Return type: string
- history_length[source]¶
Property returning a number with the shell’s history file length.
Returns: history file length Return type: int
- key_file[source]¶
Property returning a file name containing x509 certificate private key. This is used for LMIIndicationListener.
Returns: x509 certificate private key Return type: string