diff --git a/release/models/platform/openconfig-platform-fan.yang b/release/models/platform/openconfig-platform-fan.yang index 86e6d17d6..c79aec704 100644 --- a/release/models/platform/openconfig-platform-fan.yang +++ b/release/models/platform/openconfig-platform-fan.yang @@ -22,7 +22,13 @@ module openconfig-platform-fan { "This module defines data related to FAN components in the OpenConfig platform model."; - oc-ext:openconfig-version "0.2.0"; + oc-ext:openconfig-version "0.3.0"; + + revision "2026-07-21" { + description + "Add fan speed-percentage and direction operational leaves."; + reference "0.3.0"; + } revision "2025-07-16" { description @@ -126,6 +132,32 @@ module openconfig-platform-fan { description "Current (instantaneous) fan speed"; } + + leaf speed-percentage { + type uint8 { + range "0..100"; + } + units "percent"; + description + "Current fan speed as a percentage of maximum rated speed. + A value of 0 indicates the fan is stopped, and 100 indicates + maximum speed."; + } + + leaf direction { + type enumeration { + enum intake { + description + "Fan airflow direction is intake (air drawn into the chassis)."; + } + enum exhaust { + description + "Fan airflow direction is exhaust (air expelled from the chassis)."; + } + } + description + "Current fan airflow direction."; + } } // data definition statements diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index 675984999..7ec4b260a 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -65,7 +65,13 @@ module openconfig-platform { (presence or absence of a component) and state (physical attributes or status)."; - oc-ext:openconfig-version "0.32.0"; + oc-ext:openconfig-version "0.33.0"; + + revision "2026-07-21" { + description + "Add critical high/low temperature threshold leaves."; + reference "0.33.0"; + } revision "2025-07-15" { description @@ -761,6 +767,24 @@ revision "2024-05-29" { description "The severity of the current alarm."; } + + leaf critical-high-threshold { + type decimal64 { + fraction-digits 1; + } + units celsius; + description + "Critical high temperature threshold for this sensor."; + } + + leaf critical-low-threshold { + type decimal64 { + fraction-digits 1; + } + units celsius; + description + "Critical low temperature threshold for this sensor."; + } } grouping platform-component-power-state {