Re: [netmod] usage of ip-address in openconfig
Andy Bierman <andy@yumaworks.com> Wed, 20 April 2022 21:51 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4695D3A0DA6 for <netmod@ietfa.amsl.com>; Wed, 20 Apr 2022 14:51:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HA7FgYFZFZqr for <netmod@ietfa.amsl.com>; Wed, 20 Apr 2022 14:51:47 -0700 (PDT)
Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C01083A0DA4 for <netmod@ietf.org>; Wed, 20 Apr 2022 14:51:47 -0700 (PDT)
Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-2eba37104a2so33579277b3.0 for <netmod@ietf.org>; Wed, 20 Apr 2022 14:51:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=dose/Df1cmiKAjQ27aK9dUZMOWW6+goSqYWXWVIWZ6Q=; b=N3NfEB7rpAefpsyf1NL9YNazcausnwzpJTzpl8VIRsK9vXOIJsT3cWXwPC+f5voFqp VVOJl5Mw7h/GB/v5QR2zdCW1jhS6GaqWMoY1N0WkfvxK+cWPg1RUQdJYHHlI4MrAF7fz 2AQXeQ0mnSbfRASvQFn0rbrRSF78aCXMi/QxaijZgOXSivH1HBkxCAxGRCt+AZo4dsWo sYZQ5tXrFRNi7gLDm6sXgLeW5cvDZzGh4IPN8J0T8UbRFfo+9t5Ozd37cdZcjBhZkclm U8jaNsfi+uic4MfgRhKIHeYRdwEOxFPTLY/KiTxyJi8smnwT7hKI/IrcAY1QxJAVvjVZ yARg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dose/Df1cmiKAjQ27aK9dUZMOWW6+goSqYWXWVIWZ6Q=; b=mlAWNt3d+c9sElJE7GhhAEMyQ+uEZcpQjn6K8pHyxfn7L9Nz1Bx/xqDB+NV5SSnk05 dt0QVmxWj3WDZabO6YQcY2P3EaE2rz4lD+INzA0VOD5qXuEtck0LbEY0z2HRP1oRmX+y KHdGuPfI0zP+VxAIyqQjh56RhZyp4DWiIpuyWY5EbH0LxoLMCbvloxyq+x1HXJQ8XD1u ZLZee8ITWYJ/PsowXphTDmBwi81qin3X2w4NUVRsRTmean2k/GxiZoKEm8sY2uqWdecM CH4cOhJ5k8g0SlIP2m79+2UMAtSv++xzN2i/s4joWNfCtC0COOtRrkKSc1cCkLaTkbFa cC/g==
X-Gm-Message-State: AOAM533MQveaDofSFzZNHAIGT3ALPeNB0dBkaqgeFZvk69GSR5eH3KlS oL7Ys3ZYgKk24S4pAVPGsMA7hCz5mzcdgkB36uHtLQ==
X-Google-Smtp-Source: ABdhPJwZCIwlwlWlACtzwd0XLnKr/pPRZ1fRGm3Dk31OSRxTCq8+V2b5K3ywPI+fwJCmxz1/6xVPoqzyE5SSAuwYYzA=
X-Received: by 2002:a81:92c8:0:b0:2eb:ef8e:b3b3 with SMTP id j191-20020a8192c8000000b002ebef8eb3b3mr23451197ywg.433.1650491506119; Wed, 20 Apr 2022 14:51:46 -0700 (PDT)
MIME-Version: 1.0
References: <CABCOCHRMOfVL4=p9UfNJVgLE7fGEDmKKmOAariDHXFdm1b4iew@mail.gmail.com> <20220420213448.w4aex5cpthejkvvh@anna>
In-Reply-To: <20220420213448.w4aex5cpthejkvvh@anna>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 20 Apr 2022 14:51:35 -0700
Message-ID: <CABCOCHS-r3F-hT+wW1M724nAnq2LHZFPJzMruus_Y4TB8GtEqQ@mail.gmail.com>
To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ed6d0b05dd1cff69"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/tJRliyUSGYPQXkqJFdEhHyyffl0>
Subject: Re: [netmod] usage of ip-address in openconfig
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2022 21:51:52 -0000
On Wed, Apr 20, 2022 at 2:34 PM Jürgen Schönwälder < j.schoenwaelder@jacobs-university.de> wrote: > 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 > > Not sure why this missing feature is relevant. There is an assertion (by some) that the mis-naming is not a real problem and the fact that 99% of the users misunderstand the details of the typedef is not a problem. There are others who assert that this misunderstanding is an ongoing problem. IMO the clear-cut solution provided by YANG (start over with a new identifier) is an extremely expensive solution, and does not address the root problem of the misuse. The "patch" for the problem is for all servers to make sure they accept or reject a client-provided zone index, and do not silently ignore it. Andy 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 > > netmod@ietf.org > > 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] usage of ip-address in openconfig Andy Bierman
- Re: [netmod] usage of ip-address in openconfig Jürgen Schönwälder
- Re: [netmod] usage of ip-address in openconfig Andy Bierman
- Re: [netmod] usage of ip-address in openconfig Jürgen Schönwälder
- Re: [netmod] usage of ip-address in openconfig Acee Lindem (acee)
- Re: [netmod] usage of ip-address in openconfig Andy Bierman
- Re: [netmod] usage of ip-address in openconfig Acee Lindem (acee)
- Re: [netmod] usage of ip-address in openconfig Jürgen Schönwälder