This allows manageiq to use foreman as a provider
Quick collaboration work to nail down our use cases with the foreman
-
EngOps registers baremetal via ISO (when racking new hardware)
- burn iso
- boot machine with iso
- via cd, foreman discovers machine and creates foreman host record
-
discovery in foreman
-
discovery via manageiq (no)
-
assign ipmi (iDrac - dell's ipmi hardware)
-
assign primary interface: mac
-
assign os architecture
OS contains:
- 1 customization template
- list of acceptable media, ptable
Hostgroup contains:
- environment, puppet ca, puppet master, network/domain
- optionally: os, media, partition table
subnet contains:
- all network information except for ipaddress
- Catalog
- pxe server [server / image] (pxe only)
- Host Group
- OS
- Customize:
- root password
- host name
- ip address
- subnet
- medium
- ptable
- subnet is replacing gateway, dns, ...
- medium/ptable is replacing template
- get list of all foreman hosts
- determine if we already have a vm for that host record / link them
- we create VM in VMWare
- via rest protocol create foreman host record
- set primary interface mac address