add optinal request paramter named 'with_status' to /servers to list servers.

Registered by Charlotte Han

GET
/servers/detail
List Servers Detailed

For each server, shows server details including config drive, extended status, and server usage information.

But /servers/detail API is too slow when instance's number is greater than 1000.

Most of the time when we query all virtual machines, we not only want to get the UUID and name of the virtual machine, but also the status of the virtual machine. For the state of the virtual machine, we have to use detail.

I hope to modify /servers API to resolve the problem of querying the state of virtual machines is particularly time-consuming

/servers
List Servers

Lists IDs, names, and links for servers.

Add optional query parameter named with_status to /servers APIļ¼Œ and return status to each servers in the response output.

for example:
request: /servers?with_status=true
response: list IDS, names, status, and links for servers.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Charlotte Han
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.