-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yang] added mclag sonic yang (#7622)
#### How I did it Added mclag sonic yang file for the MCLAG enhancements as per HLD: sonic-net/SONiC#596 #### How to verify it try rest APIs #### Description for the changelog Added mclag sonic yang
- Loading branch information
Showing
5 changed files
with
613 additions
and
2 deletions.
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": { | ||
"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.