Trivial comments fix

Now the deploy_utils.validate_capabilities will not only
check boot_mode and boot_option capabilities but also
check the disk_label value for the iSCSI deploy interface.

Change-Id: Ia14f49301f97986e3aaece6b50cfbedd3f461e72
This commit is contained in:
xiexs 2016-06-15 06:30:06 -04:00
parent 459a318c8c
commit 136667493a

View File

@ -404,7 +404,7 @@ def validate(task):
class ISCSIDeploy(base.DeployInterface):
"""PXE Deploy Interface for deploy-related actions."""
"""iSCSI Deploy Interface for deploy-related actions."""
def get_properties(self):
return {}
@ -419,7 +419,7 @@ class ISCSIDeploy(base.DeployInterface):
task.driver.boot.validate(task)
node = task.node
# Check the boot_mode and boot_option capabilities values.
# Check the boot_mode, boot_option and disk_label capabilities values.
deploy_utils.validate_capabilities(node)
# TODO(rameshg87): iscsi_ilo driver uses this method. Remove