Project

General

Profile

Actions

User story #4578

closed

Add information from inventory when looking for Nodes through Rest API

Added by Vincent MEMBRÉ almost 11 years ago. Updated over 10 years ago.

Status:
Released
Priority:
2
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Informations given on Nodes by using the Rest API are really thin ...

We only get informations about:

  "action":"acceptedNodeDetails",
  "result":"success",
  "data":{
    "nodes":[{
      "id":"root",
      "status":"accepted",
      "hostname":"server.rudder.local",
      "osName":"Debian",
      "osVersion":"6.0.7",
      "machineType":"Virtual" 
    }]

We should be able to get all informations from the inventory about Nodes.

There should be three levels of details:

  • Minimal:
    • nodeid
    • hostname
      **status
  • Default : Minimal
    • description
    • policyServerId
    • OS
      • type
      • name
      • version
      • servicePack
      • fullName
      • kernelName
      • kernelVersion
    • machine
      • type (physical, virtual, container, cloud instance...)
      • provider (EC2, Dell, HP, IBM, QEMU/KVM...)
      • id (serial number for phyiscal, instance id for cloud, etc)
    • ram (in MB)
    • ipAddresses (list)
    • managementTechnology
      • name
      • agentVersion
    • architectureDescription
    • lastInventoryDate
  • Full : All informations about the inventory

We should also be able to add some fields with the inventory, ie, you only need the information about video display, but don't need to get the full inventory, juste be able to get the minimal inventory + video informations.

Parameter to choose level will be "include"

usage : "include=minimal,video" will be what you need to get minimal + video info


Subtasks 2 (0 open2 closed)

User story #4579: Add inventory detail to GET /api/nodes/id method API Rest methodReleasedFrançois ARMAND2014-03-10Actions
User story #4616: Add new function to get size of a data in MbReleasedFrançois ARMAND2014-03-13Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4796: Node API version 4 can only get Node detailsReleasedFrançois ARMAND2014-04-30Actions
Actions #1

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from New to 13
Actions #2

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from 13 to Pending release
Actions #3

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.0~beta1, which was released today.
Check out:

The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-March/000084.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions

Also available in: Atom PDF