Project

General

Profile

Actions

Refactor #13848

open

Refactor Discovery STI to Facets

Added by Lukas Zapletal over 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Discovery as a STI is limiting (e.g. previously discovered host blocks creating New Host with the same MAC address) and the STI code is complicated, particularly the code behind reusing New/Edit Host form (org/loc selectors, NIC configurations).

With introduction of Facets, we should be able to move away from STI.

We should consider also moving off the Hosts table into separate model, because users also want more complex auto-provisioning which is not feasible with reusing the Edit Host form (#13847).


Related issues 6 (5 open1 closed)

Related to Discovery - Feature #13847: Auto-provisioning custom scripts for NIC configurationsNewLukas Zapletal02/23/2016Actions
Related to Discovery - Bug #11217: Unable to re-discover same host with different interface namesNew07/27/2015Actions
Related to Discovery - Feature #11710: Use global status for DiscoveryNew09/07/2015Actions
Related to Discovery - Feature #11728: Mark hosts as reservedNew09/08/2015Actions
Related to Discovery - Feature #12244: Do not delete facts during provisioningDuplicate10/21/2015Actions
Related to Discovery - Refactor #14035: Redesign discovered hostNew03/03/2016Actions
Actions

Also available in: Atom PDF