Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong attribute name #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pyfos/pyfos_brocade_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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,
Expand Down