The ceilometer.network.statistics.opendaylight.client Module

The ceilometer.network.statistics.opendaylight.client Module

class ceilometer.network.statistics.opendaylight.client.Client(conf, endpoint, params)[source]

Bases: object

request(path, container_name)[source]
class ceilometer.network.statistics.opendaylight.client.HostTrackerAPIClient(client)[source]

Bases: ceilometer.network.statistics.opendaylight.client._Base

OpenDaylight Host Tracker REST API Client

Base URL:
{endpoint}/hosttracker/{containerName}
base_url = '/hosttracker/%(container_name)s'
get_active_hosts(container_name)[source]

Get active hosts information

URL:
{Base URL}/hosts/active
get_inactive_hosts(container_name)[source]

Get inactive hosts information

URL:
{Base URL}/hosts/inactive
exception ceilometer.network.statistics.opendaylight.client.OpenDaylightRESTAPIFailed[source]

Bases: exceptions.Exception

class ceilometer.network.statistics.opendaylight.client.StatisticsAPIClient(client)[source]

Bases: ceilometer.network.statistics.opendaylight.client._Base

OpenDaylight Statistics REST API Client

Base URL:
{endpoint}/statistics/{containerName}
base_url = '/statistics/%(container_name)s'
get_flow_statistics(container_name)[source]

Get flow statistics

URL:
{Base URL}/flow
get_port_statistics(container_name)[source]

Get port statistics

URL:
{Base URL}/port
get_table_statistics(container_name)[source]

Get table statistics

URL:
{Base URL}/table
class ceilometer.network.statistics.opendaylight.client.SwitchManagerAPIClient(client)[source]

Bases: ceilometer.network.statistics.opendaylight.client._Base

OpenDaylight Switch Manager REST API Client

Base URL:
{endpoint}/switchmanager/{containerName}
base_url = '/switchmanager/%(container_name)s'
get_nodes(container_name)[source]

Get node information

URL:
{Base URL}/nodes
class ceilometer.network.statistics.opendaylight.client.TopologyAPIClient(client)[source]

Bases: ceilometer.network.statistics.opendaylight.client._Base

OpenDaylight Topology REST API Client

Base URL:
{endpoint}/topology/{containerName}
base_url = '/topology/%(container_name)s'
get_topology(container_name)[source]

Get topology

URL:
{Base URL}

Get user links

URL:
{Base URL}/userLinks
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.