Add a Base with common functionality for all plugin ish things

Bug #1078935 reported by Endre Karlson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Medium
Endre Karlson

Bug Description

Change the base for Handlers to be moniker.plugin.Plugin which is a abstract way of registering each plugin's options underneath it's own section via register_opts, register_group_opts and get_opts methods.

Changed in moniker:
milestone: none → grizzly-1
assignee: nobody → Endre Karlson (endre-karlson)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to moniker (master)

Reviewed: https://review.openstack.org/16164
Committed: http://github.com/stackforge/moniker/commit/89a101b266c7ab316006ce39147f70fc70376f14
Submitter: Jenkins
Branch: master

commit 89a101b266c7ab316006ce39147f70fc70376f14
Author: Endre Karlson <email address hidden>
Date: Thu Nov 15 10:36:54 2012 +0100

    Abstract out functionality into plugins

    Abstract handlers into plugins and make handlers more generic
    Same with Storage and Backends as well

    Also now you just subclass the BaseAddressHandler and run self._create
    and self._delete in process_noticiation for Notification handling.

    This change will allow us to configure options on a pr handler base using the
    __plugin_type__ + __plugin_name__ of each plugin to add sections in the configs
    easily like:
    [handler:nova_fixed]
    domain = test.com

    [storage:sql]
    connection_debug = 100

    [backend:bind9]
    someopt = x

    Also change the default record format of handlers to use octet data

    bug #1078935

    Change-Id: Ic2ddf5a113dd1a306fce0513da2bfdbda991f647

Changed in moniker:
status: In Progress → Fix Committed
Kiall Mac Innes (kiall)
Changed in designate:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.