generic way to specify the endpoint to poll

Registered by Lianhao Lu

By adding a new optional item 'resources' in the pipeline definition, it will allows the admin to specify which endpoints the pollsters defined in the same pipeline to get the data from.

The new pipeline definition would be something like the followings:

-
name: meter_pipeline
interval: 600
meters:
        - "*"
resources:
        - snmp://10.4.4.4
        - ipmi://10.5.5.5
transformers:
publishers:
       - rpc://

How to intepret the content of the 'resources' field will depends on pollster.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Lianhao Lu
Direction:
Approved
Assignee:
Lianhao Lu
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Thierry Carrez
Completed by
Lianhao Lu

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/support-resources-pipeline-item,n,z

Addressed by: https://review.openstack.org/58488
    Added resources definition in the pipeline

Addressed by: https://review.openstack.org/58489
    Added resources support in pollster's interface

Addressed by: https://review.openstack.org/58747
    Add resource loader support

[Updated 01/24/2014]
According to the discussion in the IRC meeting, http://eavesdrop.openstack.org/meetings/ceilometer/2014/ceilometer.2014-01-23-15.03.log.html, it is agreed that we could leave the 'resource loader' functionality to individual pollster, instead of having a separate resource loader module. So I will abandon the resource loader patch and mark this bp completed.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.