The ceilometer.network.statistics.opencontrail.driver Module

The ceilometer.network.statistics.opencontrail.driver Module

class ceilometer.network.statistics.opencontrail.driver.OpencontrailDriver(conf)[source]

Bases: ceilometer.network.statistics.driver.Driver

Driver of network analytics of Opencontrail.

This driver uses resources in “pipeline.yaml”.

Resource requires below conditions:

  • resource is url
  • scheme is “opencontrail”

This driver can be configured via query parameters. Supported parameters:

  • scheme: The scheme of request url to Opencontrail Analytics endpoint. (default “http”)
  • virtual_network Specify the virtual network. (default None)
  • fqdn_uuid: Specify the VM fqdn UUID. (default “*”)
  • resource: The resource on which the counters are retrieved. (default “if_stats_list”)
    • fip_stats_list: Traffic on floating ips
    • if_stats_list: Traffic on VM interfaces

e.g.:

opencontrail://localhost:8081/?resource=fip_stats_list&
virtual_network=default-domain:openstack:public
get_sample_data(meter_name, parse_url, params, cache)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.