[netmod] IP address zones in YANG
"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 14 April 2022 12:40 UTC
Return-Path: <rwilton@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 A6CDE3A17C4; Thu, 14 Apr 2022 05:40:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level:
X-Spam-Status: No, score=-9.605 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=EDqddhZm; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=l1NkQEHl
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 F-btzNGaI3m4; Thu, 14 Apr 2022 05:40:49 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6875E3A1784; Thu, 14 Apr 2022 05:40:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22042; q=dns/txt; s=iport; t=1649940049; x=1651149649; h=from:to:cc:subject:date:message-id:mime-version; bh=QmV0vmaWPMju3qX1fj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RZDzrd3FedU1jP94UBZ Cc7s1Iq36LYnIMdPm2AXEDQqzqu8DLvIiOW29LOzcXrC21yR+44r/zFBaVmj0EVSlU/Lsk+W /Z1yTk+6SYte2hwBO07R6d030Woqqu9jJwPr3NtiEnEESutu9uXvUiZ1S2hkF1nAho0idurD CDmWZlAy050QKsQoj8m2qT5+Cn6kdo15cnomXo2EcKZqfCNXQH4oN69PxkWwqc5Ew6sN5m1q VXm2qfqppMFBvF2D/w/t7SSnhR5wOJSFcZ4JkuZkZkIP0jgX5q3P4i1VIQFI1FEDPx6YghHu UrBMbA5OxOeVffa3zCpGFgzNGlQ3x2R369MwM/k93Q1yITkGFyzkMeysBalnAc9IglQ50B4+ jfKKxnmLxHU8dTZ6NgA+UKR9exFwX2MFrxGXPXJU6iGLAMOnrLpZKy6LIp5PuycJhN15c2kI SpaiItiYfzQTOaNSSj5uw6zvmWehTNYd3E8LAs26RE
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.90,259,1643673600"; d="scan'208,217";a="831908049"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Apr 2022 12:40:47 +0000
Received: from mail.cisco.com (xfe-rcd-001.cisco.com [173.37.227.249]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 23ECelED023995 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 14 Apr 2022 12:40:47 GMT
Received: from xfe-rtp-002.cisco.com (64.101.210.232) by xfe-rcd-001.cisco.com (173.37.227.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 14 Apr 2022 07:40:47 -0500
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (64.101.32.56) by xfe-rtp-002.cisco.com (64.101.210.232) 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, 14 Apr 2022 08:40:47 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g5eg9U9ccm/z6JyBVz2YpZo46C5LTHCzVil5Zn+/Sa7g+pLsiVsaeHTI9gwboibK5X5EMFLUwgiKtOHfmZQOA7gQAAa1B2EzhshFz9cd8/BG2XB7iab5SJHAEyYQb/bNJfz5eyDgJ66G43dGha+Fg/vtzih6QCCBSouTP9zL6cwOpZpSLmYyiLzd07tUUQJvEEdvXYsCL1L5t6USB9LhV+Xah2CNkeYxucbP9GA2FNPKdnTqq7H/legyZLvpMGOjQZ38X7eQ8XP3uW9yGPkMyzNnvUobCIaCQx5O6R4vdZ277nVwCJqPZ2ACESGeWlUwev2jlZK0t61+J/O/WndX3Q==
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=5bCMif/gHnjRDy7KHirFiyBgUG1y4IckrtQBMCM0mzE=; b=EGejhHV8vmRYSq0UCY2JV567m1p2pJe3k/NmlfEVneVRdIxlDSDWcZDftTY2UpppZG4woz44WT/8+586OB9Yl4f+31YdoLjQI/wH6Sp6nm/OebpYxGByVWxMdp9Y5LoXjU+FQwYsp9PNXyS1KUxKf1/isXrW5mde0chA0V8XBL559rlEATE6pXESGX+rt2hPr4WzL7urvG0R5DbR/8uvacfzwmyEgwAHfjqURn5eQ5lCWTWaLSoPz0z8GYAPh9WaEfB1kZZFWwTSU6B63YeifICh7SXEcYgOytAPl2d5C5hjXdmZvcRNXcFGJ3o4SNidmTeKoSyVXQuKABUlt4MiqQ==
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=5bCMif/gHnjRDy7KHirFiyBgUG1y4IckrtQBMCM0mzE=; b=l1NkQEHlKZP1YX1SnpOr8LQMpYuTFyKHh0sfnZeVlvjMe/T7GmzQcPPgY6DSMjDbEfUKB7+Hvhq5tFZEWIavYK3W78lB3i30+B3fE6WwcDx3fElxprNMpf9tOTaiNoAeDm0ldDgRtnozByQzqaqiyTsgV9DEdq6jS/fg6xBmloA=
Received: from BY5PR11MB4196.namprd11.prod.outlook.com (2603:10b6:a03:1ce::13) by DM5PR11MB2012.namprd11.prod.outlook.com (2603:10b6:3:10::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Thu, 14 Apr 2022 12:40:45 +0000
Received: from BY5PR11MB4196.namprd11.prod.outlook.com ([fe80::493a:fa7d:7166:3de5]) by BY5PR11MB4196.namprd11.prod.outlook.com ([fe80::493a:fa7d:7166:3de5%4]) with mapi id 15.20.5144.030; Thu, 14 Apr 2022 12:40:45 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "netmod@ietf.org" <netmod@ietf.org>
CC: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: IP address zones in YANG
Thread-Index: AdhP6h4ce00eyn+tRFmQHRzYbSstMg==
Date: Thu, 14 Apr 2022 12:40:45 +0000
Message-ID: <BY5PR11MB41964229E0D8FD487583F698B5EF9@BY5PR11MB4196.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
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: 4780dacb-c768-40e8-4048-08da1e13fecd
x-ms-traffictypediagnostic: DM5PR11MB2012:EE_
x-microsoft-antispam-prvs: <DM5PR11MB2012A35369078B3CCAD750CEB5EF9@DM5PR11MB2012.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: EP/i7p4MWc6R8wtBSDNvio5QyJSlJ0sY7q1V+1a/uzIn24i+z23sx9cXxB3OpLE5Gc8RYP/nGK7ww8X8cYs3gXgXcWr3UBNMw0eWx/OWQ6EjCbDfh5XkTniZB98ei+CZkz26m7LLM/+kEg5Y85tcyverK/hRJjzNNosnMIPnIoWYePGnWVZk1euT8jK+tXTy6PLmuryCv4q0p0jLkFJCt1dOIFDx3G/EkWXozzkOAebGMjfZQik7XJkhkDQrh/fzZY9S8tUWVeF3suxrYefzSLlK/x+vHOlx6eKsR+imVnN9eyKUH8BdWpi+2t8rgXATv07EqQPc6VplHJ8VnZVs6T0DxhRjO0sPCJWBB9WTT8FS6J7eyxPrIviUv++3/hDkyx4Fa/YgU8OE0zChDJVnGUEc8evpzXiFYUf17sZG/W1uhli5ziT3VSg3I44ptOZ7Mw6WHjMpGnewXLhm0boBw0WSwfEBc/gPQJrIbI1+JtZGhaE7i16Q8p7euacH9AN1XlDGa25rvWTzzUVtxAMK5LSmSCsu3YGiwHi6TFLXg6vNOCmfPCV/o38MqjqYUosX9eWAyscG+ujuUoxYaJsgl1IkwRaB8kveQRhZXUI+QPmYM6G82NJeLUG9pXelZuGxd4+RdYcNl/WUq9Oz/QTNgbt06Zoc4ULEi1vC801OObyDjf6IWj9Qayo9rHpn1svsVj4UiMDVdujuBJHlVMUaNQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4196.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(508600001)(83380400001)(316002)(2906002)(6916009)(5660300002)(33656002)(52536014)(86362001)(122000001)(7696005)(55016003)(8936002)(9686003)(71200400001)(6506007)(38070700005)(76116006)(450100002)(66476007)(66556008)(66446008)(66946007)(8676002)(4326008)(64756008)(38100700002)(186003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: qvEQL5B26Og6g2gKmK5ynw4TIzObHDtATEfr8oKmLq2MsT2R9TX/MH4ZOyZ0SPSjl/iQTuOwo+26xOi8ijOt1/hPeTCD4VS8jYxN2xyYJvDXjofwyDW7ncX7UkD7PBq76K18+pfmfHPJZPbzkes32g+50omPfqEMZFTC18Fdt7GXYK6AIvY1H3v/2rH7kQe6xsyPK9qWaYLdJfbdE0AwBh6+frLYDP9iBIxe6R204UxWjA8mhbyz9H1whrfVHZJhshesJBjDRI8YnUm+6Yphe8V2M5F2SVr3hab8IUre0BfqNv8WOmm4w3DQNCSiYvDAv5gSiGGmjM1tlH+4WSIcaWMk9g+VQQkOxxtDuqfDD5MVs9SQKMaGYJ4B31hfBGgg9RqZq9Aey6zKVog7wjaEobJQ03SirsaPvlkoAW8tNNRrBgatSPnjsI/CJEUkuCmIIhsDd1KtHXLI2NEI6SiSpM8BKksD689pKQ/HRZMOejqVoRSiu4hRpCqopqQ1JCCOTp0lTrjPnjh+HkC9JL4zGUQ1krlIVVhi+J7euUxRxb63+Ew+UGakFB3sNq4H2KgI++BYUOhNA5EexOqhcr0I4P26p9VqrWJWtzz8yoUkfM3U2jp6sE/l3sFHXQRPDm27JwvDl4U237QOwk1agxOrky0hteAuo/XWn9PGFWcIzoE5bf0+ziwthHOO+8ns+WrEocLeoq09MvWGZ1Dk/iv0qGofE1oxjrzp6fLYOAsRXDF5BUwWGSz1ryFJ8g9nP9RZhdkX789vq8XKVzGhUrJ9nvMuqm737rNh1IjJYo5qntEZbPP+COpEbjYEk3cD8ux9kE5AzZiQXBI4sCbODcStrn6mwhGU4RfVRxadPxiZTaIrY7XvmzXiQBFbQBhi+ACHwnzu1wZ00kby7CxubJ6iCLLPMN3gXQodPW6eOKVWFyEKtgTPWtL++akif23LSH5dTbgyAQUv2id0nCtbUSOSkTxg9xx2EpuYNwIKWUoJi+oHPWQ4dGvZnFBtDWPsOjsxMrdNSg0JEIAA2cD31aSG7vW/Jpk0JgjOlaHOd/mXuDXdCYXbc63FB/8F0mTTV1CVkv+vK3Vj+bzhvyiEWhH40bLpLdhNMLu47+oY79ptY7ldMvRd5sKh9KOfuu1lMjXLoyg+9Wdm88D5MRNheUxkWVdbhJp/+bUbQ531yJOeGq0x0VYiOq4/ETZ//hXQQwS80yQn2YRoa8sUpC0hui0z0Lofv7Frs858bfz7mI65RxamM8VDpZamgv64N0VeF38/t0f/sWMdg+S81n7w7/wUE62zHoRtfAZfkMxjdJ0ZO34ucdeq5dACr3pI2Myi36SPkRSHdosmVYkRG0BOEnDpCbWeOAzPw3I9Zl9HedQKRQ5H4uz3Pt1SmHg33SymVvRdkh971GDuYrf6xvd4BgqnapFki9IAIhxlRsJRQua10jjybDTjdDe5HdYi7MHJhYMNgfFhQEge++mfjf3mYQca+Am02slnx5vqebxoqiI5ewXOcKt+RvPsFdzXhShr4gJwvLnUkeC9oV3LF/XDuTwCrmK5+Fsr6akFRgGWZpUdf9IYBsihvI9OGLcCdkFsYnvjI0g42LzTafOHrcy2+3JZGSr518UG+06t1n5liD8uA53y4VZ1OPpdza9XoBKldpFGVdeS9SJNDoKl+2Vlnc/8QvKch27lps/Uk6XwgIucQC5Y1GBCEc8LH6tTeHC5x3havdx0r/35Kwi4yFG+CSt/JA==
Content-Type: multipart/alternative; boundary="_000_BY5PR11MB41964229E0D8FD487583F698B5EF9BY5PR11MB4196namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4196.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4780dacb-c768-40e8-4048-08da1e13fecd
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2022 12:40:45.3797 (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: 1cTmRHPHqWN9DWxHZau6ecSYzyNBkqkbI/lzjW9ujxWDDDZaLj+FZbJPxLruN5kHnMVsctHbXSvkmdtLV52lRw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB2012
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.227.249, xfe-rcd-001.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Z7AKTTnLiln566n7I3f82kuaq2s>
Subject: [netmod] IP address zones in YANG
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, 14 Apr 2022 12:41:03 -0000
Spinning off part of the discussion into a separate thread, but keeping lsr cc'ed on the discussion. I'm trying to get a better understand of how and where zoned IP addresses should be used in YANG data models. RFC 4007 defines zones for IPv6 addresses, but not for IPv4. Even though RFC 6991 bis has support for a zoned IPv4 address, I'm struggling to see where zoned IPv4 addresses would ever really be used. Does anyone know of any usage or deployments anywhere? For IPv6, my understanding is that the use of the zone is to add the extra interface context for IPv6 link-local addresses. Is there any use of zones outside of this interface context? The current definition of ipv6-address type and the ip-address nodes in ietf-ip.yang seem to make zoned IP addresses hard to use. The canonical zone definition in RFC 6991 is for an (presumably unique) numeric zone identifier, but in the YANG management layer it is unclear to me how one maps from this numeric id back to the interface name (e.g., for a client to construct a suitable zoned IP address in configuration). ietf-ip.yang uses ipv6-address-no-zone for interface IP addresses so it isn't possible to get the zone id associated with the link local address. This feels underspecified to me to tie these together and make this work robustly. I also have a general question about what is the best way of modelling this in YANG. Using a zoned ip address is one choice to link an IP address and interface together. Another choice is to have a separate leaf to scope an IP address to a specific interface, wherever that is appropriate and required. E.g., considering the IP RIB YANG model, | | +--rw v6ur:ipv6 | | +--rw v6ur:route* [destination-prefix] | | +--rw v6ur:destination-prefix | | | inet:ipv6-prefix | | +--rw v6ur:description? string | | +--rw v6ur:next-hop | | +--rw (v6ur:next-hop-options) | | +--:(v6ur:simple-next-hop) | | | +--rw v6ur:outgoing-interface? | | | | if:interface-ref | | | +--rw v6ur:next-hop-address? | | | inet:ipv6-address Given that an outgoing-interface is already provided then it seems that using a zoned IP address as a next hop address here would potentially be confusing, or at least not required because it is effectively already scoped to the outgoing-interface anyway? It seems like it provides redundant information. Considering another arbitrary protocol YANG module RFC, this time TWAMP, rfc 8913, it seems that some of the ip-address fields in the model could in theory support link local addresses (e.g., the test-session ones), but it is unclear to me whether that was ever the intent, or whether that even makes sense. For the other uses of IP addresses that identify a client or server, it feels like using link local addresses is much less compelling. Modelling these all with the same type seems confusing. | +--rw test-session-request* [name] | +--rw name string | +--rw sender-ip? inet:ip-address | +--rw sender-udp-port? union | +--rw reflector-ip inet:ip-address | +--rw reflector-udp-port? inet:port-number | +--rw timeout? uint64 | +--rw padding-length? uint32 | +--rw test-packet-dscp? inet:dscp | +--rw start-time? uint64 | +--rw repeat? uint32 | +--rw repeat-interval? uint32 | +--rw pm-reg-list* [pm-index] | | +--rw pm-index uint16 | +--ro state? test-session-state | +--ro sid? string E.g., I guess that you could use a zoned IP address for the reflector-ip, but I suspect that most implementations would not anticipate/support this. It feels to me that a cleaner way of modelling this would be to not use a zoned IP address type at all and have a separate egress-interface if:-interface-ref (perhaps under an if-feature, to enable and indicate support for test sessions over link-local addresses). My overriding concern here, if we don't change/fix the ip-address type, is that we will end up with a set of YANG models that: 1. Models this behaviour in different ways for different protocols/features. 2. Are entirely ambiguous to clients and implementations as to whether it makes sense to support zoned IP addresses and/or whether zoned link-local addresses are supported for each leaf. 3. We are creating models for a hypothetical use case rather than how these protocols are actually being deployed/implemented today. I.e., I am more concerned about getting IETF YANG modules usable for the 99% use case than the 1% use case. Regards, Rob
- [netmod] IP address zones in YANG Rob Wilton (rwilton)
- Re: [netmod] IP address zones in YANG tom petch