I have created a basic_types.yang file with typedef enum in it and I am using it in multiple files. The protos generated using ygot. However, when I compile code it throws errors saying enum package is not defined.
com/test/core/datamodel/protos/common/common.proto:121:3: "com.test.core.datamodel.protos.common.enums.SwitchState" is not defined.
Hi All,
I have created a basic_types.yang file with typedef enum in it and I am using it in multiple files. The protos generated using ygot. However, when I compile code it throws errors saying enum package is not defined.
com/test/core/datamodel/protos/common/common.proto:121:3: "com.test.core.datamodel.protos.common.enums.SwitchState" is not defined.
local enums doesn't have this issue.