[CONTROLLER-584] Restconf ignores config attributes of type "empty" Created: 27/Jun/14 Updated: 25/Jul/23 Resolved: 30/Jun/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ashwin Pankaj | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1250 |
| Description |
|
If my yang model defines a config container as follows - container blah { } and I try to set it using the following XML <blah> Restconf ignores to set the "flag" field. |
| Comments |
| Comment by Jozef Gloncak [ 27/Jun/14 ] |
|
patch set uploaded If normalized node for leaf is built there was check that null has to be different from null value. For leaf of empty type the value is null. This check was removed. |