From e5a25e5f5170ba06d5482877b57df132d0df465f Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 10 Jan 2009 18:19:21 +0000 Subject: Finish up Connector API (connector data is now available from metadata.Probes instead or metadata.probes) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5009 ce84e21b-d406-0410-9b95-82705330c041 --- doc/plugin-roles | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/plugin-roles b/doc/plugin-roles index 5d072dcbd..8941bd6cc 100644 --- a/doc/plugin-roles +++ b/doc/plugin-roles @@ -4,26 +4,29 @@ This documents available plugin roles. | Role | Class | Status | |---------------+--------------------+---------------| +| Metadata | Metadata | done | +| Connector | Connector | done | | Generator | Generator | done | | Structure | Structure | done | | Pull | PullSource | class defined | -| Metadata | Metadata | done | -| Connector | Connector | class defined | | Probing | Probing | done | | Decision | Decision | done | | Remote | Remote | none | | Statistics | Statistics | class defined | | Structure Val | StructureValidator | done | -| Goals Val | GoalValidator | class defined | +| Goals Val | GoalValidator | done | | Syncing | Syncing | none | |---------------+--------------------+---------------| -2) Interactions between plugins and the core -* Metadata Construction -** Get Base Metadata from (single) Metadata plugin instance -** Get additional data from each Connector plugin instance -** Merge in additional connector data into single ClientMetadata instance -* +2) Plugin Functions + +* Metadata +** Initial metadata construction +** Connector data accumulation +** ClientMetadata instance delivery +** Introspection interface (for bcfg2-info & co) +* Connector +** Provide additional data for ClientMetadata instances 3) Configuration of plugins @@ -42,3 +45,15 @@ across the board, but I think this is a corner case, which will be poorly supported by plugin implementers. If needed, this use case can be explicitly supported by the plugin author, through use of a config file directive. + +4) User Visible Changes + +Connector data is added to ClientMetadata instances using the name of +the connector plugin. This means that the dictionary of key/val probe +pairs included with metadata is now available as metadata.Probes +(instead of metadata.probes). Once properties are available the same +way, they will likewise change names to metadata.Properties from their +current name. + +5) Notes +* Need to fix host specific probe behavior (with basenames) -- cgit v1.2.3-1-g7c22