Ceilometer/blueprints/monitoring-network

Summary
This feature collects the network information(devices, connect statuses and statistices) via North Bound API from the SDN controller.


 * Supports multi SDN controller types.
 * Allows metering from multi controllers in parallel.
 * Source SDN controllers are allowed multi controller types in parallel.

This is the pollster who will be implemented in the ceilometer agent central.

User Stories

 * Use for optimization of the resource location(e.g. VM)
 * Use for testting route of the virtual network

Design

 * The pollster doesn't call REST API directly, uses the driver that is passed meter name.


 * The driver collects statistics via REST APIs, and returns a volume, a resource ID and a metadata to the pollster.


 * The pollster generates the sample. Parameters are as below:
 * The driver names are specified in "setup.cfg". namespace is "network.statistics.drivers".

e.g.
 * The endpoints of SDN controllers are specified in resources in "pipline.yaml".

- name: meter_pipeline interval: 600 meters: - "*" resources: - opendaylight://10.3.3.3:8080/controller/nb/v2/ - trema://10.3.3.4?foo=bar transformers: publishers: - rpc://

Modules
ceilometer - network - statistics - module for each SDN controller


 * ceilometer.network.statistics This module contains following:
 * abstract class for drivers
 * baseclass for pollster classes.
 * fake driver
 * ceilometer.network.statistics.switch
 * ceilometer.network.statistics.port
 * ceilometer.network.statistics.table
 * ceilometer.network.statistics.flow Those modules contain pollster classes.


 * module for SDN controller(e.g. ceilometer.network.statistics.opendaylight) This module contains folowing:
 * driver
 * utilities for the driver.

Meters
These meters are made from OpenFlow Switch Specification 1.0.2 mainly.