Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich /lua/rest/v2/get/host/active.lua response #8807

Open
iesreza opened this issue Nov 8, 2024 · 0 comments
Open

Enrich /lua/rest/v2/get/host/active.lua response #8807

iesreza opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
Enhancement Ready to Test a feedback is needed on a proposal or implementation

Comments

@iesreza
Copy link

iesreza commented Nov 8, 2024

What would you like to add or change?:
1- Currently, the MAC addresses are missing in /lua/rest/v2/get/host/active.lua. The only way to retrieve MAC addresses is by calling /lua/rest/v2/get/host/data.lua individually for each host. It would be beneficial to have MAC addresses included in the list of all active hosts.

2- Adding pool_name would be helpful. While pool_id is already available, adding pool_name would eliminate the need for an extra API call to resolve pool names.

Why do you and others need this?:
Including these two fields in /lua/rest/v2/get/host/active.lua would greatly reduce the number of API calls, especially in environments where accessing remote APIs is costly. It would also allow customers to retrieve all essential host information in a single API call, enhancing efficiency and performance.

@MatteoBiscosi MatteoBiscosi added the Ready to Test a feedback is needed on a proposal or implementation label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Ready to Test a feedback is needed on a proposal or implementation
Projects
None yet
Development

No branches or pull requests

3 participants