libioc.Config.Jail.Properties package¶
Submodules¶
Module contents¶
Dictionary of jail configuration properties.
-
class
libioc.Config.Jail.Properties.
JailConfigProperties
(config, logger)[source]¶ Bases:
dict
Dictionary of jail configuration properties.
-
libioc.Config.Jail.Properties.
init_property
(property_name, config=None, logger=None)[source]¶ Instantiate a special jail config property.
- Parameters
property_name (
str
) –- The name of the special property that should be instantiated:
ip4_addr
ip6_addr
interfaces
resolver
defaultrouter
defaultrouter6
depends
config (libioc.Config.Jail.JailConfig.JailConfig) – The special property keeps reference to this JailConfig instance
logger (libioc.Logger.Logger) – (optional): Logger instance that the class is initialized with
- Return type
Union
[AddressesProp
,InterfaceProp
,ResolverProp
,DependsProp
]