BackendMetadata#
- class efiboot.backends.BackendMetadata(name, priority=500, controller='efiboot.backends.default:DefaultController')#
The efiboot backend metadata class.
Packages should register their
BackendMetadataobjects under theefiboot_backendsentry point namespace. This allows the backend to be auto-discovered by efiboot.- Parameters
name (str) – The name of the backend. All backends must have a unique name. If this backend is registered under the
efiboot_backendsentry point, it must be registered with the same name.priority (int) – The priority of this backend. This is used to pick a backend when multiple backends that are compatible with the host system. A lower value has higher priority. The default is 500.
controller (str) – A string of the form
<module>:<class>pointing to anEfiControllersubclass.
Methods
Import the backend controller class.
Returns true if this backend is compatible with the host system.
Create an instance of the backend controller.
Attributes
The controller class for this backend.
The priority of this backend.
The name of the backend.