【发布时间】:2017-01-20 15:44:41
【问题描述】:
在下面的 sn-p 中使用 .. 和 current() 是否正确? 意思是,有时 current() 和 ../ 是等价的?
container c {
leaf f1 {
type string;
}
leaf f2 {
type string;
when "../f1 = 'abc'";
}
leaf f3 {
type string;
when "current()/../f1 = 'abc'";
}
}
【问题讨论】:
标签: ietf-netmod-yang