Actions
User story #4578
closedAdd information from inventory when looking for Nodes through Rest API
Pull Request:
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
Actions