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

Not generating flowmods for OpenFlow 1.3 #80

Open
basus opened this issue Jan 21, 2014 · 11 comments
Open

Not generating flowmods for OpenFlow 1.3 #80

basus opened this issue Jan 21, 2014 · 11 comments
Labels

Comments

@basus
Copy link
Member

basus commented Jan 21, 2014

I'm trying to use ocaml-openflow with some hardware switches running openvswitch and OpenFlow 1.3. The switches connect properly but it seems like the SDN.setup_flow_table function does not correctly send out flow mods. I've looked at the links with Wireshark and I can see regular Echo Request and Reply messages, but no flow mods. It also seems like the setup_flow_table function does not return.

@mcanini
Copy link
Contributor

mcanini commented Jan 21, 2014

Hmmm... what version of ocaml-openflow are you using?

Do you invoke SDN.setup_flow_table directly?

@reitblatt
Copy link
Collaborator

Yeah. He's also using lwt.

@mcanini
Copy link
Contributor

mcanini commented Jan 21, 2014

@basus can you try using the latest from master? There were a couple of issues with setup_flow_table that got fixed after we switched to async.

@reitblatt
Copy link
Collaborator

But those would only have gotten fixed in async, right?

@basus
Copy link
Member Author

basus commented Jan 21, 2014

I'm using the current HEAD of the master branch. I am generating my own flow tables. I'm trying to narrow down the problem now.

@mcanini
Copy link
Contributor

mcanini commented Jan 21, 2014

@basus: how does your flow table look like?

perhaps we can move the discussion to IRC?

@basus
Copy link
Member Author

basus commented Jan 21, 2014

Having trouble getting to IRC and my battery is dying. I've narrowed down the problem to the SDN_OpenFlow0x04.ml file. The Common module has a from_action function that seems to not return when given Enqueue actions are given.

@jnfoster
Copy link
Member

Hi Basu,

Some questions:

  • The MMFS controller was working... why are we changing things now?
  • I was going to ask why we need 1.3, but I see that's because Robert
    updated the firmware.
  • Is your controller using Lwt or Async?

-N

On Tue, Jan 21, 2014 at 4:08 PM, Shrutarshi Basu
notifications@github.comwrote:

Having trouble getting to IRC and my battery is dying. I've narrowed down
the problem to the SDN_OpenFlow0x04.ml file. The Common module has a
from_action function that seems to not return when given Enqueue actions.


Reply to this email directly or view it on GitHubhttps://github.com//issues/80#issuecomment-32963604
.

@seliopou
Copy link
Collaborator

seliopou commented Feb 3, 2014

From the comments, this seems like it may be related to #32 and #52.

@basus, is this still an issue for you?

@basus
Copy link
Member Author

basus commented Feb 3, 2014

Yes, the core issue is that the 0x04 code does not seem to have support for dealing with queues at all.

@jnfoster
Copy link
Member

jnfoster commented Feb 4, 2014

This is just one new action though, right? If so, should be easy to add.

-N

On Mon, Feb 3, 2014 at 1:14 PM, Shrutarshi Basu notifications@github.comwrote:

Yes, the core issue is that the 0x04 code does not seem to have support
for dealing with queues at all.

Reply to this email directly or view it on GitHubhttps://github.com//issues/80#issuecomment-33982632
.

@seliopou seliopou added this to the 0.4.0 Release milestone Feb 5, 2014
@seliopou seliopou added the bug label Feb 5, 2014
@seliopou seliopou removed this from the 0.3.0 Release milestone Mar 18, 2014
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

5 participants