[NETCONF-1004] Use a type-safe capture for NETCONF session ID Created: 28/Apr/23 Updated: 30/Apr/23 Resolved: 30/Apr/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
NETCONF session ID is a well-defined entity, modeled by both rfc6241.xsd and ietf-netconf.yang: it maps to a non-zero Uint32, whereas we use either 'long' or a plain String at different layers. Use the RFC6241 definition for type-safe encapulation of this particular type and use it throughout the project. |
| Comments |
| Comment by Robert Varga [ 30/Apr/23 ] |
|
Fixed via https://git.opendaylight.org/gerrit/c/netconf/+/105746 |