-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
224 additions
and
27 deletions.
There are no files selected for viewing
44 changes: 41 additions & 3 deletions
44
src/sonic-yang-models/tests/yang_model_tests/tests/fine-grained-ecmp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,43 @@ | ||
{ | ||
"VALID_FINE_GRAINED_ECMP": { | ||
"desc": "VALID_FINE_GRAINED_ECMP no failure." | ||
"FG_NHG_TEST": { | ||
"desc": "Fine-grained ECMP next-hop group configuration in FG_NHG_LIST table." | ||
}, | ||
"FG_NHG_PREFIX_TEST": { | ||
"desc": "Fine-grained ECMP prefix configuration in FG_NHG_PREFIX_LIST table." | ||
}, | ||
"FG_NHG_MEMBER_TEST": { | ||
"desc": "Fine-grained ECMP next-hop member configuration in FG_NHG_MEMBER_LIST table." | ||
}, | ||
"FG_NHG_MEMBER_TEST_INVALID_IP": { | ||
"desc": "Fine-grained ECMP next-hop member configuration with invalid IP value in FG_NHG_MEMBER_LIST table.", | ||
"eStr": "Invalid value" | ||
}, | ||
"FG_NHG_PREFIX_TEST_INVALID_PREFIX":{ | ||
"desc": "Fine-grained ECMP prefix configuration with invalid prefix value in FG_NHG_PREFIX_LIST table.", | ||
"eStr": "Invalid value" | ||
}, | ||
"FG_NHG_MEMBER_TEST_MISSING_FG_NHG_REF": { | ||
"desc": "Fine-grained ECMP next-hop member configuration with missing FG_NHG reference in FG_NHG_MEMBER_LIST table.", | ||
"eStr": "Missing reference" | ||
}, | ||
"FG_NHG_PREFIX_TEST_MISSING_FG_NHG_REF": { | ||
"desc": "Fine-grained ECMP prefix configuration with missing FG_NHG reference in FG_NHG_PREFIX_LIST table.", | ||
"eStr": "Missing reference" | ||
}, | ||
"FG_NHG_MEMBER_TEST_MISSING_BANK": { | ||
"desc": "Fine-grained ECMP next-hop member configuration with missing bank in FG_NHG_MEMBER_LIST table.", | ||
"eStr": "Mandatory leaf 'bank' missing" | ||
}, | ||
"FG_NHG_TEST_DUPLICATE_ENTRY": { | ||
"desc": "Fine-grained ECMP next-hop group configuration with duplicate entry in FG_NHG_LIST table.", | ||
"eStr": "Duplicate entry" | ||
}, | ||
"FG_NHG_PREFIX_TEST_DUPLICATE_ENTRY": { | ||
"desc": "Fine-grained ECMP prefix configuration with duplicate entry in FG_NHG_PREFIX_LIST table.", | ||
"eStr": "Duplicate entry" | ||
}, | ||
"FG_NHG_MEMBER_TEST_DUPLICATE_MEMBER": { | ||
"desc": "Fine-grained ECMP next-hop member configuration with duplicate member in FG_NHG_MEMBER_LIST table.", | ||
"eStr": "Duplicate member" | ||
} | ||
} | ||
} |
207 changes: 183 additions & 24 deletions
207
src/sonic-yang-models/tests/yang_model_tests/tests_config/fine_grained_ecmp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters