-
Notifications
You must be signed in to change notification settings - Fork 812
[PBH] CLI for Policy Based Hashing #1701
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
Merged
Merged
Changes from 71 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
559d210
Fixed codestyle
vadymhlushko-mlnx e20b2d0
Removed YANG validation from 'config'
vadymhlushko-mlnx 0e44abe
Generated from updated YANG model show CLI for PBH & fixed codestyle
vadymhlushko-mlnx c5fe537
Added generated config CLI for PBH
vadymhlushko-mlnx 77754cf
Fixed codestyle for config
vadymhlushko-mlnx 2d0167f
Added 'pbh' subcommand & removed 'hash-field-list' subcommand
vadymhlushko-mlnx 5a6ea76
Removed leaf-lists CLI commands, added example of validation click op…
vadymhlushko-mlnx f94e0f0
Added new data enums from YANG model
vadymhlushko-mlnx 8dd0e7b
Added show pbh ...
vadymhlushko-mlnx 3261502
Added sceleton for PBH UT
vadymhlushko-mlnx bb0a710
Fixed show pbh table output
vadymhlushko-mlnx 6a0c248
Added 'Symmetric' field to the 'show pbh hash-field' command
vadymhlushko-mlnx 0e20bc0
Fixed 'show pbh hash' output
vadymhlushko-mlnx 466862d
Fixed 'show pbh rule' output
vadymhlushko-mlnx 07000a6
Fixed codestyle for show CLI plugin
vadymhlushko-mlnx 0305909
Added 'show pbh statistics'
vadymhlushko-mlnx 68b07b2
Added 'flow counter' column to 'show pbh rule'
vadymhlushko-mlnx 186ae9b
Added sort, changed symmetric check, removed unused check
vadymhlushko-mlnx 9f2b52f
Added validation for --hash-field-list, --ip-mask
vadymhlushko-mlnx b2b5472
Added is_exist_in_db()
vadymhlushko-mlnx 4dca122
Added is_match, interface_validator
vadymhlushko-mlnx e232188
Fixed codestyle
vadymhlushko-mlnx eff1729
HOT FIX
vadymhlushko-mlnx 096602e
Fixed issue with click callbacks
vadymhlushko-mlnx be744a0
Fixed sort output for show CLI, typo fixes
vadymhlushko-mlnx 3739757
Added few 'hash-field' tests
vadymhlushko-mlnx 4d005d8
Fixed issue with 'config pbh rule update'
vadymhlushko-mlnx cf971b5
HOTFIX for 'config pbh rule update' is_exist_in_db()
vadymhlushko-mlnx e864d12
Added proper description for --ip-mask
vadymhlushko-mlnx 3050212
Added ip_mask & hash-field validation for ADD flow
vadymhlushko-mlnx d97465f
Added tests for 'config pbh hash-field add' flow
vadymhlushko-mlnx 8ae9fbf
Fixed 'hash-field' add/update, added UT
vadymhlushko-mlnx 1648760
Added hash UT, used DB migrator
vadymhlushko-mlnx b0c603e
Added UT for 'pbh table', added UT for 'pbh hash' need to add update …
vadymhlushko-mlnx d547544
Added UT for 'pbh hash update'
vadymhlushko-mlnx b2e8c3f
Added UT for 'pbh rule'
vadymhlushko-mlnx 299f64d
Fixed name of the colums for show, added update UT for pbh table, fix…
vadymhlushko-mlnx c3c802d
Added UT for show, fixed codestyle and errors
vadymhlushko-mlnx b8b06f2
Added UT for 'show pbh statistics'
vadymhlushko-mlnx cb04ffa
Fixed empty lines in 'show pbh statistics'
vadymhlushko-mlnx fdb0f6e
Added descending sort by Priority for 'show pbh rule'
vadymhlushko-mlnx 9ecfd8f
Reworked ip_mask_hash_field_correspondence()
vadymhlushko-mlnx 7dd8a29
Reworked pbh_re_match()
vadymhlushko-mlnx c8ae867
Corrected row names for 'show pbh statistics'
vadymhlushko-mlnx cf1d1fc
Fixed codestyle
vadymhlushko-mlnx a1488c0
Added function description
vadymhlushko-mlnx cfd04d0
Added function description
vadymhlushko-mlnx eeb6052
Changed name of CLI plugins
vadymhlushko-mlnx 7a69c88
Added left alignment for numbers in show CLI group
vadymhlushko-mlnx f448353
Fixed LGTM errors
vadymhlushko-mlnx 071c01c
New version for 'show pbh statistics', UT passed
vadymhlushko-mlnx 010cf67
Added 'sonic-clear pbh'
vadymhlushko-mlnx 3733f0b
Added UT for 'show pbh statistics' & 'sonic-clear pbh'
vadymhlushko-mlnx af3f25e
Codestyle improvement
vadymhlushko-mlnx 3d3d18f
fixed LGTM warnings
vadymhlushko-mlnx a03c002
Added unified format for exit_with_error()
vadymhlushko-mlnx 008eec3
Added exception handling for 'clear' subcommand
vadymhlushko-mlnx 56bb517
Unified click error msg format
vadymhlushko-mlnx c0e423a
Fixed teardown for pbh_test.py
vadymhlushko-mlnx f51982e
Fixed LGTM error
vadymhlushko-mlnx fad30a7
Rework of ip_mask_hash_field_correspondence()
vadymhlushko-mlnx 6682add
Fixed functions name
vadymhlushko-mlnx 6bb079a
Codestyle
vadymhlushko-mlnx fd930ec
Added defines for config module
vadymhlushko-mlnx 01c3cca
Added cleanup of mocked db in UT
vadymhlushko-mlnx c22ce2a
Codestyle and other improvement
vadymhlushko-mlnx 048774a
improvements for show plugin
vadymhlushko-mlnx 88992c6
Fix for regexp & added --ether-type -> need to fix UT
vadymhlushko-mlnx b2bad71
Fixed value for pbh regexp in UT
vadymhlushko-mlnx c227a73
Fixed mock db & UT for show cli
vadymhlushko-mlnx e7970a8
Rework of inject_symmetric_field()
vadymhlushko-mlnx 7f208b2
Added check for --flow-counter when displaing pbh statistics
vadymhlushko-mlnx dd35eec
Added new UT for pbh statistics
vadymhlushko-mlnx 438cea6
Added check for read pbh counters
vadymhlushko-mlnx ef680de
Reworked sonic-clear cli group for pbh
vadymhlushko-mlnx 9471b11
Fixed help messages for config cli according to the new YANG model
vadymhlushko-mlnx 0d28690
[pbh]: Add CLI UM.
nazariig a4709f8
Reworked clear after of mocked DB for UT, codestyle, changes some UT …
vadymhlushko-mlnx a6fae69
Added PBH CLI user manual
vadymhlushko-mlnx 6a19368
Fixed description
vadymhlushko-mlnx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.