Matt McEuen 128a2e5e3f Add additional versions replacements
This adds catalogue-based version replacement to the following
functions, which were added since version replacement was
introduced:
- calico (consumed via the infra composite)
- helm-operator
- hwcc (not actually used in any site definitions yet)

Change-Id: If4d6b9f64d7f170ddf0d79455cfd3cfce260f128
2020-10-08 14:58:48 -05:00
..

Function: hwcc

Controller for classifying host hardware characteristics to expected values.

The HWCC (Hardware Classification Controller) compares and validates the workload profile against Baremetal Hosts and classifies right match host and label the host. Also it displays the count for matched, unmatched and error hosts.

Comparison and validation is done on baremetalhost list provided by BMO against hardware profile mentioned in metal3.io_hardwareclassifications.yaml.

HWCC will label matched hosts.

  • Default

    hardwareclassification.metal3.io/<PROFILE-NAME>=matches

  • User Provided

    hardwareclassification.metal3.io/<PROFILE-NAME>=<LABEL>

HWCC also label hosts which are in error state, e.g.

hardwareclassification-error=registration-error

HWCC status shows multiple items w.r.t applied profile :

  • Name of the profile
  • Profile match status
  • Matched Host count
  • Error Host count

Example Usage

User can validate and classify the hosts based on hardware requirement. User will get to know how many hosts matched to user profile and how many hosts are in error state. HWCC status will also show number of hosts falling under different error states. User can select any of matched host and go for provisioning.