diff --git a/doc/source/drivers/cimc.rst b/doc/source/drivers/cimc.rst index bc8989ef53..e635486bf2 100644 --- a/doc/source/drivers/cimc.rst +++ b/doc/source/drivers/cimc.rst @@ -20,6 +20,10 @@ management operations on the baremetal node (instead of using IPMI). Unlike with iSCSI deploy in Agent deploy, the ramdisk is responsible for writing the image to the disk, instead of the conductor. +The CIMC drivers can use the Ironic Inspector service for in-band inspection of +equipment. For more information see the `Ironic Inspector documentation +`_. + Prerequisites ============= diff --git a/doc/source/drivers/ucs.rst b/doc/source/drivers/ucs.rst index d722988989..9e39819aa8 100644 --- a/doc/source/drivers/ucs.rst +++ b/doc/source/drivers/ucs.rst @@ -18,6 +18,10 @@ baremetal node (instead of using IPMI). ``agent_ipminative`` drivers.) to deploy the image and uses UCS to do all management operations on the baremetal node (instead of using IPMI). +The UCS drivers can use the Ironic Inspector service for in-band inspection of +equipment. For more information see the `Ironic Inspector documentation +`_. + Prerequisites ============= diff --git a/ironic/drivers/agent.py b/ironic/drivers/agent.py index 70814ff0f8..56f3d57443 100644 --- a/ironic/drivers/agent.py +++ b/ironic/drivers/agent.py @@ -192,6 +192,8 @@ class AgentAndUcsDriver(base.BaseDriver): self.deploy = agent.AgentDeploy() self.management = ucs_mgmt.UcsManagement() self.vendor = agent.AgentVendorInterface() + self.inspect = inspector.Inspector.create_if_enabled( + 'AgentAndUcsDriver') class AgentAndCIMCDriver(base.BaseDriver): @@ -215,6 +217,8 @@ class AgentAndCIMCDriver(base.BaseDriver): self.deploy = agent.AgentDeploy() self.management = cimc_mgmt.CIMCManagement() self.vendor = agent.AgentVendorInterface() + self.inspect = inspector.Inspector.create_if_enabled( + 'AgentAndCIMCDriver') class AgentAndWakeOnLanDriver(base.BaseDriver): diff --git a/ironic/drivers/pxe.py b/ironic/drivers/pxe.py index 5e11a5d054..8d3b09be88 100644 --- a/ironic/drivers/pxe.py +++ b/ironic/drivers/pxe.py @@ -349,6 +349,8 @@ class PXEAndUcsDriver(base.BaseDriver): self.deploy = iscsi_deploy.ISCSIDeploy() self.management = ucs_mgmt.UcsManagement() self.vendor = iscsi_deploy.VendorPassthru() + self.inspect = inspector.Inspector.create_if_enabled( + 'PXEAndUcsDriver') class PXEAndCIMCDriver(base.BaseDriver): @@ -371,6 +373,8 @@ class PXEAndCIMCDriver(base.BaseDriver): self.deploy = iscsi_deploy.ISCSIDeploy() self.management = cimc_mgmt.CIMCManagement() self.vendor = iscsi_deploy.VendorPassthru() + self.inspect = inspector.Inspector.create_if_enabled( + 'PXEAndCIMCDriver') class PXEAndWakeOnLanDriver(base.BaseDriver): diff --git a/releasenotes/notes/inspector-for-cisco-bffe1d1af7aec677.yaml b/releasenotes/notes/inspector-for-cisco-bffe1d1af7aec677.yaml new file mode 100644 index 0000000000..b260321d85 --- /dev/null +++ b/releasenotes/notes/inspector-for-cisco-bffe1d1af7aec677.yaml @@ -0,0 +1,3 @@ +--- +features: + - Enabled Inspector Inspection for CIMC and UCS drivers