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

Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> Wed, 20 April 2022 21:35 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 8FA173A0C35 for <netmod@ietfa.amsl.com>; Wed, 20 Apr 2022 14:35:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.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 C2urVzwP3iD9 for <netmod@ietfa.amsl.com>; Wed, 20 Apr 2022 14:34:57 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0613.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::613]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B23A23A0C0E for <netmod@ietf.org>; Wed, 20 Apr 2022 14:34:57 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RPzdYG/aqrdacIJVVop0iuCbbQCrL+s13M8NRh32Q9dYKB0WSkzOAWTlyIq1hZxsPdZFh+gYVOBT/KNSMeu5vEMbd/o4WhlTBikh8nt6xtTUFzsfHYb7+HHuLLNorr1bL5YzC3Nqr+THAKYUdTw+9Fn3obVciQz6UG9l+abnjxMg8iPusyb7qQyfuzuryvHov55T/r2RpQpq6bdbcg14lBhTj/WFSm9FxgYLK+CA1kiFi6ej4NEOMHIMU5ho6aDtGj5+h37NiBiakNPKEYaxQ6jPQvua9ELEX4gS2cPFRdE5xJva11mc8YjDRjhArKK3qI8J4yZY0EUYXBpbmIBhFA==
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=jPX3KE1qYjBeFlMHuR/NJVAE7+Y6AUovdZjW3wjMzvE=; b=aAvcTR11MZcU8PMKaD9w3b64lJiFhwlFGQbs+SJ/zCKei3kslOU3pb9vvvxrQUb/WO6tKJ/xcO1TZyju7yeOB8987FVAprWQ5rFLr7RnQRZxgwynvaP4+XSFIkb8PcdnFPr603lpHX3lqaUMiVsTrgWtuFOAjaRJm8thtcLApXLiXxzCical7+rfrI9OVe5If4gQHe09WC1WIDFuN7XQFDFje/hPQTIy1LyJhsQ841I2PBMrvwG1OG8TFJAgcAWac+zjFmXUD2vRv5FaLDRSE2VYSSnoCUW1o5egNKVBoS4UYmPMeG/djeFhWNsjh84aSPe0tWmGr4iW64/wWnFfuw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jPX3KE1qYjBeFlMHuR/NJVAE7+Y6AUovdZjW3wjMzvE=; b=lpl0NgyXqL1cobhNX5ngsxuyXjfQHJlCdTyUmWSevOPR8fkLSbqVMSKoheb1nW9Rv7LQi3KOVzulXk9l4TZyhtPCVSerBHzU3jFSzraXqOuPPXQc/enU2MSVy0svMc5s4+UVptDSWw8kaqiKsKCpoT5/k56uVEY4lzD/Xi7xmeY=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=jacobs-university.de;
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6) by AM7P190MB0677.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:118::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Wed, 20 Apr 2022 21:34:51 +0000
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::5929:c22b:95d2:40a2]) by GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::5929:c22b:95d2:40a2%5]) with mapi id 15.20.5186.013; Wed, 20 Apr 2022 21:34:51 +0000
Date: Wed, 20 Apr 2022 23:34:48 +0200
From: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: NetMod WG <netmod@ietf.org>
Message-ID: <20220420213448.w4aex5cpthejkvvh@anna>
Reply-To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
References: <CABCOCHRMOfVL4=p9UfNJVgLE7fGEDmKKmOAariDHXFdm1b4iew@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CABCOCHRMOfVL4=p9UfNJVgLE7fGEDmKKmOAariDHXFdm1b4iew@mail.gmail.com>
X-ClientProxiedBy: AM4PR0302CA0002.eurprd03.prod.outlook.com (2603:10a6:205:2::15) To GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 241e53e0-508a-490a-15e7-08da23159a33
X-MS-TrafficTypeDiagnostic: AM7P190MB0677:EE_
X-Microsoft-Antispam-PRVS: <AM7P190MB0677BC347012FBC6254CFA40DEF59@AM7P190MB0677.EURP190.PROD.OUTLOOK.COM>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: +pa0Uv1jajc3954gpUrBFr70d4UNS7vJIVMOb3Dv4be6/2EGe1lPJIvnna90lSLk59VhEhGSEzi9JsFiCKQ+g0HFb1ZZ6n0ehUHMEH+AnXrr1bNAVyWy9KiSKY+jzO8oE0MGRrvxdQjGmWneuQFeFdp4m733QchCuLEwFwyW6cy1emfM8tTasjg2yaYThK0qQwNhtGx+IVgMiMCCDCciQh4Kih1f6kjK6PjsySx/ylO7ttJHeYw7mv6FaGNzmEfVHp0BxUBfhLUi+5bZad0qoQqOzXO3Zavjk5w5XM5t1pgoVoKoo/33/yGr2XAU1MdyCMOTpe7qUNyxnwL+Zw1oZhg3vBoiq8vfjXjMuKS6UJ+K0wd3ncxxqP5pGkyTVLFrnXoLQdWKDxQj0sGd+g6G89Y8klm9j1hzklVf+FrUrW2Id+VRRBCIM69YNJM9cNHroAY9gobON8CoZoKEsFoMZFI6huIG6wpOI0aiypjrY+1dPajCT2pLsHUEHzbXsBmUV6Qgw7DMHYh4HLj4tR1rwmQFrZxKPqC/hXsRfRw4prqQOf4esuQRjOD4qyiyefmuTlTtg0BS6V4a5yBjIpa7m5WfIXPluv+a4HwIU8RWsjAcynHOSl5v95d3VKSBNh3RfidV9V/82sdr160I5g5FVlnqtpnso628Z8Tx2xjcXgNgQBSmk3B4O0cG+p35gX+lb2V3hqNvhbHOg+V7myatSqJZC7300fQ+ESjZJspQxGnV1T038M+mJzaT3Ew6iIkuW3LCz7SedCFX2cHdS8GIRAbH+1vpaBDm9QFPxfggZA1LT8TpMWON/QYjbVWl7m4sLcf6JIlNZvXOS1wu1sioLA==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXP190MB1991.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(7916004)(366004)(52116002)(1076003)(5660300002)(86362001)(966005)(6486002)(83380400001)(6506007)(6512007)(6666004)(186003)(9686003)(26005)(40140700001)(85182001)(85202003)(66946007)(3450700001)(8936002)(2906002)(508600001)(33716001)(38100700002)(38350700002)(6916009)(66556008)(8676002)(66476007)(316002)(4326008)(786003); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: gprVV47uUpEzna6q72nQqHCNO7TnbgZdNp6TBWttP1ecAHwZEwWA+6+Fzfea2ypASReN+5gFPTwFLbuWeK3JYgc9licho3nL5rC1253Ku1/xY+eHlIVC0eXFS6RygLHt2hyksCwZXaCZL+aPbNRAVpMLtdDPx1XOGdoCVBBVH2H5TqH/wNBhau28w5mpnK4rTM7rf7XVHSWg7bHAIPjdyUh/JNSiu2FPvzXd7oQ/lVqTVKnRlq0x+ukcP6AlfGCEMnT4k5uQagBkKOIGgV+5Usqg/REtz7fqNomRVkAb5J+6LO99p2F0dtO/djwGEEdUdPb7J4nktQQkpbFoArNG/zDM8hbfkRNn1yZhnSU25ox9H7yh7+jT1Q8BlmbhNv24O4QRRk7E20taJwoZn1IZfmdOvA059GEp1DscA+O+5YuOmlnYju0bEi2Q+rLlBNg64VaZLSH4YKTdavvXd5cFmlUgN34XdPtIdkcJt2f2sNMmOXZzb/3LKta/Qcg+7VnhjhSWUGr5infe7nZkdZYn/o+GN1tcC+NwhJio9Jsh0YPLVgPeViTAOpsh30ce94dGHDwjPcDhpoFaEB2Q509I5tt+ovTz6vXA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KFpL9YjEmSZCmJ+Pnq1QD3t6BvzBQY2ddos8xQNBi/IvEQPoq/JFU6twkFeEODs1D4gWshJVj/nsFeB3DWKKkzPtlrEfiwMwYs
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 241e53e0-508a-490a-15e7-08da23159a33
X-MS-Exchange-CrossTenant-AuthSource: GVXP190MB1991.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2022 21:34:51.7170 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: LEgyjJ49q/t/ObI6zX813ymrrNq/HEDJQmJ/kMMSpte4hXamP0M0g9SRmviB9glVsTObQSqQ7zedxjv6AYVv31sq21bHddEoWDMiE5xHPNQ=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7P190MB0677
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rD3O1x-Q7JEdh9X0kTYHjqVvf6E>
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:35:03 -0000

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