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

Review the logic for add/delete flows #4

Open
ajoaoff opened this issue Jun 7, 2021 · 0 comments
Open

Review the logic for add/delete flows #4

ajoaoff opened this issue Jun 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 7, 2021

Original issue opened by @viniarck at kytos#58.

Currently, if the dpid is None, it's installing flows in all switches: https://github.com/kytos/flow_manager/blob/master/main.py#L52-L59

The same logic is also being applied for the delete method. So, this issue is to review this logic and assess a better one. Maybe, a new method which could iterate over all switches, but stop relying on this 'None' to consider the whole list.

@ajoaoff ajoaoff added enhancement New feature or request pri:normal labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants