Adding of specific flow validation in of plugin 93/3493/4
authorAlessandro Boch <aboch@cisco.com>
Thu, 5 Dec 2013 09:25:26 +0000 (01:25 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 9 Dec 2013 23:58:11 +0000 (23:58 +0000)
commitf844efbb0b6fec5c32106a4573e0fb10bb2eedee
treeeecda6c3e018e91582e2ae1f689254f0b8085c5a
parent71df6f6d7770d1c4fda8dd4989ca251860fca853
Adding of specific flow validation in of plugin

- An of 1.0 switch silently accepts a flowmod which
  match does not have proper hierarchy of fields set.
  It installs the flow discarding the incorrect fields.
  This would cause inconsistency between flows in hw
  and flows in sw. The application needs to be notified
  that the flow would not be accepted as is by the openflow
  switch.

Change-Id: If70a642f2835147856d3517ad82faef3e9bb1e2c
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowProgrammerService.java