This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/sonic-yang-models
Jing Zhang 417196f80f
[202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485)
* [YANG] Add MUX_CABLE yang model  (#11797)

Why I did it
Address issue #10970

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-mux-cable.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.
Pass sonic-config-engine unit test.
Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
f8fe41a023/src/sonic-yang-models/doc/Configuration.md (mux_cable)

* [YANG] add peer switch model (#11828)

Why I did it
Address issue #10966

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-peer-switch.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.

Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
b721ff87b9/src/sonic-yang-models/doc/Configuration.md (peer-switch)
2023-06-15 14:35:36 -07:00
..
doc [202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485) 2023-06-15 14:35:36 -07:00
tests [202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485) 2023-06-15 14:35:36 -07:00
yang-models [202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485) 2023-06-15 14:35:36 -07:00
yang-templates Update check of IP_TYPE from ACL Yang model (#13810) 2023-04-03 16:34:31 +08:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
AUTHORS.rst [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
LICENSE [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
README.rst [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
setup.cfg [sonic-yang-mgmt] Build PY3 & PY2 packages (#5559) 2020-11-07 13:03:41 -08:00
setup.py [202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485) 2023-06-15 14:35:36 -07:00

"
This Package contains YANG models for sonic which are written with guidelines mentioned in
https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md.
"