Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network: add target parameter for GET 1.0/networks and network_get_ta…
…rget api extension (#14419) # 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.~~ Edit: We still need to add the `locations` field in a follow-up, because it is the right thing to do for the CLI. This unblocks the UI work on Network management for cluster environments. Especially to fetch networks per cluster member in order to provide the right list of available uplinks/parents per member.
- Loading branch information