libioc.Host module¶
ioc Host module.
-
class
libioc.Host.Host(defaults=None, datasets=None, zfs=None, logger=None)[source]¶ Bases:
libioc.Host.HostGeneratorSynchronous wrapper of HostGenerator.
-
class
libioc.Host.HostGenerator(defaults=None, datasets=None, zfs=None, logger=None)[source]¶ Bases:
objectAsynchronous representation of the jail host.
-
property
default_config¶ Return the lazy-loaded default configuration.
- Return type
-
property
defaults¶ Return the lazy-loaded defaults.
- Return type
-
property
devfs¶ Return the lazy-loaded DevfsRules instance.
- Return type
-
property
id¶ Return the hostid and memoize on first lookup.
- Return type
str
-
property
ipfw_enabled¶ Return True if ipfw is enabled on the host system.
- Return type
bool
-
property
processor¶ Return the hosts processor architecture.
- Return type
str
-
property
release_version¶ Return the host release version.
- Return type
str
-
property
userland_version¶ Return the host userland version number.
- Return type
float
-
property