[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 |
||
| Issue Links: |
|
||||||||
| 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/
https://git.opendaylight.org/gerrit/#/c/6250/
|