Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert v3 hypervisor plugin to v2.1
This patch convert v3 hypervisor plugin to v2.1 and makes v2 unit tests share between v2 and v2.1. Unit tests has been modified in optimized way. The differences between v2 and v3 are described on the wiki page https://wiki.openstack.org/wiki/NovaAPIv2tov3. Partially implements blueprint v2-on-v3-api Change-Id: I23ffc10d4c0170cb43ef8aeebf69ae2794a08827
- Loading branch information
Showing
8 changed files
with
271 additions
and
764 deletions.
There are no files selected for viewing
16 changes: 9 additions & 7 deletions
16
doc/v3/api_samples/os-hypervisors/hypervisors-servers-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"hypervisor": { | ||
"hypervisor_hostname": "fake-mini", | ||
"id": 1, | ||
"state": "up", | ||
"status": "enabled", | ||
"servers": [] | ||
} | ||
"hypervisors": [ | ||
{ | ||
"hypervisor_hostname": "fake-mini", | ||
"id": 1, | ||
"state": "up", | ||
"status": "enabled", | ||
"servers": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.