Working with the set of IEEE 802 YANG modules currently in github as of today (10/30/2018)
The ieee802-ethernet-link-oam.yang errors that had been flagged during Yumadump-pro validation were due to a defect in the validator. This has been corrected in Yumadump-pro. (Mandatory objects are allowed in a conditional augment statement.)
The ieee802-dot1ab-lldp.yang module is flagged during yanglint validation:
warn: Schema node "type" not found (deref(.)/../type) with context node "/ieee802-dot1ab-lldp:lldp/port/name". warn: Schema node "type" not found (deref(.)/../type = 'iana-if-type:ethernetCsmacd' or deref(.)/../type) with context node "/ieee802-dot1ab-lldp:lldp/port/name".
If we could review the following change, which appears to resolve the validation warning. However, I would like confirmation that the change will follow the intent of the model as designed. FYI- I did not see any other yang module under <github>/Yangmodels/standard/ that uses the deref() function.