On Mar 4, 2013, at 12:22 PM, Ambika Mohanty (ammohant) wrote:
> Hi Team,
> I have a question on how the open flow manages the error cases. This is
> in case the network layer discards the configuration or hits an error
> condition. How is the admin/user notified about this ? For example, let us
> say that my Network device running control plane is “CP” and data plane is
> “DP”.
>
> CP(network device 1) -> DP(network device 2)
>
> User configures the DP from CP, but for some reason the DP could not apply
> it on to itself.
>
> Question – Does open flow provide an infrastructure to take care of these
> cases ?
hi Ambika,
the switch ("network device 2" in your example) is expected to send an error
message to the controller if it hits an error condition or otherwise cannot
handle a message. OpenFlow uses TCP for communication, so messages aren't
discarded by the communication layer. example error messages include
OFPET_BAD_REQUEST, OFPET_BAD_ACTION, and many others defined in the protocol
specs. they also have error message codes which can indicate why the error
message was generated (eg, exhausted rule space)
you can find versions of the OpenFlow protocol specs here:
https://www.opennetworking.org/standards/openflow-switch
as OpenFlow is just a protocol, it does not provide any "infrastructure" to
notify the admin/user. a well-designed OpenFlow controller should handle the
error messages in the OpenFlow protocol and, if appropriate, the controller
could notify the admin/user as you describe.
cheers,
Andrew
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss