@KK
It turns out I made a wrong assumption. I thought that when an ofp_flow_mod (OFPFC_ADD) message was sent, it returns a reply with the same xid. After looking at the OF protocol, it looks like a message is only sent back if an error occurred.

@Rob
The cookie isn't quite what I'm looking for, I'm not sure what it might be used for in the future...

Basically, I'm looking for a way to validate that adding a flow worked. Consider the following cenario:

There are two components: A & B

1. A sends a request to add a flow.
2. B sends a request to add the exact same flow.
3. B's gets added first and is successful.
4. A received a flow mod event and thinks its flow was added.
5. A's flow gets added. It conflicts with B's flow and generates an error.
6. A sees an error for his exact flow and doesn't know if it's flow was added or another component's.

-Derek

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to