libioc.LaunchableResource module¶
ioc module for launchable resources.
-
class
libioc.LaunchableResource.
LaunchableResource
(dataset=None, dataset_name=None, config_type='auto', config_file=None, logger=None, zfs=None, host=None)[source]¶ Bases:
libioc.Resource.Resource
Representation of launchable resources like jails.
-
property
dataset_name
¶ Return the resources dataset name.
- Return type
str
-
property
periodic_conf
¶ Return a lazy-loaded instance of the resources PeriodicConf.
- Return type
-
property
rc_conf
¶ Return a lazy-loaded instance of the resources RCConf.
- Return type
-
property
root_dataset
¶ Return the resources root dataset.
- Return type
ZFSDataset
-
property
root_dataset_name
¶ Return the resources root dataset name.
The root dasaset has the name root and is always a direct ancestor of a resources top-level dataset.
- Return type
str
-
property
root_path
¶ Return the absolute path to the root filesystem of a jail.
- Return type
str
-
property
sysctl_conf
¶ Return a lazy-loaded instance of the resources SysctlConf.
- Return type
-
property