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

[Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 #141

Merged
merged 12 commits into from
Jul 11, 2020

Commits on Jul 10, 2020

  1. [InterfacesMIB]: Fix counters in InterfacesMIB for

    multi-asic platforms. In multi-asic platforms SAI oid
    is not unique across namespace/asic. Use interface index
    as the key instead of using SAI oid.
    
    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    815fc67 View commit details
    Browse the repository at this point in the history
  2. [Namespace]: Remove key exists check in dbs_get_all

    to reduce time taken.
    
    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    (cherry picked from commit 16f36d8)
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    216ef86 View commit details
    Browse the repository at this point in the history
  3. Change the key used in if_id_map to support multi-asic

    platform.
    
    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    7baa245 View commit details
    Browse the repository at this point in the history
  4. Fix interface counters only for rfc2863.

    Do not run namespace unit-test for MIBs using SAI id as key.
    
    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    964a353 View commit details
    Browse the repository at this point in the history
  5. Fix getting interface index in InterfacesMIB

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    f8c6ade View commit details
    Browse the repository at this point in the history
  6. Remove debug print.

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    6772fa1 View commit details
    Browse the repository at this point in the history
  7. Remove db connect that is not required.

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    14353e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

  1. Modify as per review comments.

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 11, 2020
    Configuration menu
    Copy the full SHA
    5f49791 View commit details
    Browse the repository at this point in the history
  2. Fix as per review comment.

    Add a new dict of namespace:db connector for easier access.
    
    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 11, 2020
    Configuration menu
    Copy the full SHA
    4ed96fd View commit details
    Browse the repository at this point in the history
  3. Fix as per review comment.

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 11, 2020
    Configuration menu
    Copy the full SHA
    b91863b View commit details
    Browse the repository at this point in the history
  4. Modify based on review comment.

    Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
    SuvarnaMeenakshi committed Jul 11, 2020
    Configuration menu
    Copy the full SHA
    ff5d7b8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a54bdb View commit details
    Browse the repository at this point in the history