Enums

Details

class Libosinfo.DeviceDriverSigningReq(value)

Bases: GObject.GEnum

New in version 0.2.6.

NONE = 0

Script do not require device drivers to be signed.

STRICT = 1

Script must only be given signed device drivers. Some scripts will allow overriding this requirement through Libosinfo.InstallConfig.set_driver_signing function. You can query if a script supports this by checking if Libosinfo.INSTALL_CONFIG_PROP_DRIVER_SIGNING configuration parameter is used by the script in question (or other scripts in the same profile).

WARN = 2

A warning will be issued by OS installer if device drivers are not signed and most probably require user input (and thus breaking unattended installation). See Libosinfo.DeviceDriverSigningReq.STRICT on how this warning can be disabled for some scripts.

class Libosinfo.Error(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in #OSINFO_ERROR domain.

New in version 1.8.0.

classmethod quark()
Returns:

the #GQuark representing the string.

Return type:

int

Gets a #GQuark representing the string “libosinfo”

New in version 1.3.0.

GENERIC = 0

Generic Osinfo error;

class Libosinfo.InstallConfigParamPolicy(value)

Bases: GObject.GEnum

Policy for configuration parameter presence

New in version 0.2.2.

NONE = 0

no policy defined

REQUIRED = 1

config parameter is required

OPTIONAL = 2

config parameter may be omitted

class Libosinfo.InstallScriptInstallationSource(value)

Bases: GObject.GEnum

New in version 1.3.0.

MEDIA = 0

A media will be used as the installation source.

NETWORK = 1

A network method will be used as installation source.

class Libosinfo.MediaError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #OSINFO_MEDIA_ERROR domain, during reading of data from install media location.

classmethod quark()
Return type:

int

NO_DESCRIPTORS = 0

No descriptors.

NO_PVD = 1

No Primary volume descriptor.

NO_SVD = 2

No supplementary volume descriptor.

INSUFFICIENT_METADATA = 3

Not enough metadata.

NOT_BOOTABLE = 4

Install media not bootable.

NO_DIRECTORY_RECORD_EXTENT = 5

No directory record extent found.

class Libosinfo.PathFormat(value)

Bases: GObject.GEnum

UNIX = 0

Unix/Linux path format, e.g /home/foo/bar.txt

DOS = 1

DOS/Windows path format, e.g \My Documents\bar.txt

class Libosinfo.ProductRelationship(value)

Bases: GObject.GEnum

Enum values used to form relationships between products

DERIVES_FROM = 0

a descendent (RHEL-5 derives from Fedora-6)

UPGRADES = 1

a new version release (RHEL-6 upgrades RHEL-4)

CLONES = 2

a perfect clone (CentOS-5 clones RHEL-5)

class Libosinfo.ReleaseStatus(value)

Bases: GObject.GEnum

RELEASED = 0

A released OS.

New in version 0.2.9.

SNAPSHOT = 1

A continuous integration snapshot and not an actual released product yet. For example, gnome-continuous images for development snapshots of GNOME and nightly build ISOs of Fedora etc.

New in version 0.2.9.

PRERELEASE = 2

A pre-release. For example, alpha and beta pre-releases of Fedora etc.

New in version 0.2.9.

ROLLING = 3

A rolling version of an OS and thus with no actual releases. For example, Gentoo, Arch Linux, etc.

New in version 1.4.0.

class Libosinfo.TreeError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #OSINFO_TREE_ERROR domain, during reading the treeinfo from a URI.

New in version 1.6.0.

classmethod quark()
Returns:

the #GQuark representing the string.

Return type:

int

Gets a #GQuark representing the string “osinfo-tree-error”

New in version 0.1.0.

NO_TREEINFO = 0

No treeinfo found;

NOT_SUPPORTED_PROTOCOL = 1

The URL protocol is not supported.