Skip to content
Closed
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
5 changes: 5 additions & 0 deletions sonic_fan/fan_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
class FanBase(object):
__metaclass__ = abc.ABCMeta

# Possible fan directions (relative to port-side of device)
FAN_DIRECTION_INTAKE = "intake"
FAN_DIRECTION_EXHAUST = "exhaust"
FAN_DIRECTION_NOT_APPLICABLE = "N/A"

def get_num_fans(self):
"""
Retrieves the number of FANs supported on the device
Expand Down