Os
Object Hierarchy:
Description:
Namespace: Osinfo
Package: libosinfo-1.0
Content:
Properties:
- public string cloud_image_username { get; }
The username to be passed to the cloud-init program.
- public string distro { get; }
The generic distro this OS belongs to, for example fedora, windows, solaris, freebsd etc.
- public string family { get; }
The generic family this OS belongs to, based upon its kernel, for example linux, winnt, solaris, freebsd etc.
- public string kernel_url_argument { get; }
The argument to be passed to kernel command line when performing a tree based installation of this OS.
Creation methods:
Methods:
- public unowned DeviceLink add_device (Device dev)
Associated a device with an operating system.
- public void add_device_driver (DeviceDriver driver)
Adds
driver
to the list of device drivers of operating system this. - public void add_firmware (Firmware firmware)
Adds
firmware
to the list of firmwares of operating system this. - public void add_image (Image image)
Adds an installed image
image
to operating system this. - public void add_install_script (InstallScript script)
Adds
script
to the list of scripts of operating system this. - public void add_maximum_resources (Resources resources)
Adds
resources
to list of maximum resources of operating system this. - public void add_media (Media media)
Adds installation media
media
to operating system this. - public void add_minimum_resources (Resources resources)
Adds
resources
to list of minimum resources of operating system this. - public void add_network_install_resources (Resources resources)
Adds
resources
to list of resources needed for network installing an operating system this. - public void add_recommended_resources (Resources resources)
Adds
resources
to list of recommended resources of operating system this. - public void add_tree (Tree tree)
Adds installation tree
tree
to operating system this. - public void add_variant (OsVariant variant)
Adds a variant
variant
to operating system this. - public unowned InstallScript find_install_script (string profile)
- public DeviceLinkList get_all_device_links (Filter? filter)
Get all devicelinks matching a given filter but unlike osinfo_os_get_device_links this function also retrieves devices from all derived and cloned operating systems.
- public DeviceList get_all_devices (Filter? filter)
Get all devices matching a given filter but unlike osinfo_os_get_devices this function also retrieves devices from all derived and cloned operating systems.
- public unowned string get_cloud_image_username ()
Gets the username expected to be passed to the cloud image when performing installation.
- public FirmwareList get_complete_firmware_list (Filter? filter)
Get the complete firmwares matching a given filter, including the non-supported ones.
- public unowned DeviceDriverList get_device_drivers ()
Gets list of all available device drivers for OS this.
- public DeviceDriverList get_device_drivers_prioritized ()
Gets list of the highest priority device drivers for OS this.
- public DeviceLinkList get_device_links (Filter? filter)
Get all devices matching a given filter.
- public DeviceList get_devices (Filter? filter)
Get all devices matching a given filter
- public DeviceList get_devices_by_property (string property, string value, bool inherited)
A utility function that gets devices found from the list of devices this supports, for which the value of
property
isvalue
. - public unowned string get_distro ()
Retrieves the generic family the OS this belongs to, for example fedora, ubuntu, windows, solaris, freebsd etc.
- public unowned string get_family ()
Retrieves the generic family the OS this belongs to, based upon its kernel, for example linux, winnt, solaris, freebsd etc.
- public FirmwareList get_firmware_list (Filter? filter)
Get all the supported firmwares matching a given filter
- public ImageList get_image_list ()
Get all installed images associated with operating system this.
- public InstallScriptList get_install_script_list ()
- public unowned string get_kernel_url_argument ()
Gets the argument expected to be passed to the kernel command line when performing a tree based installation.
- public ResourcesList get_maximum_resources ()
Get the list of maximum resources for the operating system this.
- public MediaList get_media_list ()
Get all installation medias associated with operating system this.
- public ResourcesList get_minimum_resources ()
Get the list of minimum required resources for the operating system this.
- public ResourcesList get_network_install_resources ()
Get the list of resources needed for network installing an operating system this.
- public ResourcesList get_recommended_resources ()
Get the list of recommended resources for the operating system this.
- public ReleaseStatus get_release_status ()
Use this to determine the release status of the this.
- public TreeList get_tree_list ()
Get all installation trees associated with operating system this.
- public OsVariantList get_variant_list ()
Gets all known variants of operating system this .
Inherited Members:
All known members inherited from class Osinfo.Product
All known members inherited from class Osinfo.Entity
All known members inherited from class GLib.Object