Project

General

Profile

« Previous | Next » 

Revision 7f25f394

Added by Leos Stejskal about 3 years ago

Fixes #31240 - New Host Registration Form (#8419)

Completely in React, with router & PF4 components
Divided into two tabs: General fields & Advanced Fields
Slots for extending form fields (general / advanced)
Form can be submitted only if there are no invalid fields

Related plugin extensions:
Katello/katello#9249
theforeman/foreman_remote_execution#574

Changes:
  • Organization & Location can be changed in the Form
    changing ORG/LOC will fetch new data and reset form fields (HostGroup, OS & Smart Proxy)
    Reset of fields from plugins is handled by plugins.
  • Host group
    If selected, following fields inherit the value from selected host group: Operating System, Activation Keys & Life Cycle Environment
    Selecting HG resets OS field
  • Operating System
    When selected, show info about assigned host_init_config template.
    If template is not found, show error and block form
Setup Remote Execution & Setup Insights
  • Yes/No value in default options Inherit from Host parameter is delivered from selected organization, location host group and operating system. The chain of getting value is:
    organization -> location -> operatingsystem -> hostgroup
  • Packages (new field)
    Install packages after the host registration
  • Repository & Repository GPG (new fields)
  • Token Life Time
    Can be set to unlimited, otherwise value validated as: >= 1 && <= 999 999
  • added
  • modified
  • copied
  • renamed
  • deleted