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

To Be Documented: SDN Controller's knowledge of flows and its control of various counters #43

Open
lisahnguyen opened this issue Feb 2, 2022 · 4 comments

Comments

@lisahnguyen
Copy link

Based on the discussion in Community meeting today, please help confirm/clarify the following understanding:

  1. SDN Controller does not need to know about the dynamically learned flows. In other words, SDN Controller won't poll the switch for the flows or expects the switch to notify it when a new flow is learned or when an existing flow is deleted.
  2. SDN Controller won't poll the switch for per flow statistics or expect the switch to stream per flow statistics to it periodically or when the flow is deleted
  3. SDN Controller will explicitly create counters for specific entities. We discuss counter per ENI and per routing entry in today's meeting. I also see counters being associated with CA to PA mapping and ACL in P4 model. Are there any other counters the SDN Controller will create?
@chrispsommers
Copy link
Collaborator

chrispsommers commented Feb 2, 2022

@lisahnguyen to your point # 3 above, I would hope the P4 model would declare all counters. If they are associated with table entries which the SDN controller creates, then the counters would be created "automatically."

@lisahnguyen
Copy link
Author

@chrispsommers Thanks for the comment.
Regarding the P4 model, I am under the impression that it is a WIP model (please correct me if my understanding is not correct). Hence, I am asking the question to see what other counters will be needed.

@chrispsommers
Copy link
Collaborator

@lisahnguyen Yes it is WIP, it is good that you bring all these points up early in the process. It is a community effort and the more eyes on it the better.

@KrisNey-MSFT
Copy link
Collaborator

KrisNey-MSFT commented Feb 9, 2022

Confirming that this is not the requirement, nor the statistics. Per Michal - We do not need to know for every single flow. However some statistic per flow (such as metering) we want to query statistics per bucket (not flow specific). Or scenarios where customers can do random sampling (per ENI). Dump the card (flows) for the customer to sample. Not close tracking/reporting on every single flow to the controller. More documentation will be forthcoming as we continue the project.

@KrisNey-MSFT KrisNey-MSFT changed the title SDN Controller's knowledge of flows and its control of various counters SDN Controller's knowledge of flows and its control of various counters - Document the Counters Feb 10, 2022
@KrisNey-MSFT KrisNey-MSFT changed the title SDN Controller's knowledge of flows and its control of various counters - Document the Counters Document: SDN Controller's knowledge of flows and its control of various counters Feb 10, 2022
@KrisNey-MSFT KrisNey-MSFT changed the title Document: SDN Controller's knowledge of flows and its control of various counters To Be Documented: SDN Controller's knowledge of flows and its control of various counters Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants