I am not sure it helps to look at individual data models but since
openconfig is often presented as getting things right, here is what I
find in openconfig-system-logging.yang

  grouping logging-remote-config {
    description
      "Configuration data for remote log servers";

    leaf host {
      type oc-inet:host;
      description
        "IP address or hostname of the remote log server";
    }
  }

with this definition of oc-inet:host in openconfig-inet-types

  typedef host {
    type union {
      type ip-address;
      type domain-name;
    }
    description
      "The host type represents either an unzoned IP address or a DNS
      domain name.";
  }

and hence they can't generally send log messages to a link-local log
server.

/js

On Wed, Apr 20, 2022 at 02:11:05PM -0700, Andy Bierman wrote:
> Hi,
> 
> https://github.com/openconfig/public
> 
> Looking at the actual YANG modules, I cannot find any usage
> of ip-address-zoned (or any of the zoned variants).
> 
> There are some places where inet:ip-address is used instead of
> oc-inet:ip-address.
> It is not clear if the intention is to allow a zone index.  It does not
> look that way.
> 
> It might be a good idea to reach out to SDOs using YANG to
> find out if the use of ip-address instead of ip-address-no-zone
> was intentional or not.
> 
> 
> Andy

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


-- 
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