-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added mclag sonic yang #7622
Merged
Merged
added mclag sonic yang #7622
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
97bbc74
added mclag sonic yang
gitsabari a6ba02b
updated sonic mclag
gitsabari 8b6f45e
updated sonic mclag yang
gitsabari 076ceb6
fixed mclag sonic yang dependencies issues
gitsabari aa47903
fixed sonic mclag errors
gitsabari 0162309
updated sonic mclag yang
gitsabari 16a59ed
addressed review comments, added some mclag ut cases
gitsabari e640464
Merge branch 'master' into mclag_enhacements
gitsabari 7f87932
corrected mclag test json format issues
gitsabari 0527da5
updated sample mclag config file
gitsabari 41d7622
fixed error with mclag test json files
gitsabari f8c4ad0
fixed mclag build issue
gitsabari a86adf3
removed state db related yang changes which has dependency on sonic-e…
gitsabari 91402ad
fixed mclag samle config
gitsabari 60503c4
fixed mclag test config file
gitsabari b44248d
fixed mclag test case file
gitsabari 0cbfaac
updated mclag test case
gitsabari 87089c0
fix mclag case
gitsabari c6a2cbd
updated mclag test cases
gitsabari f5a9ac0
fixed mclag test case issue
gitsabari 6253252
fixed mclag test case
gitsabari c36e6c8
updated mclag test case
gitsabari e44f31e
updated mclag test case
gitsabari 32f1871
fixed mclag test load failure
gitsabari 58bc90d
fixed mclag test case
gitsabari a3c7753
updated mclag test cases
gitsabari 1271c86
fixed mclag test case
gitsabari bac56a9
fixed mclag test case
gitsabari c1373f8
corrected mclag test case failure
gitsabari a990d63
updated mclag test case
gitsabari 3df4433
addressed review comments and fixed test cases
gitsabari 1fb1e33
Merge branch 'master' into mclag_enhacements
gitsabari 46fb2d3
corrected test cases
gitsabari 88b774e
addressed review comments
gitsabari 39955fb
addressed review comments
gitsabari be18bed
fixed test run errors
gitsabari 30d380b
fixed test failures
gitsabari 4dd6a95
fixed test case failure
gitsabari 962d51a
fixed test case
gitsabari 8a50409
fixed test case
gitsabari 7cb15e4
fixed test case
gitsabari d94b084
fixed test case
gitsabari 766b2fd
fixed test case
gitsabari 668b04b
fixed test case
gitsabari d1e47a4
fixed test case
gitsabari 99f593b
fixed test case
gitsabari 2c266d9
fixed test case
gitsabari 3c09a40
fixed test case
gitsabari 5058465
fixed test case
gitsabari 0a7a3ca
Merge branch 'master' into mclag_enhacements
gitsabari c419b58
resolving issue with sample config json
gitsabari e58e143
Merge branch 'master' into mclag_enhacements
gitsabari 5aecb78
addressed review comments
gitsabari b6df637
addressed review comment
gitsabari a549a9c
Merge branch 'master' into mclag_enhacements
gitsabari d2fe61e
commenting sonic vlan import and reference until libyang back-links i…
gitsabari cc6bb1e
commenting libyang back-links reference issue#9312 related test cases…
gitsabari f39124d
commenting libyang back-links reference issue#9312 related test cases…
gitsabari 01e664a
removed back-links reference issue#9312 related test cases until the
gitsabari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
32 changes: 32 additions & 0 deletions
32
src/sonic-yang-models/tests/yang_model_tests/tests/mclag.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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"MCLAG_VALID_DOMAIN_CFG_TEST": { | ||
"desc": "valid mclag configuration test" | ||
}, | ||
"MCLAG_VALID_DOMAIN_PEERLINK_ETH_TEST": { | ||
"desc": "valid mclag configuration test with peer link ethernet" | ||
}, | ||
"MCLAG_INVALID_DOMAIN_IDS_TEST": { | ||
"desc": "configure mclag domain id in range", | ||
"eStr": "MCLAG Domain ID out of range" | ||
}, | ||
"MCLAG_INVALID_KEEPALIVE_TEST": { | ||
gitsabari marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"desc": "configure mclag keepalive values in range", | ||
"eStr" : "MCLAG Domain keepalive interval out of range" | ||
}, | ||
"MCLAG_INVALID_SESSION_TIMEOUT_TEST": { | ||
"desc": "configure mclag session timeout in range", | ||
"eStr" : "MCLAG Domain session timeout out of range" | ||
}, | ||
"MCLAG_INVALID_KEEPALIVE_MUST_COND_TEST": { | ||
"desc": "Invalid session and keepalive multiplier", | ||
"eStr" : "(keepalive interval * 3) <= session_timeout value" | ||
}, | ||
"MCLAG_INTERFACE_DOMAIN_ABSENT_TEST": { | ||
"desc": "mclag interface configured without domain", | ||
"eStrKey" : "LeafRef" | ||
}, | ||
"MCLAG_UNIQUE_IP_DOMAIN_ABSENT_TEST": { | ||
"desc": "mclag unique ip configured without domain", | ||
"eStr" : "mclag not configured" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add this configuration in https://github.com/Azure/SONiC/wiki/Configuration as source of truth, if not added already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will do