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

Table usage #310

Closed
KitL opened this issue Dec 8, 2016 · 5 comments
Closed

Table usage #310

KitL opened this issue Dec 8, 2016 · 5 comments
Labels

Comments

@KitL
Copy link
Contributor

KitL commented Dec 8, 2016

I'm looking at modifying the pipeline around ACLs, and maybe a couple of other things. Which has raised the question:

To what extent should we avoid using more and more openflow tables?

So should we be trying to use as few as possible, even when that isnt particularly logical, for example with the vlan table we are also filtering out BPDUs. I would prefer to have an initial filtering table, to keep things logically separated. But if this makes things significantly harder for hardware vendors, or would cause a considerable decrease in performance with ovs I think we probably ought to compromise (as these changes are somewhat cosmetic).

I could also see an upside to this by reducing the number of fields certain tables will need to match on.

So is anyone aware of issues with switch implementations when using more tables? (and by more tables, I am talking about in the order of maybe 20 at the absolute most).

@KitL KitL added the question label Dec 8, 2016
@anarkiwi
Copy link
Member

anarkiwi commented Dec 9, 2016 via email

@KitL
Copy link
Contributor Author

KitL commented Dec 9, 2016

Cool, that's basically what Joe said for OVS as well.

What I am thinking is about moving the port acls before vlan assignment. The main motivation is so that mirroring will happen before the switch starts modifying packets. So to do that we kinda want some other table before the port_acl table for when there are no acls on the port. Then after the vlan assignment we have the vlan_acl table.

So the first table would be filtering, port mirroring and port_acl bypass. Second table is port acls, third table is vlan assignment, 4th table is vlan acls, 5th is termination mac addresses, 6th is eth src, 7th and 8th are FIBs, 9th is eth dst, 10th is flooding.

@anarkiwi
Copy link
Member

anarkiwi commented Dec 9, 2016 via email

@gizmoguy
Copy link
Member

gizmoguy commented Jan 5, 2017

With PR #333 merged in are we happy to close out this issue?

@anarkiwi
Copy link
Member

anarkiwi commented Jan 5, 2017 via email

@gizmoguy gizmoguy closed this as completed Jan 5, 2017
anarkiwi added a commit that referenced this issue Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants