[sonic-feature.yang] fix check_up_status field type (#10986)

- Why I did it
An issue is encountered when a value "False" is written for a feature in "check_up_status" field, which does not pass YANG validation.

- How I did it
We usually use stypes::boolean_type for such fields, even in this YANG model. This custom type, supports "False" value.

- How to verify it
Write "False" in "check_up_status" field and see if YANG validation passes.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
This commit is contained in:
Stepan Blyshchak 2022-06-19 14:14:01 +03:00 committed by GitHub
parent d42a95ce0b
commit f4a9f7edaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,8 +90,8 @@ module sonic-feature{
leaf check_up_status {
description "This configuration controls the system ready tool to check
the app ready/up status";
type boolean;
default false;
type stypes:boolean_type;
default "false";
}
}
}