Subject: [netmod] error: "Data model 'XXX' not found" during yang validation.

From: Dmytro Shytyi <[email-masked]>
Date: Mon, 18 May 2020 17:13:42 +0200

Hello netmod participants!

How we should address an import of modules produced by non IETF community? Was it already discussed? (If yes, I'm sorry to dublicate... Could you please send me some links?)

In the  uCPE draft https://datatracker.ietf.org/doc/draft-shytyi-opsawg-vysm/?include_text=1 we are reffering/including multiple different RFCs and drafts produced by IETF community such as:

   o  ietf-interfaces
   o  ietf-ip
   o  ietf-logical-network-element
   o  ietf-network
   o  ietf-network-instance
   o  ietf-ietf-network-topology
   o  ietf-routing-types
   o  ietf-te-topology
   o  ietf-te-topology-sf
   o  ietf-te-types
   o  ietf-yang-schema-mount

And everything went good until we imported the ieee-dot1Q-types module... (to support VLANs on the NIs)

yanglint SO 1.6.7: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
err : Data model "ieee-dot1Q-types" not found.
err : Importing "ieee-dot1Q-types" module into "ietf-ucpe-ni-properties" failed.

Thank you!

______________
Dmytro SHYTYI