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

Network: add target parameter for GET 1.0/networks and network_get_ta… #14419

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

edlerd
Copy link
Contributor

@edlerd edlerd commented Nov 8, 2024

Done

  • add target parameter for GET 1.0/networks
  • add network_get_target api extension

fixes #14406

The UI can fetch local networks for each member, and we don't need to populate the locations field for non managed networks in the response of GET 1.0/netwroks. Populating that field is expensive, because LXD would have to fan out the request to all members to collect the network interface lists for all of them.

@github-actions github-actions bot added Documentation Documentation needs updating API Changes to the REST API labels Nov 8, 2024
Copy link

github-actions bot commented Nov 8, 2024

Heads up @mionaalex - the "Documentation" label was applied to this issue.

doc/api-extensions.md Outdated Show resolved Hide resolved
Co-authored-by: Minae Lee <[email protected]>
Signed-off-by: David Edler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes to the REST API Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add locations to network GET
2 participants