Class: IControl::ARX::NetworkStats

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/arx.rb,
lib/icontrol/arx.rb

Overview

A structure that contains the statistics of a network.

Instance Attribute Summary collapse

Instance Attribute Details

#collisionsNumeric

The number of packet collisions encountered by this interface.

Returns:

  • (Numeric)

    the current value of collisions



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def collisions
  @collisions
end

#crc_errorsNumeric

The number of CRC errors encountered by this interface.

Returns:

  • (Numeric)

    the current value of crc_errors



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def crc_errors
  @crc_errors
end

#discardedNumeric

The number of packets discarded by this interface.

Returns:

  • (Numeric)

    the current value of discarded



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def discarded
  @discarded
end

#idString

The network interface’s identifier.

Returns:

  • (String)

    the current value of id



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def id
  @id
end

#rx_broadcastNumeric

The number of broadcast packets received by this interface.

Returns:

  • (Numeric)

    the current value of rx_broadcast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def rx_broadcast
  @rx_broadcast
end

#rx_multicastNumeric

The number of multicast packets received by this interface.

Returns:

  • (Numeric)

    the current value of rx_multicast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def rx_multicast
  @rx_multicast
end

#rx_octetsNumeric

The number of bytes received by this interface.

Returns:

  • (Numeric)

    the current value of rx_octets



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def rx_octets
  @rx_octets
end

#rx_totalNumeric

The total number of bytes received by this interface.

Returns:

  • (Numeric)

    the current value of rx_total



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def rx_total
  @rx_total
end

#rx_unicastNumeric

The number of unicast packets received by this interface.

Returns:

  • (Numeric)

    the current value of rx_unicast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def rx_unicast
  @rx_unicast
end

#tx_broadcastNumeric

The number of broadcast packets transmitted by this interface.

Returns:

  • (Numeric)

    the current value of tx_broadcast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def tx_broadcast
  @tx_broadcast
end

#tx_multicastNumeric

The number of multicast packets transmitted by this interface.

Returns:

  • (Numeric)

    the current value of tx_multicast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def tx_multicast
  @tx_multicast
end

#tx_octetsNumeric

The number of bytes transmitted by this interface.

Returns:

  • (Numeric)

    the current value of tx_octets



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def tx_octets
  @tx_octets
end

#tx_totalNumeric

The total number of bytes transmitted by this interface.

Returns:

  • (Numeric)

    the current value of tx_total



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def tx_total
  @tx_total
end

#tx_unicastNumeric

The number of unicast packets transmitted by this interface.

Returns:

  • (Numeric)

    the current value of tx_unicast



229
230
231
# File 'lib/icontrol/arx.rb', line 229

def tx_unicast
  @tx_unicast
end