Lines Matching defs:BootConfig

26 Abstractions for boot configuration management.  A BootConfig object aggregates
31 BootConfig provides access, through abstractions, to the system boot loader,
53 class BootConfig(LoggerMixin):
98 Initialize the basic set of attributes for all BootConfig classes
103 | BootConfig object> [tuple]
107 | BootConfig.BCF_CREATE: Create a new boot
115 | BootConfig.BCF_ONESHOT:If True, only the final boot
122 | BootConfig.BCF_AUTOGEN:The set of boot instances will be
127 | the BootConfig object is created.
135 | BootConfig.BCF_MIGRATE:If supported, the existing boot
144 | BootConfig.BCF_NO_LOAD_BOOT_INSTANCES: Omits boot instances
147 | BootConfig.BCF_LOAD_SILENT_FAILURE: Does not raise an
167 | that not all BootConfig subclasses support this
169 | If a particular BootConfig subclass does not support
175 | BootConfig's creator requests wants to be this
176 | BootConfig's BootLoader. If this BootLoader cannot be
194 if (BootConfig.BCF_CREATE in self._flags and
195 BootConfig.BCF_MIGRATE in self._flags):
199 if BootConfig.BCF_CREATE in self._flags:
216 if BootConfig.BCF_LOAD_SILENT_FAILURE not in self._flags:
218 if BootConfig.BCF_NO_LOAD_BOOT_INSTANCES in self._flags:
223 if BootConfig.BCF_AUTOGEN in self._flags:
251 """Returns the requested platform string for this BootConfig
258 """Returns the requested firmware string for this BootConfig
264 "Return the root directory where this BootConfig is be stored"
381 If this object was created with the BootConfig.BC_ONESHOT flag,
422 values. Only <type>='file' is defined at the BootConfig level.
434 are defined at the BootConfig level; child classes may define
498 class DiskBootConfig(BootConfig):
540 boot_class=BootConfig.BOOT_CLASS_DISK,
565 self._debug('This BootConfig already has a default boot instance')
648 class ODDBootConfig(BootConfig):
658 if BootConfig.BCF_MIGRATE in flags:
669 boot_class=BootConfig.BOOT_CLASS_ODD,
676 class NetBootConfig(BootConfig):
691 if BootConfig.BCF_MIGRATE in flags:
723 boot_class=BootConfig.BOOT_CLASS_NET,
747 # NetBootConfig is a bit different from the other BootConfig classes
771 operating system. BootConfig objects aggregate zero or more
773 with a BootConfig object (so that if a consumer modifies a
774 BootInstance, the BootConfig is notified that its state has
776 BootConfig.commit_boot_config()-time). This association is made
777 when a BootInstance is passed to BootConfig.add_boot_instance()."""
949 # BootConfig dirty
955 # and no previous default was found, so mark the BootConfig dirty