Is there a way to augment an enumeration in another module in YANG ? There is no way, in my case, to put all the values in the first module where the enumeration was defined.
Knowing that the enumeration is inside a grouping as follows:
grouping mygrouping {
...
container mycontainer {
...
list mylist {
leaf type {
type enumeration {
enum type1
enum type2
...
enum typen
}
}
}
}
}
The grouping is used in the new module, but I couldn’t augment the leaf type to add new types in the enumeration.