Re: [netmod] usage of ip-address in openconfig

"Acee Lindem (acee)" <acee@cisco.com> Thu, 21 April 2022 18:35 UTC

Return-Path: <acee@cisco.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 2ED783A1904 for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2022 11:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.365
X-Spam-Level:
X-Spam-Status: No, score=-8.365 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, NUMERIC_HTTP_ADDR=1.242, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=jy7QdQTQ; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=tqLEnnK1
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 d_tWC-enVEjY for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2022 11:35:49 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A695D3A190B for <netmod@ietf.org>; Thu, 21 Apr 2022 11:35:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18795; q=dns/txt; s=iport; t=1650566148; x=1651775748; h=from:to:cc:subject:date:message-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kX5ZegkmKVoJDBYRJgRuMJIR/AgQCBAUCDgEBBoFOEzyBWXAVOyoBgj4JSBkPjiCDcjOEYYVKdQI2AgYBCgEBAwmOKwImB4IZAQE
X-IronPort-AV: E=Sophos;i="5.90,279,1643673600"; d="scan'208,217";a="1024548071"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 21 Apr 2022 18:35:47 +0000
Received: from mail.cisco.com (xfe-aln-003.cisco.com [173.37.135.123]) by rcdn-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 23LIZlI7028388 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 21 Apr 2022 18:35:47 GMT
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xfe-aln-003.cisco.com (173.37.135.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 21 Apr 2022 13:35:46 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Thu, 21 Apr 2022 13:35:46 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KBxjbV4RotqMQX3lJ9gEIMSln8BVPJBkr2JWgPtZJfbMEP4XBR7tpDu7wl97TuPeQgK4sr3pqiau1T6Ac72WzCRUktSdofJ4jVrDfgiqf12AqvootuQ4aEnWk6xT89kB9wmuEJXg38dlLTE922WgHGM1EptDI3aMq5ZKzODHJi27nM0u8zpGCZOxtKltjmM028UaC+buN07C5CYU9Mjc2n58ODrcym1e+H6Ibk8AQkE8OE0xUGUHNXlIk0GkpArXdI+C6wxQslN2JIfDXJ88U/H/Cev0CkmCfEyNgAZGpPbxw/yAXXdfV8Ety7aZnhpM/FGwg7VLEfn8s/mO4SOWJg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5NFF8ZNwj4CpCtMEPE0aEgTzeqDBJQId7SwZ6nAa6fw=; b=QzlQl/vc5bvOyC/1AEHQnnXI2dxLO8++C7eKzZXPzqKgDWTNqirHqXp0MK4houAwga7z4W34oy2eg5mh/1gQ4HUaCrJF7Dg2HeAC9NUEdI6BOwqgS0xkWemLsJZ3CyAdImkPycGIxDEJ87N46M7+wg4Q8tLDWFMDouVZV3lu9Zb0dnUVAFdG0mKvjqsNx337lNoFrk0P6DKKFOvXu22phql9m5KyAHIkxDIBiXxSsT5xcJMVN3TUZiHs8VXp7ouztObk+wPYw9gCrvd0R0wi/JuZbOaeErh47A8QVpxw6siunMR1Dje+HH+FfbNIxBtwOfR5d/NOIoB3Af4Wg4d9vA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5NFF8ZNwj4CpCtMEPE0aEgTzeqDBJQId7SwZ6nAa6fw=; b=tqLEnnK1tuYZ7JCba0tkxeJN/ncRsOmNlpl9Oq3xNFfEMQ2wqzJNxs4Url2CgRJdy4JmrGHBcSH07O7m1WgqMwEBVuybVlKGnCTTfwK2FW3QmNrXSyHNepMSNiuCboxCnCZzIjaLouohphzRT3RnLCMnzRlz6vqHcojYa2IxeCU=
Received: from BYAPR11MB2757.namprd11.prod.outlook.com (2603:10b6:a02:cb::16) by MN2PR11MB4397.namprd11.prod.outlook.com (2603:10b6:208:190::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 21 Apr 2022 18:35:44 +0000
Received: from BYAPR11MB2757.namprd11.prod.outlook.com ([fe80::b46e:544c:a2a6:caad]) by BYAPR11MB2757.namprd11.prod.outlook.com ([fe80::b46e:544c:a2a6:caad%6]) with mapi id 15.20.5164.026; Thu, 21 Apr 2022 18:35:44 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] usage of ip-address in openconfig
Thread-Index: AQHYVPs7rVHKKxDf3UCLr7A0+8hYHqz5UvQAgAAEsYCAAAwJAP//xEkAgABprICAAN6PgA==
Date: Thu, 21 Apr 2022 18:35:44 +0000
Message-ID: <C30F95C5-89F3-45F7-AA2F-1F19BBAA47A5@cisco.com>
References: <CABCOCHRMOfVL4=p9UfNJVgLE7fGEDmKKmOAariDHXFdm1b4iew@mail.gmail.com> <20220420213448.w4aex5cpthejkvvh@anna> <CABCOCHS-r3F-hT+wW1M724nAnq2LHZFPJzMruus_Y4TB8GtEqQ@mail.gmail.com> <20220420223440.7vouloqkv5illw2p@anna> <8E016824-BDC7-4096-B92B-ECC4B6B7C4B9@cisco.com> <CABCOCHRY2nwM9W4C_KK+h94_jK8=xEPf3qtE7QUmybMjVcfT-Q@mail.gmail.com>
In-Reply-To: <CABCOCHRY2nwM9W4C_KK+h94_jK8=xEPf3qtE7QUmybMjVcfT-Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.59.22031300
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9914e2ea-970e-48f1-8c54-08da23c5bf14
x-ms-traffictypediagnostic: MN2PR11MB4397:EE_
x-microsoft-antispam-prvs: <MN2PR11MB4397FD3D630B9B7EF2FF9AA7C2F49@MN2PR11MB4397.namprd11.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: l67upHx73isL5azji8O8f6/6UKr8RzQBWuLaWl7gLychDMh/eu1yPKtBtGt4G5pExiOQg4SROep1LGlUXvoriKoZjjVdayWgb7/eSHee8ToFY0xZRdNyavhO0XKwiyhQy5pJKO0eWBFXnpxwMsNCBGM/lXhZTrU2eqp0w+V2HqXxmlSSxQXHlO42zRQFErxVk6nUoTvY2ixo93HzBBzZfgW+gdMDEoUASPGowBtt7aRPnVgMWKCgfXmkVeoE9HJ3f+PjrPrBMvMKUlTz2wn54fmdpq84E+1Op5MOVsQr8aX3ZIRZUHfO2z+1udovnMdMcEwPaERkkeUNEYCWPlbUDSZ4aLYkj9dXVTsHiBmQCpUJ/Ja9OOuzY542RKholOUyfhKzYF7ZORgdt/PQc80JGlYZkH3u5/FZA9SuH/1gz4XMTz0qWUrYMiOwTf8CrJgHWDjxBWzdfWBAogq9yxe14Mybtx0O32Cqs9iB8EVN2vtgrg+JeJCPOLF5vR7EFPoy1QbVvbLaQDBrj3EzG9+HDPcR5W3k5zf3niGTVJAhKp3jPvk+SQ3t8o/Lo/3gPsSsgHKT6QgwPRyXCtblyIYdGmOwg3PYtIOG/a+m+sssUUDpiw8pRipgdoY7G3yydZMr9qZM+ssI24bB6Hewss3Guf6tlndgNh+daILFPUUV9SU1lr+7Ol7M99/S2ux1dZX5Y0r2oK4BjJwEEHXD70MPA5WbDoX5PraKtTeoSbsiy8Zg7orTrVvQ1cNinFCSx67A4hQ0oNlLJ7NB7V+SpR5c4Z6B1G2NhSKdm9O5iV1saApcN1Lu+xXIfGjkQdopYY3KWmD8GLvmiemDbX3SMtyssuKO0U8njFp8YbjSLQodGwA=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2757.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(6019001)(366004)(269900001)(33656002)(6506007)(316002)(508600001)(53546011)(26005)(71200400001)(66556008)(54906003)(91956017)(6916009)(2616005)(36756003)(186003)(966005)(40140700001)(6486002)(2906002)(8676002)(66476007)(66946007)(6512007)(83380400001)(5660300002)(66574015)(86362001)(64756008)(166002)(38070700005)(66446008)(38100700002)(4326008)(76116006)(8936002)(122000001)(9326002)(45980500001)(16193025007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: zNgtGPo9Yp5pBauIjyJVuDXl6XnSBqdfWh15vn08NVCR8Dt7FzKBrSAulXXUFXyJR3UuOTy5vMy4/slhI0sIBzrr0fw+qjb+xJ30xh9fgiQK6mOBK0nH387SNwnX6yhBGcCBJ4Ql6yzOl9u8vvUVhV0xZ56ti1R4kN3ppGZJWG/eEno7IsFY7+N91muQg310kqOEM0WRCzxBy3c1laT8cBgQYvvulFfRIp87ijsYp0f44QHxklUnk5M70QTCLSj51XoSmhoMv50RMWKypHwQGKZzfv8sm5l3PjNTjfsyQxPNIHXbs8zz5+LYtXFSCmHwMCAYpzcyiM7UpWnMyZJaNO0fKlN6I2okeoeunE6nDaOL1DVUdBQf+ZEoFieYfZMDlLiy9Dee8kn9xxmi/AWG0JhgsoKDgFpmM7nwGru5PCi+WCRkEsO9LWNuDEC9HZJGDo3RkSwJj5bisvrF9L8VFEnw+RJ1iKU/pKYAjVk02mFUzTGH8WCMiY5SjKIdK+DDrWGjvbJp7Ie0mr1N0eYVpXBIfalPAun52eFClABlM9PbSzTcpaBk7KH8Jvu5H6vCdZNkTccVjCIYa4QO9Ibyttu5d9C49UG+cHiE1swpJkWzRIU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Wh7h0aOEcoKHqMY5wx+ICCuLcvR2qdMVJbE9OFwfjo1FIFIwXNGaigyTQeA==
Content-Type: multipart/alternative; boundary="_000_C30F95C589F345F7AA2F1F19BBAA47A5ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2757.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9914e2ea-970e-48f1-8c54-08da23c5bf14
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2022 18:35:44.6577 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 30HF0VbVVSb/Eh9WkdRZmNJBXABGRhm59PVqo7TkzU3VS6lT+Kue9ss87OsiCxYu
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4397
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.135.123, xfe-aln-003.cisco.com
X-Outbound-Node: rcdn-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/OTH9L5Z3PhUuvXeQdu5Fj5fVg4Y>
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: Thu, 21 Apr 2022 18:35:54 -0000

Hi Andy,

I like this suggestion.

From: Andy Bierman <andy@yumaworks.com>
Date: Wednesday, April 20, 2022 at 9:19 PM
To: Acee Lindem <acee@cisco.com>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, NetMod WG <netmod@ietf.org>
Subject: Re: [netmod] usage of ip-address in openconfig



On Wed, Apr 20, 2022 at 4:02 PM Acee Lindem (acee) <acee@cisco.com<mailto:acee@cisco.com>> wrote:


On 4/20/22, 6:35 PM, "netmod on behalf of Jürgen Schönwälder" <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org> on behalf of j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>> wrote:

    On Wed, Apr 20, 2022 at 02:51:35PM -0700, Andy Bierman wrote:
    > On Wed, Apr 20, 2022 at 2:34 PM Jürgen Schönwälder <
    > j.schoenwaelder@jacobs-university.de<mailto: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.

    I suggest that people questioning the need to support scoped IPv6
    addresses in IETF YANG data models write an I-D explaining why IETF
    YANG data models do not need to support scoped IPv6 addresses and pass
    the I-D through the IPv6 working group.

The question is not whether there is a single use case for IPv6 link local addresses with a zone. The question is whether the base pattern for IPv6 addresses should include a zone and whether one was expected for all the existing YANG model usages of inet:ipv6-address. I think that given the very narrow scope, the answer is clearly no.  Additionally, the zone is only applicable to IPv6 link-local addresses yet the pattern in RFC 6991 allows the zone for ALL IPv6 addresses. This is also clearly wrong.


I think Martin's original comment about 0.0.0.0 applies here as well.
The pattern cannot be trusted to validate a client-provided IP address.
It accepts all possible variants, including some invalid variants.

It is always the server responsibility to validate the client input for the specific data node.
Just reject all zone index variants from the client and ip-address == ip-address-no-zone.

As Martin suggested, this could fixed in RFC 6991BIS with an update to the descriptions that says, in effect, that zone index is not necessarily valid and will be rejected by most servers. However, it is a shame that it can’t be removed for IPv4 since there are no known use cases or usages.


If the argument is that a zone index is always allowed (even if the usage is limited)
then why does the ip-address-no-zone typedef exist at all?  There are no YANG guidelines
for picking between them.

Totally agree. In fact, we should cease with the discussion that we use the obscure ip-address-no-zone, ipv4-address-no-zone, and ipv6-address-no-zone types in our IETF YANG models rather than the well-known types.

Thanks,
Acee


Andy






Do you at least admit that IPv4 link-scoped addresses with zone have no useful purpose? Or are you going to try and argue that the ever-popular 169.254.0.0/16<http://169.254.0.0/16> addresses are an absolute requirement for YANG models and expected for every usage of inet:ipv4-address?

Acee
P.S. I would add that it is a good thing that syslog server can't be mapped to a link-local address with a zone in the Open-Config model. In general, IPv6 services such as syslog servers should be mapped to global IPv6 addresses.


    /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
    netmod@ietf.org<mailto:netmod@ietf.org>
    https://www.ietf.org/mailman/listinfo/netmod