- implements basic functionality for baremetal nodes management:
start, stop, reset, set boot device.
- Node.has_snapshot() will return True for backward compatibility with
fuel-qa code.
- Node.get_snapshots() will return empty list [] for backward
compatibility with fuel-qa code.
- All other methods related to libvirt snapshot functionality, do
nothing for baremetal driver.
Driver usage:
* In the devops YAML template, for baremetal node group
set the driver name as the following:
- name: baremetal-rack-01
driver:
name: devops.driver.baremetal.ipmi_driver
* 'params' field for Node object contains the following attributes:
nodes:
- name: slave-01 # Custom name of baremetal for Fuel slave node
role: fuel_slave # Fixed role for Fuel master node properties
params:
boot: pxe # one of: pxe, disk, cdrom, floppy
ipmi_host: <ipmi address of the baremetal node>
ipmi_user: <ipmi username>
ipmi_password: <ipmi password>
ipmi_previlegies: OPERATOR
ipmi_lan_interface: lanplus
ipmi_port: 623
impi_cmd: ipmitool
interfaces: # interfaces for correct interface mapping
- label: iface1
mac_address: xx:xx:xx:xx:xx:xx
- label: iface2
mac_address: yy:yy:yy:yy:yy:yy
network_config: # openstack networks mapped to interfaces
iface1:
networks:
- fuelweb_admin ## OpenStack network, NOT switch name
- public ## OpenStack network, NOT switch name
iface2:
networks:
- storage ## OpenStack network, NOT switch name
- management ## OpenStack network, NOT switch name
- private ## OpenStack network, NOT switch name
Partial replacement for https://review.openstack.org/#/c/208000/
Change-Id: I66ce3965717d7573fcbcdaf70fdf693bbda183f8
blueprint: devops-bare-metal-driver