Searched refs:bootconfig (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/autogen/
H A D__init__.py36 def autogen(bootconfig, backends=None):
44 instance_list += ns.autogenerate_boot_instances(bootconfig)
H A Dsolaris.py32 from bootmgmt.bootconfig import BootConfig, SolarisDiskBootInstance
40 def autogenerate_boot_instances(bootconfig):
43 # XXX - Handle bootconfig instances that have boot_class != disk
44 if bootconfig.boot_class != BootConfig.BOOT_CLASS_DISK:
H A Dchain.py32 from bootmgmt.bootconfig import BootConfig, ChainDiskBootInstance
43 def autogen(self, bootconfig):
46 if bootconfig.boot_class != BootConfig.BOOT_CLASS_DISK:
121 def autogenerate_boot_instances(bootconfig):
125 return cdbia.autogen(bootconfig)
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/loader/
H A Dsbb.py40 from bootmgmt.bootconfig import (BootConfig, DiskBootConfig,
102 bootconfig = kwargs.get('bootconfig', None)
104 if (bootconfig is None or bootconfig.boot_class is None):
107 if (bootconfig.boot_class == BootConfig.BOOT_CLASS_DISK and
108 bootconfig.boot_fstype == 'zfs'):
122 bootconfig = kwargs.get('bootconfig', None)
124 artifacts = cls.probe_artifacts(bootconfig)
[all...]
H A Dlegacygrub.py39 from bootmgmt.bootconfig import (BootConfig, DiskBootConfig, NetBootConfig,
42 from bootmgmt.bootconfig import ChainDiskBootInstance
163 bootconfig = kwargs.get('bootconfig')
165 if (bootconfig is None or bootconfig.boot_class is None):
169 if (bootconfig.boot_class != BootConfig.BOOT_CLASS_NET and
175 if (bootconfig.boot_class == BootConfig.BOOT_CLASS_DISK and
176 bootconfig.boot_fstype is not None):
178 elif bootconfig
[all...]
H A Dgrub2.py59 from bootmgmt.bootconfig import (BootConfig, DiskBootConfig, ODDBootConfig,
695 bootconfig = kwargs.get('bootconfig')
697 if (bootconfig is None or bootconfig.boot_class is None):
700 if (bootconfig.boot_class != BootConfig.BOOT_CLASS_NET and
706 if (bootconfig.boot_class == BootConfig.BOOT_CLASS_DISK and
707 bootconfig.boot_fstype is not None):
709 elif bootconfig.boot_class == BootConfig.BOOT_CLASS_ODD:
711 elif bootconfig
3313 import bootmgmt.bootconfig namespace
[all...]
H A Dmenulst.py37 from bootmgmt.bootconfig import BootConfig
/osnet-11/usr/src/lib/pylibbe/common/
H A Dlibbe.py47 import bootmgmt.bootconfig as bc
517 def get_menu_entries(bootconfig, pool, root_ds):
518 if bootconfig.boot_fstype != "zfs":
521 if bootconfig.zfsrp != pool:
526 for binst in bootconfig.boot_instances:
571 def be_append_menu(bootconfig, bootfs, title=None):
574 bootconfig.add_boot_instance(binst)
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/
H A Dbootloader.py101 def probe_artifacts(cls, bootconfig):
102 """Using the bootconfig (and optionally its BootLoader instance)
132 self._boot_config = kwargs.get('bootconfig')
143 # If there is a root dir defined in the bootconfig passed in,
144 # and no rootpath, set rootpath to the bootconfig's root.
153 def _validate_platform_and_firmware(cls, bootconfig, bl=None, fwtype=None):
158 if bootconfig and bootconfig.platform_requested:
161 which_platform = bootconfig.platform_requested
162 which_firmware = bootconfig
[all...]
H A Dbootconfig.py245 loader = bootloader.BootLoader.get(bootconfig=self, **kwargs)
413 <bootmgmt.bootconfig.SolarisDiskBootInstance object at ...>,
799 # this instance to mark the associated bootconfig as dirty.
1079 # the super().__init__ to set up the bootconfig reference!

Completed in 29 milliseconds