XenServer drivers can be used to deploy hosts with Ironic by using XenServer VMs to simulate bare metal nodes.
Ironic provides support via the pxe_ssh and agent_ssh drivers for using a XenServer VM as a bare metal target and do provisioning on it. It works by connecting via SSH into the XenServer host and running commands using the ‘xe’ command.
This is particularly useful for deploying overclouds that use XenServer for VM hosting as the Compute node must be run as a virtual machine on the XenServer host it will be controlling. In this case, one VM per hypervisor needs to be installed.
This support has been tested with XenServer 6.5.
xe vm-param-set uuid=<uuid> xenstore-data:vm-data="vm_data/disable_pf: 1"