Configure core/service plugin by names

Registered by Zang MingJie on 2014-01-03

It is convenient to config extension plugins by names rather than python classes. Currently `service_plugins` contains a list of python class names of plugins:

service_plugins = neutron.services.l3_router.l3_router_plugin:L3RouterPlugin,neutron.services.firewall.fwaas_plugin:FirewallPlugin,neutron.services.loadbalancer.plugin:LoadBalancerPlugin

Modify the option, instead of using class names, simpler names can also be used:

service_plugins = router, firewall, lbaas

And keep backward compatibility, mixed class names and just names is acceptable:

service_plugins = router, neutron.services.firewall.fwaas_plugin:FirewallPlugin, lbaas

This also applies to core_plugin option.

Blueprint information

Status:
Complete
Approver:
Mark McClain
Priority:
Low
Drafter:
Zang MingJie
Direction:
Needs approval
Assignee:
Zang MingJie
Definition:
Discussion
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Zang MingJie on 2014-01-03
Completed by
Zang MingJie on 2014-03-04

Related branches

Sprints

Whiteboard

The patch below has been merged. Any reason the status shouldn't be changed to implemented?

Gerrit topic: https://review.openstack.org/#q,topic:bp/config-plugin-by-name,n,z

Addressed by: https://review.openstack.org/64822
    Config extension plugin by name

Addressed by: https://review.openstack.org/81221
    db migration failed when plugin name alias used in config file

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.