"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ironic/drivers/modules/pxe.py" between
ironic-16.0.2.tar.gz and ironic-16.0.3.tar.gz

About: OpenStack Ironic (Optional Service: Bare-Metal Provisioning) aims to provision bare metal machines instead of virtual machines, forked from the Nova baremetal driver.
The "Victoria" series (latest release).

pxe.py  (ironic-16.0.2):pxe.py  (ironic-16.0.3)
skipping to change at line 38 skipping to change at line 38
from ironic.drivers.modules import deploy_utils from ironic.drivers.modules import deploy_utils
from ironic.drivers.modules import pxe_base from ironic.drivers.modules import pxe_base
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
METRICS = metrics_utils.get_metrics_logger(__name__) METRICS = metrics_utils.get_metrics_logger(__name__)
class PXEBoot(pxe_base.PXEBaseMixin, base.BootInterface): class PXEBoot(pxe_base.PXEBaseMixin, base.BootInterface):
capabilities = ['ramdisk_boot', 'pxe_boot'] capabilities = ['ramdisk_boot', 'pxe_boot']
class PXERamdiskDeploy(agent_base.AgentBaseMixin, base.DeployInterface): class PXERamdiskDeploy(agent_base.AgentBaseMixin, agent_base.HeartbeatMixin,
base.DeployInterface):
def get_properties(self, task): def get_properties(self, task):
return {} return {}
def validate(self, task): def validate(self, task):
if 'ramdisk_boot' not in task.driver.boot.capabilities: if 'ramdisk_boot' not in task.driver.boot.capabilities:
raise exception.InvalidParameterValue( raise exception.InvalidParameterValue(
message=_('Invalid configuration: The boot interface ' message=_('Invalid configuration: The boot interface '
'must have the `ramdisk_boot` capability. ' 'must have the `ramdisk_boot` capability. '
'You are using an incompatible boot interface.')) 'You are using an incompatible boot interface.'))
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)