Implement V2 API on V3 API (partial)
Implement the Nova V2 API on the V3 API primarily using decorators
Blueprint information
- Status:
- Complete
- Approver:
- Michael Still
- Priority:
- Low
- Drafter:
- Christopher Yeoh
- Direction:
- Approved
- Assignee:
- Christopher Yeoh
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 2014.2
- Started by
- John Garbutt
- Completed by
- Thierry Carrez
Related branches
Related bugs
Sprints
Whiteboard
This is currently just a holding blueprint so we can tie together the WIP POC patches
WIP: register different resource and action name for v2.1: https:/
Fallback plan: WIP: add v2.1 plugins tree https:/
- This can handle complex cases. But it's too overhead. So just as a fallback plan.
Gerrit topic: https:/
Addressed by: https:/
WIP: Translate v2.1 API to v3 API
This is currently just a holding blueprint so we can tie together the WIP POC patches
WIP: register different resource and action name for v2.1: https:/
Fallback plan: WIP: add v2.1 plugins tree https:/
- This can handle complex cases. But it's too overhead. So just as a fallback plan.
Gerrit topic: https:/
Addressed by: https:/
WIP: Translate v2.1 API to v3 API
If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)
Addressed by: https:/
WIP: Distinguish diffrent behavior between v2.1 and v3
Addressed by: https:/
WIP register different action and resource name for v2.1 on v3
Addressed by: https:/
WIP: Translate "get servers on the specified hypervisor" API
Addressed by: https:/
WIP: Do v2.1 API Poc
Addressed by: https:/
Port images and image_metadata for V2.1 on V3 framework
Addressed by: https:/
Port images and image_metadata for V2.1 with V3 framework
Addressed by: https:/
WIP: Port v2 volumes extension into v2.1
Addressed by: https:/
Adds separate plugin namespace for V2.1 with V3 framework
Addressed by: https:/
WIP: Translate v2.1 "create/update/get server" API on v3 framework
Addressed by: https:/
WIP: Translate v2.1 "create/delete agent" API on v3 framework
Addressed by: https:/
WIP: Translate v2.1 "get console output" API on v3 framework
Addressed by: https:/
WIP: Translate v2.1 "list flavor access" API on v3 framework
Addressed by: https:/
WIP: Translate v2.1 "create/get flavor" API on v3 framework
Addressed by: https:/
Adds enable/disable config flag for V2.1
Addressed by: https:/
WIP: Emulate v2 behavior for "create a private flavor" API
Gerrit topic: https:/
Addressed by: https:/
Blueprint for implementing the V2 API using the V3 API code
Addressed by: https:/
Add logging capability to API input validation
Addressed by: https:/
WIP: Delay API validation failure message generation
Addressed by: https:/
WIP: Translate input validation exceptions for V2.1 API
Addressed by: https:/
WIP: Emulate v2 behavior for "create a private flavor" API
Addressed by: https:/
Port image_size for V2.1 on V3 framework
Addressed by: https:/
Add v2-on-v3-api spec
Addressed by: https:/
WIP: Change v3 agents API to v2.1
Addressed by: https:/
Fix the error status code of duplicated agents
Addressed by: https:/
Port v3 agents API tests to v2 API tests
Addressed by: https:/
Merge BadRequest tests of "create a flavor" API
Addressed by: https:/
Add some v2 flavor_manage API tests
Addressed by: https:/
Fix the exception for a nonexistent flavor
Addressed by: https:/
Change v3 flavor_manage API to v2.1
Addressed by: https:/
Backport v3 api unittest into v2 api for attach_interface extension
Addressed by: https:/
Change v3 attach_interface to v2.1
Addressed by: https:/
Use common get_instance function in v2 attach_interface
Addressed by: https:/
Change v3 availability-zone API to v2.1
Addressed by: https:/
WIP: Convert migrate_server v3 plugin to v2.1
Addressed by: https:/
Change v3 admin_actions to v2.1
Addressed by: https:/
Change v3 shelve to v2.1
Addressed by: https:/
Merge BadRequest tests of "create a keypair" API
Addressed by: https:/
Change v3 keypairs API to v2.1
Addressed by: https:/
Change v3 admin-password to v2.1
Addressed by: https:/
Enable v2.1 API endpoint instead of v3 API
Addressed by: https:/
Backport v3 api unittest into v2 api for remote_console extension
Addressed by: https:/
Use common get_instance function in v2 consoles extension
Addressed by: https:/
Changes V3 remote_console extension into v2.1
Addressed by: https:/
Change v3 aggregate API to v2.1
Addressed by: https:/
Convert v3 certificate API to v2.1
Addressed by: https:/
Convert create_backup v3 plugin to v2.1 API
Addressed by: https:/
Convert deferred_delete v3 plugin to v2.1 API
Addressed by: https:/
Backport some v3 availability zones API UT to v2 API
Addressed by: https:/
Changes V3 evacuate extension into v2.1
Addressed by: https:/
Change v3 flavor_access to v2.1
Addressed by: https:/
Convert v3 ExtendedAvailab
Addressed by: https:/
Share unittest between v2 and v2.1 for hide_server_
Addressed by: https:/
Change V3 access_ips extension into v2.1
Addressed by: https:/
Change v3 extended_
Addressed by: https:/
Cleanup of V2 console output tests and add missing tests
Addressed by: https:/
Convert console_output v3 plugin to v2.1
Addressed by: https:/
Convert v3 cells API to v2.1
Addressed by: https:/
Port v2 images extension to work in v2.1(v3) framework
Addressed by: https:/
Change v3 hosts to v2.1
Addressed by: https:/
Backport v3 config_drive API unittest to v2 API
Addressed by: https:/
Change 'admin_password' into v2 style for servers extension
Addressed by: https:/
Convert v3 config drive plugin to v2.1
Addressed by: https:/
Change v3 extended_status to v2.1
Addressed by: https:/
Change 'image_
Addressed by: https:/
Change v3 flavor_rxtx to v2.1
Addressed by: https:/
Change v3 availability-zone API to v2.1
Addressed by: https:/
Port v2 image_metadata extension to work in v2.1(v3) framework
Addressed by: https:/
Raise Not Implemented error from V2 diagnostics API
Addressed by: https:/
Change ViewBuilder into v2.1 for servers
Addressed by: https:/
Convert v3 server diagnostics plugin to v2.1
Addressed by: https:/
Backport V3 flavor extraspecs API unit tests to V2
Addressed by: https:/
Change 'changes_
Addressed by: https:/
Convert v3 flavor extraspecs plugin to v2.1
Addressed by: https:/
Change v3 flavors to v2.1
Addressed by: https:/
Merge UserQuotasTest into QuotaSetTest
Addressed by: https:/
Move fake_quotas and fake_get_quotas into a class
Addressed by: https:/
Separate QuotaSetsTest for each API
Addressed by: https:/
Change v3 quota-sets API to v2.1
Addressed by: https:/
Backport V3 hypervisor plugin unit tests to V2
Addressed by: https:/
Return BadRequest instead of UnprocessableEntity for volumes API
Addressed by: https:/
Changes block_device_
Addressed by: https:/
Change v3 security_groups API to v2.1
Addressed by: https:/
Changes V3 server_actions extension into v2.1
Addressed by: https:/
Convert v3 hypervisor plugin to v2.1
Addressed by: https:/
Port volumes extension to work in v2.1/v3 framework
Addressed by: https:/
Allow to create a flavor without specifying id
Addressed by: https:/
Backport v3 multinic tests to v2
Addressed by: https:/
Convert multinic v3 plugin to v2.1
Addressed by: https:/
Handle non dict metadata in server metadata V2 API
Addressed by: https:/
Remove duplicated code in test_user_data
Addressed by: https:/
Change v3 os-user-data extension to v2.1
Addressed by: https:/
Convert multiple-create v3 plugin to v2.1
Addressed by: https:/
Porting assisted-
Addressed by: https:/
Convert v3 server metadata plugin to v2.1
Addressed by: https:/
Port os-server-groups extension to work in v2.1/v3 framework
Addressed by: https:/
Remove duplicated code in test_versions
Addressed by: https:/
Add v3 versions plugin unit test to v2
Addressed by: https:/
Change v3 version API to v2.1
Addressed by: https:/
Add extension block_device_
Addressed by: https:/
Port image-size extension to work in v2.1/v3 framework
Addressed by: https:/
Convert v3 server SchedulerHints plugin to v2.1
Addressed by: https:/
WIP: Convert extension_info plugin to support v2.1 natively
Addressed by: https:/
Port limits extension to work in v2.1/v3 framework
Addressed by: https:/
Backport some v3 scheduler hints API UT to v2 API
Addressed by: https:/
Port simple_tenant_usage into v2.1
Addressed by: https:/
Fix V2 unit tests to test hypervisor API as admin
Addressed by: https:/
Remove duplicated negative factors in keypair test
Addressed by: https:/
Merge BadRequest tests of v2 quota_sets API
Addressed by: https:/
Use default quota values in test_quotas
Addressed by: https:/
Porting v3 evacuate testcases to v2
Gerrit topic: https:/
Addressed by: https:/
Use v2.1 URLs instead of v3 one in API unit tests
Addressed by: https:/
Refactor admin_action plugin and test cases
This had its spec approved, but blueprint was never approved :( but we have lots of code that needs reviewing, so putting this up there for now, as low priority. Its past feature proposal freeze, so no more patches allowed. --johnthetubaugy 27 August 2014.
Addressed by: https:/
Change v3 security_groups API to v2.1
Addressed by: https:/
Port fping extension to work in v2.1/v3 framework
Gerrit topic: https:/
Addressed by: https:/
Catch BDM related InvalidBDM exceptions for server create v2.1
Addressed by: https:/
WIP:Port used_limits & used_limits_
Addressed by: https:/
[WIP]Porting baremetal_nodes extension to v2.1
Addressed by: https:/
Convert v3 servers return_
Addressed by: https:/
Convert rescue v3 plugin to v2.1 API
Addressed by: https:/
Convert server_usage v3 plugin to v2.1 API
Addressed by: https:/
Convert service v3 plugin to v2.1 API
Addressed by: https:/
Port flavor-extra-data extension to v2.1 framework
Has some +2s, so leaving in juno for now. --johnthetubaguy 2nd September 2014
=======
To concentrate patch reviews, we need to pick up 20 patches for Juno.
The list is the following(
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
Addressed by: https:/
Port v2 quota_classes extension to work in v2.1(v3) framework
Addressed by: https:/
Port fixed_ip extention to v2.1
Addressed by: https:/
Refactor test cases of test_floating_
Addressed by: https:/
Port floating_ip_dns extention to v2.1
Addressed by: https:/
Port floating_ip_pools extention to v2.1
Addressed by: https:/
Port floating_ips_bulk extention to v2.1
Last two patches for FFEs:
https:/
https:/
--johnthetubaguy 8th September 2014
All patches approved now.
Addressed by: https:/
Refactoring of contrib.
Addressed by: https:/
Port os-networks plugin to v2.1(v3) infrastructure
Addressed by: https:/
Change flavor-manage alias for v3 API
Addressed by: https:/
[WIP] Port floating_ips extention to v2.1
Addressed by: https:/
Port cloudpipe extention to v2.1
Addressed by: https:/
Port cloudpipe_update extention to v2.1
Addressed by: https:/
Cleanup tenant networks plugin config creation
Addressed by: https:/
Port os-tenant-networks plugin to v2.1(v3) infrastructure
Addressed by: https:/
Port os-networks-
Addressed by: https:/
Porting SecurityGroup related controller into v2.1
Addressed by: https:/
Port volume_attachments extension to v2.1 API
Addressed by: https:/
Port SecurityGroupRules controller into v2.1
Addressed by: https:/
Port virtual-interfaces plugin to v2.1(v3) API
Addressed by: https:/
Port extended_
Addressed by: https:/
Port security-
Addressed by: https:/
Make v2.1 API tests use v2 URLs
Addressed by: https:/
Add decorator expected_errors for security_group extension
Addressed by: https:/
Port disk_config extension for V2.1
Addressed by: https:/
Enhance V2 disk_config extension Unit Test
Addressed by: https:/
Add v2-on-v3-api spec