Public bug reported: The current implementation of the diagnostics API provides various standard network counter info. Two of those fields are simply "<ifname>_rx" and "<ifname>_tx" with no units. This is not nice from a usability and self-documentation perspective. I had to read the code to verify they are in fact in octets.
The blueprint (https://wiki.openstack.org/wiki/Nova_VM_Diagnostics) indicates that the current implementation is incorrect (or the blueprint should have been updated...): """ Network details The network details will be an array of dictionaries per each virtual NIC. Key Description rx_octets Received octets (Integer) rx_errors Received errors (Integer) rx_drop Received packets dropped (Integer) rx_packets Received packets (Integer) tx_octets Transmitted Octets (Integer) tx_errors Transmit errors (Integer) tx_drop Transmit dropped packets (Integer) tx_packets Transmit packets (Integer) """ ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1628368 Title: nova diagnostics network rx and tx have no units Status in OpenStack Compute (nova): New Bug description: The current implementation of the diagnostics API provides various standard network counter info. Two of those fields are simply "<ifname>_rx" and "<ifname>_tx" with no units. This is not nice from a usability and self-documentation perspective. I had to read the code to verify they are in fact in octets. The blueprint (https://wiki.openstack.org/wiki/Nova_VM_Diagnostics) indicates that the current implementation is incorrect (or the blueprint should have been updated...): """ Network details The network details will be an array of dictionaries per each virtual NIC. Key Description rx_octets Received octets (Integer) rx_errors Received errors (Integer) rx_drop Received packets dropped (Integer) rx_packets Received packets (Integer) tx_octets Transmitted Octets (Integer) tx_errors Transmit errors (Integer) tx_drop Transmit dropped packets (Integer) tx_packets Transmit packets (Integer) """ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1628368/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

