On Sun, Nov 20, 2011 at 4:10 PM, Leonardo Linguaglossa
<[email protected]> wrote:
> Hi all,
> I am doing some practice with OpenFlow, and according to what I
> understood, there can be different flow tables to work with.
> When I execute the command: dpctl dump-tables switch, it says that the
> tables are two: 0-hash, and 1-classifier.
>
> So I have some questions:
> 1- Is there a way to add a new table manually? And can I remove the
> existing ones?

Not really.  In a software switch, a table is a logical concept, so
you could in theory add one on the fly, but I'm not aware of any
implementations that allow this.  OpenVSwitch (openvswitch.org) will
allow you to add dynamically multiple logical switches which is sort
of what you're asking.

For hardware switches, the number of tables is a hardware feature, so
it's not typically modifiable at run time.

> 2- If yes, I have a second problem about the matching: I read the
> OpenFlow specification v1.1.0, and watching the Figure2 and the
> Figure3 I would like to know if it is possible for example after a
> matching of an entry to "skip" all the following tables. I mean, if I
> find a matching in the table n, can I skip directly to the table m?

This is an unfortunate short coming of OF1.1 - there is no way to ask
for the set of allowable table transitions because it's typically
dependent on lots of additional factors such as the actual packet,
what was matched in table n, etc.  There are a lot of ways that people
are discussing to address this issue, but the bottom line is it's
actually a lot more complicated then an NxM matrix of allowable table
jumps.

Hope this helps,

- Rob
.
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to