Go to file
Boden R dd4ffe3721 boilerplate extension descriptor for api-def
Today we have a number of extensions that must provide
boilerplate/redundant code in their extension class to return
basic API definition attributes such as name, description, alias,
etc.. For example [1].

This patch proposes we can provide most of that boilerplate code
right in a base extension descriptor class; just have extension
sub-classes provide their API definition. With this patch, code such
as [1] gets reduced to a class definition with a single class-level attribute
to specify the API definition for the extension.

For sample usage, have a look at [2] that used as a dummy patch
to test PS4/PS7 of this change with neutron master.

[1] https://review.openstack.org/#/c/421562/2/neutron/extensions/providernet.py@36
[2] https://review.openstack.org/#/c/433929/1/neutron/extensions/providernet.py

Change-Id: I25135b39a1d26c11006bc2a7b6080cdd839f0085
2017-02-28 06:19:32 -07:00
2017-02-10 11:15:01 +09:00
2015-12-19 01:00:22 -05:00
2016-10-20 11:22:32 -07:00
2015-11-19 19:54:39 +00:00
2015-11-20 17:24:43 -07:00
2015-12-19 01:00:22 -05:00
2015-11-20 17:24:43 -07:00
2015-11-20 17:24:43 -07:00
2015-11-20 17:24:43 -07:00
2016-11-25 15:45:44 +01:00
2017-02-09 08:28:56 +07:00
2015-11-20 17:24:43 -07:00
2017-02-14 16:09:34 +00:00

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 1.4 MiB