Skip to content

[ecn] Add tests for ecnconfig command#1372

Merged
neethajohn merged 4 commits intosonic-net:masterfrom
neethajohn:ecn_test
Jan 21, 2021
Merged

[ecn] Add tests for ecnconfig command#1372
neethajohn merged 4 commits intosonic-net:masterfrom
neethajohn:ecn_test

Conversation

@neethajohn
Copy link
Copy Markdown
Contributor

- What I did
Added unit tests for ecnconfig command
Updated 'show ecn' command to use run_command wrapper
Updated 'config ecn' command to allow configuration of drop probabilities
Cleanup trailing spaces in ecnconfig script and add hooks to support unit tests

- How to verify it
Ran the new ecn_test.py and it passed

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 20, 2021

This pull request introduces 1 alert when merging d17fb1e into 8119ba2 - view on LGTM.com

new alerts:

  • 1 for Unused import

@neethajohn neethajohn merged commit b082684 into sonic-net:master Jan 21, 2021
@neethajohn neethajohn deleted the ecn_test branch January 21, 2021 17:59
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
- What I did
Added unit tests for ecnconfig command
Updated 'show ecn' command to use run_command wrapper
Updated 'config ecn' command to allow configuration of drop probabilities
Cleanup trailing spaces in ecnconfig script and add hooks to support unit tests

- How to verify it
Ran the new ecn_test.py and it passed

Signed-off-by: Neetha John <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
[portsorch] add buffer drop FC group 
[bitmap_vnet] Fix VNET route priority issue (sonic-net#1421)
[vnet] Maintain the reference count of the nexthop when creating a
vn… (sonic-net#1414)
[intfsorch] Retrieve Port object before setting NAT zone on router
interfaces. (sonic-net#1372)
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