Skip to content
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

[YANG] add peer switch model #11828

Merged
merged 5 commits into from
Aug 25, 2022
Merged

Conversation

zjswhhh
Copy link
Contributor

@zjswhhh zjswhhh commented Aug 23, 2022

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

https://github.com/sonic-net/sonic-buildimage/blob/b721ff87b976a6a38bdd65443ea3bc686014e783/src/sonic-yang-models/doc/Configuration.md#peer-switch

A picture of a cute animal (not mandatory but encouraged)

@zjswhhh zjswhhh force-pushed the yang_peer_switch branch 7 times, most recently from 869cf8e to 299c358 Compare August 24, 2022 17:19
@zjswhhh zjswhhh marked this pull request as ready for review August 25, 2022 00:34
@zjswhhh zjswhhh linked an issue Aug 25, 2022 that may be closed by this pull request
@zjswhhh
Copy link
Contributor Author

zjswhhh commented Jun 15, 2023

ADO#: 14806193

@mssonicbld
Copy link
Collaborator

@zjswhhh PR conflicts with 202205 branch

@mssonicbld
Copy link
Collaborator

@zjswhhh PR conflicts with 202111 branch

zjswhhh added a commit to zjswhhh/sonic-buildimage that referenced this pull request Jun 15, 2023
Why I did it
Address issue sonic-net#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
https://github.com/sonic-net/sonic-buildimage/blob/b721ff87b976a6a38bdd65443ea3bc686014e783/src/sonic-yang-models/doc/Configuration.md#peer-switch
yxieca pushed a commit that referenced this pull request Jun 15, 2023
* [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
https://github.com/sonic-net/sonic-buildimage/blob/f8fe41a0238b8a7b9e32ae42262f41b63050c55f/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
https://github.com/sonic-net/sonic-buildimage/blob/b721ff87b976a6a38bdd65443ea3bc686014e783/src/sonic-yang-models/doc/Configuration.md#peer-switch
@mssonicbld
Copy link
Collaborator

@zjswhhh PR conflicts with 202211 branch

@zjswhhh zjswhhh deleted the yang_peer_switch branch August 29, 2023 17:55
@zjswhhh
Copy link
Contributor Author

zjswhhh commented Aug 29, 2023

Hi @yxieca - This change was merged back in Aug. 2022, before we introduced automations for branch labels.

The change is in 202211 already.
https://github.com/sonic-net/sonic-buildimage/blob/202211/src/sonic-yang-models/yang-models/sonic-peer-switch.yang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[yang] Need Yang for PEER_SWITCH table
5 participants