【发布时间】:2016-07-28 17:31:56
【问题描述】:
我很清楚如何引用list 项目(restconf 草稿),但不清楚如何引用特定的leaf-list entry。
例如,给定以下定义:
module x {
container y {
leaf-list z;
}
}
and if I have the following data in the system
<y>
<z>a</z>
<z>b</z>
<z>d</z>
</y>
如何在第三个位置插入c?
Restconf 具有获取资源 uri 的“插入”和“点”。 但是,识别叶列表项的资源 uri 是什么? 如果我想参考第二个条目,以下是否有效?
/y/z=b
【问题讨论】:
标签: ietf-netmod-yang ietf-restconf