From 136667493af423351b0a511b921c622f25388477 Mon Sep 17 00:00:00 2001 From: xiexs <xiexs@cn.fujitsu.com> Date: Wed, 15 Jun 2016 06:30:06 -0400 Subject: [PATCH] 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 --- ironic/drivers/modules/iscsi_deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ironic/drivers/modules/iscsi_deploy.py b/ironic/drivers/modules/iscsi_deploy.py index 9c8cb538f5..82d05b28e2 100644 --- a/ironic/drivers/modules/iscsi_deploy.py +++ b/ironic/drivers/modules/iscsi_deploy.py @@ -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