-
Notifications
You must be signed in to change notification settings - Fork 11
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
Core ignores CallConditions when using OF1.3 #141
Comments
Hi @doriguzzi , I'm trying to figure it out why this could happen... but I cannot see it. The composition file looks correct. One minor question, is |
Hi Elisa,
Thanks for the support. |
Yes, @doriguzzi , you're right. In fact I remember now that I used the same composition file for both Brussels demos, and in one I used OF1.0 and in the other OF1.3. The file is: https://github.com/fp7-netide/Engine/blob/master/core/specification/DpidPartitionABCW.xml Could it be a bug related with the datapath numbers? Have you tried using a different one from 11? (But this would be weird anyway, as I don't think the core checks anything in relation with the OF version when loading the composition file). Another possibility could be related with the default rules installed by ONOS at startup. Maybe the ONOS provider for OF1.3 is overriding the shim behaviour by installing some rule at startup with a higher priority that bypasses it, or something like that... Are you sure both applications are receiving the messages directly from the core (maybe the ONOS app is bypassing it and thus "the behaviour")? We can check this via Wireshark. I can help with this if you have some traces. Also, does this happen for both apps? I mean, for datapath 10 both receive the PacketIns, and for datapath 11 also both receive them? This is also a key. If it just happens with datapath 10, it could be something related with ONOS, but in the rest of the cases (if it happens only with datapath 11 or with both datapaths), then it could be related with the core. |
I cannot reproduce this. I might more information to reproduce this. |
I've done some experiments with ryu shim and backend and the java core. When I use the simple_switch (OF10) application, everything goes right:
when I use simple_switch_13 (OF13), this is the result (the third column indicates the DPID):
|
The composition specs I used are:
and
Nothing changes if I remove the composition part of the specification |
Hi @ElisaRojas ,
If I remove it, nothing changes
Well, it works with the same numbers with OF10...
As I wrote in the post above, I tried with Ryu as a server controller, but I obtain the same result.
In the case, when I use just Ryu as client and server, I do not have any app running on the server, just two applications on the client
Yes, as you can see in the log above. Thanks again for the support |
Just tested the same configuration with the Python Core, and in this case it works properly. |
@doriguzzi do you have the version of the backend that shows the packetIns in this form
somewhere available for me? So I can a look what happens for me? |
I just commited a fix for this (or that might fix this) |
Hi,
I'm trying to port my demo to OF1.3. The first is step to replicate the same implementation done for OF1.0 which uses call conditions based on DPIDs.
However, if I switch to OF1.3 using the same Composition Spec (see below), the CallCondition is ignored as the two modules receive all the packetins.
Any idea?
`
The text was updated successfully, but these errors were encountered: