You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
container interfaces {
description
"Interface parameters.";
list interface {
key "name";
...
container interfaces-state {
config false;
status deprecated;
description
"Data nodes for the operational state of interfaces.";
list interface {
key "name";
status deprecated;
The text was updated successfully, but these errors were encountered:
Issue description
proto_generator incorrectly processes IETF interfaces YANG model and generates duplicate InterfaceKey message at top-level ietf_interfaces.proto.
Steps to reproduce:
Launch proto_generator as follows:
proto_generator -output_dir=./proto -package_hierarchy=true [email protected] [email protected]
Obtain unexpected duplicate InterfaceKey message in generation result in ./proto/openconfig/ietf_interfaces/ietf_interfaces.proto
Expected result
Expected result is that InterfaceKey is not duplicated.
proto_generator works as expected with nested messages (without -package_hierarchy=true).
Supplementary information
Contents of [email protected]
The text was updated successfully, but these errors were encountered: