Remove support for API extensions (Pike)

Registered by Matt Riedemann

Continue the work from the newton blueprint:

https://blueprints.launchpad.net/nova/+spec/api-no-more-extensions

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Sean Dague
Direction:
Approved
Assignee:
Alex Xu
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
milestone icon pike-3
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-no-more-extensions-pike,n,z

Addressed by: https://review.openstack.org/396611
    WIP: remove keypair server extension

Addressed by: https://review.openstack.org/396622
    no extension for multiple create

I'm deferring this from Ocata since it didn't really get any traction. We can talk about picking this up again in Pike. -- mriedem 20170203

Renamed from api-no-more-extensions-ocata to api-no-more-extensions-pike. -- 20170328 - -mriedem

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-no-more-extensions-pike,n,z

Addressed by: https://review.openstack.org/445864
    Use plain routes list for '/servers' endpoint instead of stevedore

Addressed by: https://review.openstack.org/450830
    Remove the usage of extension black/white list opts in BDM tests

Addressed by: https://review.openstack.org/450831
    Remove the usage of extension black/white list opts in multi-create

Addressed by: https://review.openstack.org/450832
    Remove the usage of extension black/white list opt in config drive

Addressed by: https://review.openstack.org/450833
    Remove the usage of extension black/white list opt in AZ

Addressed by: https://review.openstack.org/450834
    Remove the usage of extension black/white list opt in user data

Addressed by: https://review.openstack.org/450835
    Remove the usage of extension black/white list opt in scheduler hints

Addressed by: https://review.openstack.org/450836
    Remove config opts for extension black/white list

Addressed by: https://review.openstack.org/450837
    Remove the extension check for os-networks in servers API

Addressed by: https://review.openstack.org/451193
    Remove the extension check for os-quota-class-sets

Addressed by: https://review.openstack.org/451194
    Remove the json-schema extension point of server create

Addressed by: https://review.openstack.org/451195
    Remove the stevedore extension point for server create

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-no-more-extensions,n,z

Addressed by: https://review.openstack.org/331194
    WIP: remove scheduler_hints

Addressed by: https://review.openstack.org/451331
    Merge server create schema for availability zone extension

Addressed by: https://review.openstack.org/451346
    Remove the rebuild extension help methods

Addressed by: https://review.openstack.org/453571
    Remove '/servers' extensions info from controllers

Addressed by: https://review.openstack.org/456478
    Use plain routes list for '/os-keypairs' endpoint instead of stevedore

Addressed by: https://review.openstack.org/456549
    Use plain routes list for flavor endpoint instead of stevedore[1]

Addressed by: https://review.openstack.org/456585
    Use plain routes list for flavors-extraspecs endpoint instead of stevedore

Addressed by: https://review.openstack.org/456589
    Use plain routes list for flavors-access endpoint instead of stevedore

Addressed by: https://review.openstack.org/456825
    Use plain routes list for '/os-aggregates' endpoint instead of stevedore

Addressed by: https://review.openstack.org/457430
    Remove json-schema extension variable for resize

Addressed by: https://review.openstack.org/458004
    Add check to ensure the versioned_methods are sequential

Addressed by: https://review.openstack.org/458805
    Use plain routes list for limits endpoint instead of stevedore

Addressed by: https://review.openstack.org/459231
    Use plain routes list for hosts endpoint instead of stevedore

Addressed by: https://review.openstack.org/459235
    use plain routes list for hypervisor endpoint instead of stevedore

Addressed by: https://review.openstack.org/459979
    Use plain routes list for os-interface endpoint instead of stevedore

Addressed by: https://review.openstack.org/460813
    Use plain routes list for limits endpoint instead of stevedore

Addressed by: https://review.openstack.org/460818
    Use plain routes list for os-services endpoint instead of stevedore

Addressed by: https://review.openstack.org/460821
    e plain routes list for os-simple-tenant-usage

Addressed by: https://review.openstack.org/461431
    Use plain routes list for os-floating-ips endpoint instead of stevedore

Addressed by: https://review.openstack.org/461436
    Use plain routes list for os-floating-ip-pools endpoint instead of stevedore

Addressed by: https://review.openstack.org/461439
    Use plain routes list for os-floating-ips-bulk endpoint instead of stevedore

Addressed by: https://review.openstack.org/461454
    Use plain routes list for os-floating-ip-dns endpoint instead of stevedore

Addressed by: https://review.openstack.org/461459
    Use plain routes list for os-agents endpoint instead of stevedore

Addressed by: https://review.openstack.org/461470
    Use plain routes list for os-assisted-volume-snapshots endpoint

Addressed by: https://review.openstack.org/461475
    Use plain routes list for os-availability-zone endpoint instead of stevedore

Addressed by: https://review.openstack.org/461479
    Use plain routes list for os-fixed-ips endpoint instead of stevedore

Addressed by: https://review.openstack.org/461480
    Use plain routes list for os-baremetal-nodes endpoint instead of stevedore

Addressed by: https://review.openstack.org/461628
    Use plain routes list for os-migrations endpoint instead of stevedore

Addressed by: https://review.openstack.org/461630
    Use plain routes list for os-quota-sets endpoint instead of stevedore

Addressed by: https://review.openstack.org/461641
    Use plain routes list for os-quota-sets endpoint instead of stevedore

Addressed by: https://review.openstack.org/461645
    Use plain routes list for server-tags instead of stevedore

Addressed by: https://review.openstack.org/461646
    Use plain routes list for server-migrations endpoint instead of stevedore

Addressed by: https://review.openstack.org/461647
    Use plain routes list for os-instance-usage-audit-log endpoint instead of stevedore

Addressed by: https://review.openstack.org/461703
    Use plain routes list for server-metadata endpoint instead of stevedore

Addressed by: https://review.openstack.org/462049
    Use plain routes list for server-password endpoint instead of stevedore

Addressed by: https://review.openstack.org/462166
    Use plain routes list for os-attach-interfaces endpoint instead of stevedore

Addressed by: https://review.openstack.org/462169
    Use plain routes list for os-server-groups endpoint instead of stevedore

Addressed by: https://review.openstack.org/462173
    use plain routes list for os-virtual-interfaces

Addressed by: https://review.openstack.org/462175
    Use plain routes list for os-consoles and os-console-auth-tokens endpoint instead of stevedore

Addressed by: https://review.openstack.org/462180
    Use plain routes list for block_device_mapping instead of stevedore

Addressed by: https://review.openstack.org/462183
    Use plain routes list for user_data instead of stevedore

Addressed by: https://review.openstack.org/462825
    Totally freeze the extension_info API

Addressed by: https://review.openstack.org/468317
    Use plain routes list for os-virtual-interfaces endpoint

Addressed by: https://review.openstack.org/468324
    Use plain routes list for os-server-external-events endpoint

Addressed by: https://review.openstack.org/468331
    Use plain routes list for server diagnostics endpoint

Addressed by: https://review.openstack.org/468334
    Use plain routes list for server ips endpoint

Addressed by: https://review.openstack.org/468338
    Use plain routes list for instance actions endpoint

Addressed by: https://review.openstack.org/468349
    Use plain routes list for os-fping endpoint

Addressed by: https://review.openstack.org/469380
    make route and controller in alpha sequence

Addressed by: https://review.openstack.org/474116
    Use plain routes list for os-cloudpipe endpoint instead of stevedore

Addressed by: https://review.openstack.org/474463
    Use plain routes list for os-networks instead of stevedore

Addressed by: https://review.openstack.org/474475
    Use plain routes list for os-tenant-networks instead of stevedore

Addressed by: https://review.openstack.org/474869
    Use plain routes list for os-cells endpoint instead of stevedore

Addressed by: https://review.openstack.org/474909
    Remove multiple create from stevedore

Addressed by: https://review.openstack.org/474930
    Use plain routes list for os-remote-consoles instead of stevedore

Addressed by: https://review.openstack.org/478498
    Use plain routes list for images instead of stevedore

Addressed by: https://review.openstack.org/478499
    Use plain routes list for image-metadata instead of stevedore

Addressed by: https://review.openstack.org/478502
    Use plain routes list for volumes instead of stevedore

Addressed by: https://review.openstack.org/478900
    Remove the test for the route '/resources.:(format)'

Addressed by: https://review.openstack.org/478901
    Use plain routes list for os-security-groups instead of stevedore

Addressed by: https://review.openstack.org/478902
    Use plain routes list for server-security-groups instead of stevedore

Addressed by: https://review.openstack.org/478903
    Use plain routes list for os-security-group-rules instead of stevedore

Addressed by: https://review.openstack.org/478904
    Use plain routes list for os-security-group-default-rules instead of stevedore

Addressed by: https://review.openstack.org/478905
    Use plain routes list for os-baremetal-nodes instead of stevedore

Addressed by: https://review.openstack.org/479497
    Use plain routes list for os-volumes instead of stevedore

Addressed by: https://review.openstack.org/484824
    Use plain routes list for os-volume-attachments instead of stevedore

Addressed by: https://review.openstack.org/484825
    Use plain routes list for os-snapshots instead of stevedore

Addressed by: https://review.openstack.org/484826
    Use plain routes list for extension_info instead of stevedore

Addressed by: https://review.openstack.org/485011
    Use plain routes list for versions instead of stevedore

Addressed by: https://review.openstack.org/485060
    Remove the unittest for plugin framework

Addressed by: https://review.openstack.org/485061
    Using plain routes for the microversions test

Addressed by: https://review.openstack.org/486069
    Remove the useless extension block_device_mapping_v1 object

Addressed by: https://review.openstack.org/486070
    Remove the code related to extension loading

Addressed by: https://review.openstack.org/486071
    Move the note about '/os-volume_boot' to the correct place

Addressed by: https://review.openstack.org/486414
    Remove the code related to extension loading from APIRouterV21

Addressed by: https://review.openstack.org/486415
    Remove the useless FakeExt

Addressed by: https://review.openstack.org/486416
    Remove the useless fake ExtensionManager from API unittests

At this point all of the changes for this blueprint in Pike have been merged. We still have some docs changes to make in thedevref about API plugins and stable APIs to mention the route map, but that can be done after the feature freeze. -- mriedem 20170726

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.