【发布时间】:2021-02-04 10:09:54
【问题描述】:
假设我有两个模块,我想用新的叶子扩展一个列表。
module A {
list deviceList {
key name;
leaf name{
}
leaf hostname{
}
}
}
我想将它扩充到另一片叶子
module B {
list generalInfo{
key customerName;
leaf customerName{
type string;
}
augment moduleA:deviceList {
leaf ipAddress{
}
}
}
我已经使用分组、容器和列表来完成它,但这完全改变了我们现有的结构,如果可能的话,我想省略容器和分组。
【问题讨论】:
标签: ietf-netmod-yang