Skip to content

Commit

Permalink
[hash]: GH YANG model rev01.
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
  • Loading branch information
nazariig committed Oct 7, 2022
1 parent b196195 commit 8125ded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/sonic-yang-models/yang-models/sonic-hash.yang
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module sonic-hash {
typedef hash-field {
description "Represents native hash field";
type stypes:hash-field {
enum IN_PORT;
enum DST_MAC;
enum SRC_MAC;
enum ETHERTYPE;
Expand Down
1 change: 1 addition & 0 deletions src/sonic-yang-models/yang-templates/sonic-types.yang.j2
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ module sonic-types {
typedef hash-field {
description "Represents native hash field";
type enumeration {
enum IN_PORT;
enum DST_MAC;
enum SRC_MAC;
enum ETHERTYPE;
Expand Down

0 comments on commit 8125ded

Please sign in to comment.