Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Instance and InstanceList v2.0 objects
This adds Instance and InstanceList v2.0 and moves v1 compat-related tests into a separate test subclass. Note that since services like api and conductor will be sending v2 objects to older computes, this also adds a backport-to-1.x case to each object for compatibility with kilo computes. Hopefully in the future we'll be able to avoid needing to do that by capping object verisons according to the service version. For now, the structure of instance hasn't diverged enough so this easy approach works. Related to blueprint liberty-bump-object-and-rpcapi-versions Change-Id: Icfd2529962c0430761d2424069f0fd60a1b5c260
- Loading branch information
Showing
4 changed files
with
139 additions
and
64 deletions.
There are no files selected for viewing
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
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