Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(23)  |  Call(23)  |  Derive(0)  |  Import(0)

src/c/e/ceilometer-HEAD/ceilometer/tests/network/statistics/test_port.py   ceilometer(Download)
    def test_port_pollster(self):
        self._test_pollster(
            port.PortPollster,
            'switch.port',
            sample.TYPE_GAUGE,
            'port')
 
    def test_port_pollster_receive_packets(self):
        self._test_pollster(
            port.PortPollsterReceivePackets,
    def test_port_pollster_transmit_packets(self):
        self._test_pollster(
            port.PortPollsterTransmitPackets,
            'switch.port.transmit.packets',
            sample.TYPE_CUMULATIVE,
            'packet')
 
    def test_port_pollster_receive_bytes(self):
        self._test_pollster(
            port.PortPollsterReceiveBytes,
    def test_port_pollster_transmit_bytes(self):
        self._test_pollster(
            port.PortPollsterTransmitBytes,
            'switch.port.transmit.bytes',
            sample.TYPE_CUMULATIVE,

src/c/e/ceilometer-HEAD/ceilometer/tests/network/statistics/test_flow.py   ceilometer(Download)
    def test_flow_pollster(self):
        self._test_pollster(
            flow.FlowPollster,
            'switch.flow',
            sample.TYPE_GAUGE,
            'flow')
 
    def test_flow_pollster_duration_seconds(self):
        self._test_pollster(
            flow.FlowPollsterDurationSeconds,
    def test_flow_pollster_duration_nanoseconds(self):
        self._test_pollster(
            flow.FlowPollsterDurationNanoseconds,
            'switch.flow.duration_nanoseconds',
            sample.TYPE_GAUGE,
            'ns')
 
    def test_flow_pollster_packets(self):
        self._test_pollster(
            flow.FlowPollsterPackets,
    def test_flow_pollster_bytes(self):
        self._test_pollster(
            flow.FlowPollsterBytes,
            'switch.flow.bytes',
            sample.TYPE_CUMULATIVE,

src/c/e/ceilometer-HEAD/ceilometer/tests/network/statistics/test_table.py   ceilometer(Download)
    def test_table_pollster(self):
        self._test_pollster(
            table.TablePollster,
            'switch.table',
            sample.TYPE_GAUGE,
            'table')
 
    def test_table_pollster_active_entries(self):
        self._test_pollster(
            table.TablePollsterActiveEntries,
    def test_table_pollster_lookup_packets(self):
        self._test_pollster(
            table.TablePollsterLookupPackets,
            'switch.table.lookup.packets',
            sample.TYPE_GAUGE,
            'packet')
 
    def test_table_pollster_matched_packets(self):
        self._test_pollster(
            table.TablePollsterMatchedPackets,

src/c/e/ceilometer-HEAD/ceilometer/tests/network/statistics/test_switch.py   ceilometer(Download)
    def test_table_pollster(self):
        self._test_pollster(
            switch.SWPollster,
            'switch',
            sample.TYPE_GAUGE,