netconf-wg / restconf

9 stars 4 forks source link

terminal nodes as resources #17

Closed abierman closed 9 years ago

abierman commented 9 years ago

The term 'data resource' in sec. 1.3.4 does not include leaf-list as a node that can be a data resource. The draft is mostly silent about the processing of terminal nodes as data resources (except patching a leaf). Details and examples for leaf-list and anyxml should be added.

Proposed solution:

--> leaf-list as data resource rules TBD --> anyxml edited as a whole. Nested data nodes in anyxml mare still part of the anyxml resource, not a new sub-resource

abierman commented 9 years ago

from -07:

3.5. Data Resource

A data resource represents a YANG data node that is a descendant node of a datastore resource. Each YANG-defined data node can be uniquely targeted by the request-line of an HTTP operation. Containers, leafs, list entries and anyxml nodes are data resources.

A leaf-list is not listed as a data resource. Is this an omission or intentional?

abierman commented 9 years ago

changed from verify to review by mistake

abierman commented 9 years ago

Issue has been stable for 2 releases.