On Tue, Apr 12, 2022 at 03:10:12PM +0000, Acee Lindem (acee) wrote:
> Jürgen - I'm not sure how you could extrapolate the basic requirement for 
> IPv6 link-local addresses to support for YANG configuration support of 
> link-local addresses with zone indexes... 
>

I would be surprised if the IETF decides to produce data models that
by design do not work with link-local addresses.

System level tools these days do this well as do an increasing number
of server configurations files. On Debian 11.3, you can ping, ssh, nc,
... to 'fe80::c101:c4e0:aab5:5a04%vlan5'. You can put a link-local IP
address with a zone index into your /etc/resolv.conf. In YANG, the
equivalent is in RFC 7317:

      +--rw system
         +--rw dns-resolver
            +--rw search*    inet:domain-name
            +--rw server* [name]
            |  +--rw name    string
            |  +--rw (transport)
            |     +--:(udp-and-tcp)
            |        +--udp-and-tcp
            |           +--rw address    inet:ip-address
            |           +--rw port?      inet:port-number
            +--rw options
               +--rw timeout?    uint8
               +--rw attempts?   uint8

The intention 10+ years ago was to provide a type that enables authors
to write YANG data models that can be used with addresses that require
a zone index. At that time, system level tools hardly got this done
right or consistently. System level tools have improved. Perhaps it
takes some additional tim for YANG implementations to follow on.

/js

-- 
Jürgen Schönwälder              Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

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

Reply via email to