[OPNFLWPLUG-111] Have Typed ErrorNotification for different Error notifications from switch Created: 08/Apr/14  Updated: 27/Sep/21  Resolved: 09/Jun/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Kamal Rameshan Assignee: Kamal Rameshan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Issue Links:
Duplicate
is duplicated by OPNFLWPLUG-105 create md-sal models / listener for a... Resolved

 Description   

Currently all errors received from the switch, are mapped to a single type NodeErrorNotification , regardless of the type and code.

It would be helpful for SAL and services to have the different types of error messages mapped via specific class generalized via NodeError.

Would also help in giving useful log messages and in debugging issues in production.



 Comments   
Comment by Michal Rehak [ 14/Apr/14 ]

Initial proposal could consist of one errorNotification type for flow related errors (already present) and all the other error messages might end up in second errorNotification type (to be modeled).

As soon as there is usecase, those cumulated error messages could be further modeled and distinguished by type (and eventually listened to by different listener).

Comment by Michal Rehak [ 23/Apr/14 ]

https://git.opendaylight.org/gerrit/#/c/6249/

  • merged

https://git.opendaylight.org/gerrit/#/c/6250/

  • merged
Generated at Wed Feb 07 20:31:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.