Skip to content

Commit

Permalink
Used boolean_type instead of string for isolateStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
kenneth-arista committed Jun 27, 2023
1 parent 6da5435 commit 3be1170
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/sonic-yang-models/yang-models/sonic-fabric-port.yang
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module sonic-fabric-port{
namespace "https://github.com/sonic-net/sonic-fabric-port";
prefix fabric-port;

import sonic-types {
prefix stypes;
}

description "FABRIC_PORT yang Module for SONiC OS";

revision 2023-03-14 {
Expand All @@ -29,9 +33,7 @@ module sonic-fabric-port{

leaf isolateStatus {
description "Isolation status of a fabric port";
type string {
pattern "False|True";
}
type stypes:boolean_type;
default "False";
}

Expand Down

0 comments on commit 3be1170

Please sign in to comment.