See below BALAZS2.

-----Original Message-----
From: Martin Bjorklund <[email protected]> 
Sent: 2019. november 7., csütörtök 16:25
To: [email protected]
Cc: Balázs Lengyel <[email protected]>; [email protected]
Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
> The schema-uri looks standard but the contents of the referenced YANG 
> instance file can be anything (as opposed to a pre-defined YANG 
> template like /yang-library).

Note that the name of this leaf is misleading (see my ealrier comments).  It is 
really 'same-schema-as-file', which means that it point to another YANG 
instance data file, which must specify its schema in one of the three ways.  
Which may be another schema-uri, but in the end the recursion must stop and you 
must find a YANG instance data file that usses 'simplified-inline' or 'inline'.
BALAZS2: leaf name changes following Martin's suggestion

> The inline-content-schema object looks broken because a YANG file is a 
> text string.

It is supposed to be data nodes for /yang-library or perhaps /module-sets, or 
perhaps something else.  See the examples in section 3.2.

BALAZS2: The draft includes the text:
" A schema-uri leaf SHALL contain a URI that references another YANG   instance 
data file."
So just as Martin says: it is a reference to a YANG file but to a yang INSTANCE 
DATA file: which is yangdata.

/martin

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to