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

[watermarkstat] Fix CLI script for unconfigured PG counters #2239

Merged
merged 1 commit into from
Jul 28, 2022

Commits on Jun 28, 2022

  1. [watermarkstat] Fix CLI script.

        commit 409da5f
        Author: Shlomi Bitton <shlomibi@nvidia.com>
        Date:   Tue Jun 14 16:17:20 2022 +0000
    
        Fix watermarkstat CLI script.
        Since PG/Queue counters are created only if they are configured in the switch, it is not enough to relay only on the first entry in the DB.
        We need to go over all configured counters, check what is the max configured, and build the table accordingly.
    
        Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    
    Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
    nazariig committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    f5749d1 View commit details
    Browse the repository at this point in the history