Open rdpravin1895 opened 6 years ago
I believe the error is reported because the component augment is conditional but the interfaces augment is not yet -- the when
statement for the augment of "/oc-if:interfaces/oc-if:interface/oc-if:state" is still TODO. The compiler tries to add the physical-channel list for a non-TRANSCEIVER component and can't.
Ok. What changes have to be made so that the yang compiles successfully? Since the when statement is TODO, do I have to define them manually? Could you help me with that?
This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.
Fixed by commit da9a74575fc48be24f23d6018c5efabd9896ef93
I am using confdc to compile the openconfig yangs. When trying to compile the openconfig-platform-transceiver yang, I get the following error:
The line corresponding to the error is:
There is a container called 'transceiver' in the openconfig-platform-transceiver yang, but it is present inside the grouping 'port-transceiver-top'.
This grouping is used in another augment statement.
How to point to a leaf inside a grouping that is used in an augment statement? Is this the reason why the error is thrown?