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

Fix get routing stack #51

Closed
wants to merge 2 commits into from
Closed

Conversation

stepanblyschak
Copy link
Owner

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

stephenxs and others added 2 commits April 19, 2022 21:40
…and buffer configuration to default (sonic-net#2125)

What I did

CLI: config qos reload --ports <ports_list>
--ports <ports_list>: a set of interfaces with empty QoS and buffer configurations (typically they have just been created via DPB).
Format: <port>{,port}, like “Ethernet0” or “Ethernet4,Ethernet5,Ethernet6,Ethernet7”
Each port in the list should exist in the CONFIG_DB.PORT table

The flow:
Render the template qos_config.j2 and buffer_config.j2, generating a temporary json file. (This is one step in “config qos reload”).
Parse the json file, extracting all the items on the ports in the port_list
Apply all the extracted items into the CONFIG_DB

Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants