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

Add LocalSecGrpClassifierCounter #581

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Add LocalSecGrpClassifierCounter #581

merged 1 commit into from
Aug 8, 2024

Commits on Aug 1, 2024

  1. Add LocalSecGrpClassifierCounter

    - added as an extension of SecGrpClassifierCounter
    - added make checks as a copy of SecGrpStatsManager_test.cpp,
      replacing all the classifiers with Local, and convert the
      called functions to use template arguments.
    - PolicyStatsManager also listens to LocalL24Classifiers
    - The make checks cover the prometheus tests
    - this would also result in pushing the LocalSecGrpClassifierCounter
      to the leaf, should we decide to push the local secgrps to the
      leaf, we can strip the Local before sending it.
    
    The following is the mapping
    L24Classifier <Contract> L24ClassifierCounter
    L24Classifier <SecGroup> SecGrpClassifierCounter
    LocalL24Classifier <LocalSecGroup> LocalSecGrpClassifierCounter
    
    Signed-off-by: Madhu Challa <challa@gmail.com>
    mchalla committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4b0b5d1 View commit details
    Browse the repository at this point in the history