syntax = "proto3"; package an_ethernet_kpi; message EthernetPortKpiRecords { message EthernetPortKpiRecord { //The name pf Ethernet port. string name = 1; //Ethernet frame bytes sent by the Ethernet port. uint64 port_tx_bytes = 2; //Ethernet frame bytes received by the Ethernet port. uint64 port_rx_bytes = 3; //Number of Ethernet packets sent by the Ethernet port. uint64 port_tx_packets = 4; //Number of Ethernet packets received by the Ethernet port. uint64 port_rx_packets = 5; //Packet loss statistics in the downlink queue of the Ethernet port. uint64 port_tx_discard_packets = 6; //Number of Ethernet packets (usually packets with errors in the MAC layer) discarded in the receiving direction of the Ethernet port. uint64 port_rx_discard_packets = 7; //Number of Ethernet packets with misalignment (packet size is between 64bytes and 1518bytes and contains wrong CRC and misalignment). uint64 port_rx_alignment_error_packets = 8; //Number of packets with CRC errors of Ethernet in the sending direction of the Ethernet port. uint64 port_tx_crc_error_packets = 9; //Number of packets with CRC errors of Ethernet in the receiving direction of the Ethernet port. uint64 port_rx_crc_error_packets = 10; //Number of packets with CRC errors of Ethernet in the sending direction of the Ethernet port. uint64 port_tx_oversized_packets = 11; //Number of oversized Ethernet packets discarded in the receiving direction of the Ethernet port. uint64 port_rx_oversized_packets = 12; //Number of undersized Ethernet packets (packet size is smaller than 64bytes and contains correct CRC) discarded in the sending direction of the Ethernet port. uint64 port_tx_undersized_packets = 13; //Number of undersized Ethernet packets (packet size is smaller than 64bytes and contains correct CRC) discarded in the receiving direction of the Ethernet port. uint64 port_rx_undersized_packets = 14; //Number of fragment packets (packet size is smaller than 64bytes and contains wrong CRC) sent by the Ethernet port. uint64 port_tx_fragment_packets = 15; //Number of fragment packets (packet size is smaller than 64bytes and contains wrong CRC) received by the Ethernet port. uint64 port_rx_fragment_packets = 16; //Number of jabber packets (packet size is bigger than 9396bytes and contains wrong CRC) received by the Ethernet port. uint64 port_tx_jabber_packets = 17; // Number of jabber packets (packet size is bigger than 9396bytes and contains wrong CRC) received by the Ethernet port. uint64 port_rx_jabber_packets = 18; //Number of Ethernet error packets sent by the Ethernet port. uint64 port_tx_error_packets = 19; //Number of Ethernet error packets received by the Ethernet port. uint64 port_rx_error_packets = 20; //Average transmit rate of the Ethernet port. The unit is kbps. uint64 port_tx_rate = 21; //Average receive rate of the Ethernet port.The unit is kbps. uint64 port_rx_rate = 22; //Peak transmit rate of the Ethernet port in seconds.The unit is kbps. uint64 port_tx_peak_rate = 23; //Peak receive rate of the Ethernet port in seconds.The unit is kbps. uint64 port_rx_peak_rate = 24; //The number of unicast frame bytes sent by the Ethernet port . uint64 port_tx_unicast_bytes = 25; //The number of unicast frame bytes received by the Ethernet port. uint64 port_rx_unicast_bytes = 26; //The number of multicast frame bytes sent by the Ethernet port. uint64 port_tx_multicast_bytes = 27; //Average transmit unicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_tx_unicast_rate = 28; //Average receive unicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_rx_unicast_rate = 29; //Average transmit multicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_tx_multicast_rate = 30; //Peak transmit unicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_tx_peak_unicast_rate = 31; //Peak receive unicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_rx_peak_unicast_rate = 32; //Peak transmit multicast traffic rate of the Ethernet port.The unit is kbps. uint32 port_tx_peak_multicast_rate = 33; } repeated EthernetPortKpiRecord ethernet_port_kpi_record = 1; }