[CONTROLLER-475] Non-configuration items in the model appear in the config namespace Created: 14/May/14 Updated: 19/Jan/16 Resolved: 19/Jan/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Rob Adams | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Issue Links: |
|
||||||||||||||||||||
| External issue ID: | 1014 | ||||||||||||||||||||
| Priority: | High | ||||||||||||||||||||
| Description |
|
If items aren't listed with config: true then they should not appear in the documentation in the config namespace nor should they be accessible in the config namespace. $ curl -X PUT -H 'Content-type: application/yang.data+json' -d '{"toaster": {"toasterStatus": "Down"}}' http://localhost:8080/restconf/config/toaster:toaster $ curl http://localhost:8080/restconf/config/toaster:toaster } |
| Comments |
| Comment by Tony Tkacik [ 19/May/14 ] |
|
Increased importance, since this may confuse end-users. |
| Comment by Devin Avery [ 24/Jun/14 ] |
|
Changing the filed against to MD-SAL as this is actually a problem with the config data-store. We need to enforce this at the config datastore level. There is plenty of discussion on the MD-SAL call today about how to implement. Let continue this discussion here and on mailing lists. |
| Comment by Wojciech Dec [ 25/Jun/14 ] |
|
I would argue that this is actually not a bug: http://tools.ietf.org/html/rfc6020#section-7.19.1 states If "config" is not specified, the default is the same as the parent |
| Comment by Wojciech Dec [ 26/Jun/14 ] |
|
And... If the top node does not specify a "config" statement, the default is |
| Comment by Rob Adams [ 26/Jun/14 ] |
|
The bug is that items are either operational or config; they are not both. |
| Comment by Jan Hajnar [ 20/May/15 ] |
|
yangtools patch: |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
This fell through the cracks of Lithium, scheduling for follow-up. |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
Be: https://git.opendaylight.org/gerrit/29645 for CDS Still needs the final Shard instantiation bit. |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
Be: https://git.opendaylight.org/gerrit/29668 |
| Comment by Robert Varga [ 10/Dec/15 ] |