Re: Why are we (poorly) putting IANA registries in RFCs with yang?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Randy Presuhn <randy_presuhn@xxxxxxxxxxxxxxxxxxx> writes:

> Hi -
>
> On 12/6/2018 9:55 AM, Michael Richardson wrote:
>> 
>> Paul Wouters <paul@xxxxxxxxx> wrote:
>>> Why can't yang modules just point to the proper IANA registries and
>>> use the named values from those registries and look for any obsolete
>>> and/or deprecated entries.
>> 
>> I think that there isn't any clear YANG syntax to do this.
>> I think it would be a good idea though.
>
> Agree that this could be worth looking at, though it brings
> nasty configuration management issues of its own.  Another closely

Right. For one, there are at least two sensible ways of translating a
registry to YANG: apart from the more straightforward "enumeration"
type, it is also possible to use identities. The latter approach is
preferable if the registry only provides base identities, and other,
more specialized, identities are intended to be derived from (some of)
them. See, for example, RFC 7224.

> related issue was raised by Ladislav Lhotka on the netmod list
> yesterday: the terms "deprecated" and "obsolete" do not have
> the same meanings in yang as they do in IANA registries.

This is the message that Randy mentioned:

https://www.ietf.org/mail-archive/web/netmod/current/msg21992.html

Hopefully, this issue can be solved relatively easily.

Lada

>
> Randy
>

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67




[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux