Hello everyone,
I am importing few groupings from a RFC yang data model into my model.
I want to expose only certain attributes from the groupings of an imported RFC yang data model. How can I achieve this requirement?
Eg
/////Model to be imported/////
module imported-model {
grouping first-grouping {
container AA {
leaf AAA { }
leaf BBB { }
}
leaf CCC { }
leaf DDD { }
}
}
///Model which is importing grouping from other model/////
module importing-model {
container A {
uses imported-model:first-grouping;
}
}
I want to expose only leaf BBB and leaf DDD from the imported grouping, how can this be done?
Suggestions are welcome.
Thanks in advance,
Manush