Skip to content

Commit

Permalink
[hash] Update yang model with IPV6_FLOW_LABEL (for ECMP or LAG)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Yurkiv <[email protected]>
  • Loading branch information
ayurkiv-nvda committed Jan 17, 2025
1 parent 88c8ec9 commit abf0caf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sonic-yang-models/doc/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,8 @@ The configuration is applied globally for each ECMP and LAG on a switch.
"INNER_DST_IP",
"INNER_SRC_IP",
"INNER_L4_DST_PORT",
"INNER_L4_SRC_PORT"
"INNER_L4_SRC_PORT",
"IPV6_FLOW_LABEL"
],
"lag_hash": [
"DST_MAC",
Expand All @@ -1329,7 +1330,8 @@ The configuration is applied globally for each ECMP and LAG on a switch.
"INNER_DST_IP",
"INNER_SRC_IP",
"INNER_L4_DST_PORT",
"INNER_L4_SRC_PORT"
"INNER_L4_SRC_PORT",
"IPV6_FLOW_LABEL"
],
"ecmp_hash_algorithm": "CRC",
"lag_hash_algorithm": "CRC"
Expand Down
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 @@ -40,6 +40,7 @@ module sonic-hash {
enum INNER_SRC_IP;
enum INNER_L4_DST_PORT;
enum INNER_L4_SRC_PORT;
enum IPV6_FLOW_LABEL;
}
}

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 @@ -351,6 +351,7 @@ module sonic-types {
enum INNER_SRC_IPV6;
enum INNER_L4_DST_PORT;
enum INNER_L4_SRC_PORT;
enum IPV6_FLOW_LABEL;
}
}

Expand Down

0 comments on commit abf0caf

Please sign in to comment.