From 7c6d9ee5dc5c6466e11cbbfb19b69836f1b2f92b Mon Sep 17 00:00:00 2001 From: jobehrens Date: Mon, 21 Aug 2023 10:54:45 +0200 Subject: [PATCH] fix wrong attribute name --- pyfos/pyfos_brocade_interface.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyfos/pyfos_brocade_interface.py b/pyfos/pyfos_brocade_interface.py index 8ce532e..3bdbfcf 100644 --- a/pyfos/pyfos_brocade_interface.py +++ b/pyfos/pyfos_brocade_interface.py @@ -1723,6 +1723,8 @@ class fibrechannel_statistics(pyfos_rest_util.rest_object): +-----------------------------------+-------------------------------+-----------------------------------------------+ | pcs-block-errors | PCS block errors |:func:`peek_pcs_block_errors` | +-----------------------------------+-------------------------------+-----------------------------------------------+ + | fec-uncorrected | uncorrected by FEC block |:func:`peek_fec_uncorrected` | + +-----------------------------------+-------------------------------+-----------------------------------------------+ *Object methods* @@ -2117,7 +2119,7 @@ class fibrechannel_statistics(pyfos_rest_util.rest_object): :rtype: None or number of frames received with invalid CRC - .. method:: peek_remote_fec_uncorrected() + .. method:: peek_fec_uncorrected() Reads number of frames uncorrected by FEC block. @@ -2321,7 +2323,7 @@ def __init__(self, dictvalues={}): "remote-crc-errors", pyfos_type.type_int, None, pyfos_rest_util.REST_ATTRIBUTE_NOT_CONFIG)) self.add(pyfos_rest_util.rest_attribute( - "remote-fec-uncorrected", pyfos_type.type_int, + "fec-uncorrected", pyfos_type.type_int, None, pyfos_rest_util.REST_ATTRIBUTE_NOT_CONFIG)) self.add(pyfos_rest_util.rest_attribute( "remote-buffer-credit-info", pyfos_type.type_na,