diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index b8214b160..d45dbecce 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -546,7 +546,7 @@ module openconfig-platform { } leaf model-name { - when "../removable = 'true' or ../state/type = 'CHASSIS'"; + when "../removable = 'true' or ../type = 'CHASSIS'"; mandatory true; type string; description