Skip to content

[action] [PR:17622] [YANG] Enable Yang model for BGP_BBR config entry#17748

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/17622
Jan 11, 2024
Merged

[action] [PR:17622] [YANG] Enable Yang model for BGP_BBR config entry#17748
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/17622

Conversation

@mssonicbld
Copy link
Collaborator

Why I did it

Enable Yang model for BGP_BBR config entry.

{
 "BGP_BBR": {
 "all": {
 "status": "enabled"/"disabled"
 }
 }
}
Work item tracking
  • Microsoft ADO (number only): 25988660

How I did it

Add yang model and ut for BGP_BBR.

How to verify it

Use GCU cmd to change bbr status.
Create following json patch: disable_bbr.json-patch

[
 {
 "op": "replace",
 "path": "/BGP_BBR/all/status",
 "value": "disabled"
 }
]

Run sudo config apply-patch ./disable_bbr.json-patch cmd on dut. Success.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

Why I did it
Enable Yang model for BGP_BBR config entry.

{
        "BGP_BBR": {
            "all": {
                "status": "enabled"/"disabled"
            }
        }
}
Work item tracking
Microsoft ADO (number only): 25988660
How I did it
Add yang model and ut for BGP_BBR.

How to verify it
Use GCU cmd to change bbr status.
Create following json patch: disable_bbr.json-patch

[
 {
  "op": "replace",
  "path": "/BGP_BBR/all/status",
  "value": "disabled"
 }
]
Run sudo config apply-patch ./disable_bbr.json-patch cmd on dut. Success.
@mssonicbld
Copy link
Collaborator Author

Original PR: #17622

@mssonicbld mssonicbld merged commit 4a26cd8 into sonic-net:202311 Jan 11, 2024
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.

2 participants