os-vif/os_vif
Daniel P. Berrange 72d5dfbf48 Provide plugins an oslo_config group for their setup
The plugin implementations need to be isolated from the
entity that is using os-vif. Plugins should be allowed
to define their own custom config parameters, without
needing the user of os-vif to pass further options into
the os_vif.initialize() method.

This change introduces a CONFIG_OPTS attribute on the
Plugin class. This provides a list of oslo_config
options that are to be used by the plugin. os_vif will
register these options into a group 'os_vif_$PLUGIN'
eg 'os_vif_linux_bridge'.

This gives the plugin impls the ability to have config
options in the main project conf (ie /etc/nova/nova.conf)
without exposing them directly to all of nova's own
config options.

Change-Id: I9634b474cd0d3fda09aef5800020c9415c28e3d8
2016-02-16 11:06:58 +00:00
..
objects Fix PciAddress regex 2016-02-10 13:16:52 +02:00
tests Provide plugins an oslo_config group for their setup 2016-02-16 11:06:58 +00:00
__init__.py Provide plugins an oslo_config group for their setup 2016-02-16 11:06:58 +00:00
exception.py Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
i18n.py Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
plugin.py Provide plugins an oslo_config group for their setup 2016-02-16 11:06:58 +00:00