Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 8a8e789
Author: keboliu <[email protected]>
Date:   Thu May 6 18:37:35 2021 +0800

    fix review comments

commit b409e1d
Author: keboliu <[email protected]>
Date:   Wed May 5 21:17:10 2021 +0800

    fix review comments

commit a093bbc
Author: keboliu <[email protected]>
Date:   Sun Apr 25 14:37:15 2021 +0800

    Make the function names in tests/namespace/test_sensor.py align with tests/test_sensor.py

    Signed-off-by: Kebo Liu <[email protected]>

commit fddab17
Author: keboliu <[email protected]>
Date:   Sun Apr 11 00:17:33 2021 +0800

    Update test mock state_db.json for new added unit test

    Signed-off-by: Kebo Liu <[email protected]>

commit 01313dc
Author: keboliu <[email protected]>
Date:   Sat Apr 10 23:43:18 2021 +0800

    import TransceiverSensorData from new sensor_data.py

    Signed-off-by: Kebo Liu <[email protected]>

commit ad2e66f
Merge: 7b62632 4e063e4
Author: keboliu <[email protected]>
Date:   Sat Apr 10 20:21:25 2021 +0800

    Merge branch 'master' into physical_entity_sensor_mib_extension

commit 7b62632
Author: keboliu <[email protected]>
Date:   Sat Apr 10 19:28:31 2021 +0800

    reduce the redundant code

    Signed-off-by: Kebo Liu <[email protected]>

commit 6aa3dc6
Author: keboliu <[email protected]>
Date:   Sun Mar 28 21:15:09 2021 +0800

    Extend RFC3433 to support more sensors including:
        Fan tachometers
        Thermal sensors
        PSU Voltage, Current, Power

    Signed-off-by: Kebo Liu <[email protected]>
  • Loading branch information
qiluo-msft committed May 14, 2021
1 parent 4e063e4 commit e67d8f4
Show file tree
Hide file tree
Showing 9 changed files with 1,032 additions and 192 deletions.
2 changes: 2 additions & 0 deletions src/sonic_ax_impl/mibs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
TABLE_NAME_SEPARATOR_COLON = ':'
TABLE_NAME_SEPARATOR_VBAR = '|'

HOST_NAMESPACE_DB_IDX = 0

redis_kwargs = {'unix_socket_path': '/var/run/redis/redis.sock'}


Expand Down
3 changes: 1 addition & 2 deletions src/sonic_ax_impl/mibs/ietf/rfc2737.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
from .physical_entity_sub_oid_generator import get_psu_sensor_sub_id
from .physical_entity_sub_oid_generator import get_transceiver_sub_id
from .physical_entity_sub_oid_generator import get_transceiver_sensor_sub_id
from .transceiver_sensor_data import TransceiverSensorData

from .sensor_data import TransceiverSensorData

@unique
class PhysicalClass(int, Enum):
Expand Down
Loading

0 comments on commit e67d8f4

Please sign in to comment.