Re: [netmod] ID submission YANG validation errors?

2020-01-23 Thread Benoit Claise

Fixed, thanks to Miroslav, in cc.
Yangvalidator is working now, and correctly saying that there are no 
errors.
Datatracker is still not using the yangvalidator API to validate modules 
and therefore it is saying that there are errors.

This task is on our todo list.

If you find more issues like the one below, open an issue:
https://github.com/YangCatalog
(or https://github.com/YangCatalog/bottle-yang-extractor-validator)

Regards, Benoit

Also, the YANG validator tool is broken - 
https://www.yangcatalog.org/yangvalidator/

On 1/22/20, 9:41 AM, "netmod on behalf of Christian Hopps" 
 wrote:

 
 I've just submitted a YANG module draft and received what i think to be a bogus validation error:
 
   https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/
 
 It's saying it can't find the ietf-isis module. Has anyone else experienced this issue with referencing draft modules? It seems broken that we can't refer to works-in-progress, inside our works-in-progress.
 
 Thanks,

 Chris.
 


___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


Re: [netmod] ID submission YANG validation errors?

2020-01-22 Thread Christian Hopps
I've sent some mail previously to random lists (codesprint, xml2rfc..) and 
Henrik, but I've not heard back. Does anyone know what the official path to 
reporting problems with the yang validation setup is?

Thanks,
Chris.

> On Jan 22, 2020, at 5:29 PM, Mahesh Jethanandani  
> wrote:
> 
> 
> 
>> On Jan 22, 2020, at 6:40 AM, Christian Hopps  wrote:
>> 
>> 
>> I've just submitted a YANG module draft and received what i think to be a 
>> bogus validation error:
>> 
>> https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/
>> 
>> It's saying it can't find the ietf-isis module. Has anyone else experienced 
>> this issue with referencing draft modules? It seems broken that we can't 
>> refer to works-in-progress, inside our works-in-progress.
> 
> Yes, I experience this error all the time. In this case I am referencing 
> published IEEE models in YangModels GitHub location. If my local validation 
> passes, I just ignore these errors:
> 
> yanglint 0.14.80: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} 
> {model} -i:
> err : Data model "ieee802-dot1q-types" not found.
> err : Importing "ieee802-dot1q-types" module into "ietf-if-l3-vlan" failed.
> err : Module "ietf-if-l3-vlan" parsing failed.
> err : Importing "ietf-if-l3-vlan" module into "ietf-routing-policy" failed.
> err : Module "ietf-routing-policy" parsing failed.
> err : Importing "ietf-routing-policy" module into "ietf-bgp" failed.
> err : Module "ietf-bgp" parsing failed.
> 
> 
>> 
>> Thanks,
>> Chris.
>> ___
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> 
> Mahesh Jethanandani
> mjethanand...@gmail.com
> 
> 
> 

___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


Re: [netmod] ID submission YANG validation errors?

2020-01-22 Thread Mahesh Jethanandani


> On Jan 22, 2020, at 6:40 AM, Christian Hopps  wrote:
> 
> 
> I've just submitted a YANG module draft and received what i think to be a 
> bogus validation error:
> 
> https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/
> 
> It's saying it can't find the ietf-isis module. Has anyone else experienced 
> this issue with referencing draft modules? It seems broken that we can't 
> refer to works-in-progress, inside our works-in-progress.

Yes, I experience this error all the time. In this case I am referencing 
published IEEE models in YangModels GitHub location. If my local validation 
passes, I just ignore these errors:

yanglint 0.14.80: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} 
{model} -i:
err : Data model "ieee802-dot1q-types" not found.
err : Importing "ieee802-dot1q-types" module into "ietf-if-l3-vlan" failed.
err : Module "ietf-if-l3-vlan" parsing failed.
err : Importing "ietf-if-l3-vlan" module into "ietf-routing-policy" failed.
err : Module "ietf-routing-policy" parsing failed.
err : Importing "ietf-routing-policy" module into "ietf-bgp" failed.
err : Module "ietf-bgp" parsing failed.

> 
> Thanks,
> Chris.
> ___
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

Mahesh Jethanandani
mjethanand...@gmail.com



___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


Re: [netmod] ID submission YANG validation errors?

2020-01-22 Thread Acee Lindem (acee)
Also, the YANG validator tool is broken - 
https://www.yangcatalog.org/yangvalidator/

On 1/22/20, 9:41 AM, "netmod on behalf of Christian Hopps" 
 wrote:


I've just submitted a YANG module draft and received what i think to be a 
bogus validation error:

  https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/

It's saying it can't find the ietf-isis module. Has anyone else experienced 
this issue with referencing draft modules? It seems broken that we can't refer 
to works-in-progress, inside our works-in-progress.

Thanks,
Chris.


___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


[netmod] ID submission YANG validation errors?

2020-01-22 Thread Christian Hopps


I've just submitted a YANG module draft and received what i think to be a bogus 
validation error:

 https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/

It's saying it can't find the ietf-isis module. Has anyone else experienced 
this issue with referencing draft modules? It seems broken that we can't refer 
to works-in-progress, inside our works-in-progress.

Thanks,
Chris.


signature.asc
Description: PGP signature
___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod