Project

General

Profile

Actions

Enhancement #24091

closed

Add manufacturer field in create node API

Enhancement #24091: Add manufacturer field in create node API

Added by François ARMAND almost 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
No

Description

We want to add a manufacturer field in create node api. To do that, we want to make the format for machine that we have for node details be available for creation:

...
        "machine": {
          "id": "400c9f3f-0f6a-4e87-8db0-250a8440bd11",
          "type": "Virtual",
          "provider": "qemu",
          "manufacturer": "QEMU" 
        },
...

The semantic would be:
- if both machine and machineType are present, prefer machine which would become the default at some point
- provider and manufacturer are optionnal
- type take "physical" or "virtual"


Files

clipboard-202401301457-bn4kv.png (57.2 KB) clipboard-202401301457-bn4kv.png François ARMAND, 2024-01-30 14:57
clipboard-202401301457-bn4kv.png

Subtasks 1 (0 open — 1 closed)

Enhancement #24105: Machine is not correctly create with node create APIReleasedVincent MEMBRÉActions

Related issues 1 (0 open — 1 closed)

Related to Rudder - Bug #24141: Bad description for serialNumber attribute of machineReleasedVincent MEMBRÉActions

Updated by François ARMAND almost 3 years ago Actions #1

  • Status changed from New to In progress

Updated by François ARMAND almost 3 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5358

Updated by Anonymous almost 3 years ago Actions #3

  • Status changed from Pending technical review to Pending release

Updated by François ARMAND almost 3 years ago Actions #4

clipboard-202401301457-bn4kv.png

The manufacturer is correctly understood by the API, but then the machine is not correctly create and saved in base

Updated by François ARMAND almost 3 years ago Actions #5

  • Subtask #24105 added

Updated by François ARMAND almost 3 years ago Actions #6

  • Fix check changed from Error - Blocking to Checked

Updated by Vincent MEMBRÉ almost 3 years ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.11 which was released today.

Updated by François ARMAND almost 3 years ago Actions #8

  • Related to Bug #24141: Bad description for serialNumber attribute of machine added
Actions

Also available in: PDF Atom