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}
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}
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}
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}
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.