【发布时间】:2019-08-12 10:00:46
【问题描述】:
我有一个像 -
这样的分组 grouping threshold-value-grouping {
container threshold-value {
description "Threshold value";
leaf upper-limit-val {
description
"Upper limit";
type uint32 {
range "1..60000";
}
}
leaf lower-limit-val {
description
"Lower limit";
type uint32 {
range "1..60000";
}
}
}
}
我想在多个地方重用这个分组。 但是在不同的地方使用时,叶子的范围会有所不同。
所以我想知道如何使用 refine 语句来实现? 或者有没有更好的方法来解决这个问题?
【问题讨论】:
标签: ietf-netmod-yang ietf-netconf