Re: [Detnet] Discussion Item two <draft-ietf-detnet-yang-18.txt> last call

Don Fedyk <dfedyk@labn.net> Fri, 12 January 2024 16:59 UTC

Return-Path: <dfedyk@labn.net>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99397C14F689; Fri, 12 Jan 2024 08:59:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=labn.onmicrosoft.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZfKU0PvXdVRQ; Fri, 12 Jan 2024 08:59:30 -0800 (PST)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2111.outbound.protection.outlook.com [40.107.94.111]) (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 D0EF9C14F60B; Fri, 12 Jan 2024 08:59:29 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NdoGkVTQIvkFVpZ9G+GSNu5kYGLODvG1oUBsv111Bm9rkbCX9QMTpGVeR3DzxOfPOHgs77w28+bSTvyuRAI6Zpeobt9PQBG4hrIjYtGFiHH/ZC9ttUiDzT6P/EBO8DUkjR69sBw/yu5uOh3yKphb5vLTIEpM9QRakkAXLoJWCcLNvg2cjJ9yRGHWwSGYHxYP6PPXEod2rc3wq72ZSI82b+m1m1fKNPjg12q58M/E5bZVRaocCRQkp5lfwTO7+rd5SbrOJgDJjvpP03K+EGf2+6L+W52t55CjxA3nuvrZRn1bI9ZrJIBdjoafd1eROMBG7G+5oLSvNtoA7AtmO1rvWw==
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=exwYQprfhYshlBNDSAL+Zp4n1S3dbaNY4eSTc2wmGmA=; b=ayp5psIksj2xYC6rrXOaVv3kn1Z9OWtJNQ7RW0gbociBveElOOTXGwQD2MyALJ1kmE6jkEIJ4IB2kpm0XLrrSjBFhpYPZMLQLgcV4pAFT806zZM3Sfxq8TZLPMpkVRNxF9PGdix4v+faBtgrC5kKp9EmENrmi1ARMCQh0DrVjWJfoYYhk3r99AoP/grQFZ/k8tUiMX+/t32D/y6rvNmfgo5jiloAKaXiCP86AFTfJOro5mQPgjcTRR59fvkzAjAihSOLnFk+WjO7gfwmcDKx6JM3x8/2GZVcxkmGKGPVcIRxerYbnVBdTDNEVyhrZUmqTNEiV17ea1mHrd5rwy1X3A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labn.net; dmarc=pass action=none header.from=labn.net; dkim=pass header.d=labn.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labn.onmicrosoft.com; s=selector2-labn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=exwYQprfhYshlBNDSAL+Zp4n1S3dbaNY4eSTc2wmGmA=; b=m5veZtbgd0PE7kzfl2+zjBQdsrw1yX2SFiLwQ3MgjY4hoj9ipvdwaw+fpczaDBNtbwRwuGK3cQDtxGfJ0gZI0r/HRheH5cpdCZ6DqwIKX2eDLx3QzMZS/qNqe4t3qAasHtYSG0DDp8WcFfxull4Wnlm7Nactbugt3PrqfSesmtc=
Received: from PH7PR14MB5368.namprd14.prod.outlook.com (2603:10b6:510:133::11) by IA1PR14MB7295.namprd14.prod.outlook.com (2603:10b6:208:456::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Fri, 12 Jan 2024 16:59:24 +0000
Received: from PH7PR14MB5368.namprd14.prod.outlook.com ([fe80::2f3d:1744:a1b5:8c4c]) by PH7PR14MB5368.namprd14.prod.outlook.com ([fe80::2f3d:1744:a1b5:8c4c%4]) with mapi id 15.20.7181.015; Fri, 12 Jan 2024 16:59:22 +0000
From: Don Fedyk <dfedyk@labn.net>
To: Florian Kauer <florian.kauer@linutronix.de>, "detnet@ietf.org" <detnet@ietf.org>, "draft-ietf-detnet-yang@ietf.org" <draft-ietf-detnet-yang@ietf.org>, DetNet Chairs <detnet-chairs@ietf.org>
Thread-Topic: Discussion Item two <draft-ietf-detnet-yang-18.txt> last call
Thread-Index: AQHaRTMXR8jR2XIl30yReL1DV6OnU7DWZLcA
Date: Fri, 12 Jan 2024 16:59:21 +0000
Message-ID: <PH7PR14MB536809D9953C5E866B8E88DCBB6F2@PH7PR14MB5368.namprd14.prod.outlook.com>
References: <PH7PR14MB536866D0D41880360378F3A4BB682@PH7PR14MB5368.namprd14.prod.outlook.com> <eade3906-d44e-4a72-9d3d-2437f746469e@linutronix.de>
In-Reply-To: <eade3906-d44e-4a72-9d3d-2437f746469e@linutronix.de>
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=labn.net;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH7PR14MB5368:EE_|IA1PR14MB7295:EE_
x-ms-office365-filtering-correlation-id: 9e77a151-45f4-43f3-8fcc-08dc138fd2f7
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: zSfo/qzEhcbQfEZEW5poYZyL6e5tqtsfTErE9qifpOrNIiHLNOp/fRiyif0+cpkQd6fCMXiYTYSgqFlyKqht2OemQVsSvCnaQevdMOm7jLsgx1hcLK73YwCxruA1Qe1AGm1Tp3Zwjz0fOl7epbIRWz4z9053d7ofdappTCV8LeqY07nSNra/ckReEijNhfsNfgNBO9Nv9X0horWgQKuG7S906yI9gVNgAs9ee5OQgqZbAGCOwR2n7KG+v753yuAyXc3aoA7Rb0Dv4TOWkw36yUlfn6QcAmOrnX61TJoVkK0B2a6m6bF9Di+ydYFRUX0k66Ohp1ISWTuoirCE3dpHFruEK7nKr72koOrH3oSIkp76q0CypxopdVeAH/hOFoQbpGzImQ5LMHx+KBLgxorVPLm4vurCMPE91LXRdwscA3lrq7u5xQLJxJm7m0JdnzepWBpIZ+Fj6HmbXk4iKl7tE5hM5ga4+RS2ulcgDBa8NMUjDfvRNo1CGg1Z23LeVomD2MrfQl6zXkoVfJkHD4n47La5F+ytmZCkvkwboQc7SHbUe5ciPzqezk4cEz8TlQYJICVLs5GJ7+OpEmSfybVVu3H8+LnYtfZX6txDoWk0Zl+xcsZYfKK2NRw152R+BwMf
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR14MB5368.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(396003)(39830400003)(136003)(366004)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(66574015)(33656002)(26005)(71200400001)(83380400001)(9686003)(53546011)(478600001)(7696005)(6506007)(66476007)(8676002)(8936002)(450100002)(38100700002)(110136005)(66946007)(64756008)(66446008)(52536014)(76116006)(316002)(66556008)(86362001)(55016003)(122000001)(5660300002)(2906002)(41300700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IO75mLDarH+grg/mZyLDpoSXHfMK9UyVmhYXUIwd72f1MOiGwxf52wzLzL3qD0zTBp65JD+rTAOkCfMQZCpy6GUFcTU9sSacROxhsNza8TMa958+sVZedFim7kwuJqRMMHkcGp51k5NMWK1vfO8sRBM1FFriESZHcS2vgw7jCqhgiBnIZJD8q9+mUFGuOkPgRsCPx62HEdYkrv2nrHqBVZ/xUQKsbeqRsUGAt4Jwtr5RsuwF2AVWjdn/4jHU2xkb8pdadblHSXYQwMnNAnoAmLC/Y/gtrcFU/EIqgWYX5mCB3zE7tXHWV4dvTb+AD6mirVg6619mmuRMAymfBE8zO0wkZJ/0b38J122xRpJ8bnTlNdV+ZtAbqw2Y2OyAifJxs39DKNomLE9zvoTOVzlTKEkXlT3muxyt/QtQRudZIVDAAaZhTsWyLExoRfuxEp/c0YFY6JYId2K+yLYaA10pPgCqAJ2MpEsxr3nkeORCQ/2+sMXnM1ZqXldqZfWkjTGO2JOKNbFL/NZa2ujxgwdsEAAvQ4ihifd1+nTqAyUACUeRs2QCw+gwexs9yJSBlYA2+2EiEV7I5bNLRZPN5+GPGqhw16aI
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: labn.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH7PR14MB5368.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9e77a151-45f4-43f3-8fcc-08dc138fd2f7
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2024 16:59:21.9958 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: eb60ac54-2184-4344-9b60-40c8b2b72561
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: oyu+gQ8ES7TNecbK3AcvaJ1R1RJ2eWocOXxTDTeNzD94PceLNTSUd1/r0Mf7ZaB456b+wv+orqYVp3ESo91H2g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR14MB7295
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/BgSjzp5nUJUYVWOUik9Yo4v_Jxw>
Subject: Re: [Detnet] Discussion Item two <draft-ietf-detnet-yang-18.txt> last call
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jan 2024 16:59:32 -0000

Hi Florian

Inline [Don]

Thanks
Don 

-----Original Message-----
From: Florian Kauer <florian.kauer@linutronix.de> 
Sent: Friday, January 12, 2024 3:41 AM
To: Don Fedyk <dfedyk@labn.net>; detnet@ietf.org; draft-ietf-detnet-yang@ietf.org; DetNet Chairs <detnet-chairs@ietf.org>
Subject: Re: Discussion Item two <draft-ietf-detnet-yang-18.txt> last call

Hi,
thanks for this summary Don! Just some additions below with [FK] hoping that others would chime in.

Greetings,
Florian

On 11.01.24 20:43, Don Fedyk wrote:
> This is the second item that Florian and I discussed. L2 applications have an interface.  Florian had a question about a single application and multiple interfaces. I suggested that with current configuration any number of app1-a interface eth0, app1-b eth1 could be aggregated in a single service. 
> The same happens at egress.  There is no load balancing is you allowed multiple unspecified interfaces for a single application on ingress or egress. 
> 
> That contrasts with IP and MPLS where several routed interfaces (not specified) could do ECMP on ingress or egress. 
> 
> That was design intent unless others feel there is something we need to address here. Please feel free to comment one way or another but I will take silence as agreed no change.  
> 
> Thanks, 
> Don Fedyk

[FK] Please note that this requires only a tiny change to the YANG model:

--- ietf-detnet.yang    2024-01-12 09:19:56.579591248 +0100
+++ multiple-ingress-interfaces/ietf-detnet.yang        2024-01-12 09:18:32.602683425 +0100
@@ -1058,15 +1058,15 @@
               "Status of ingress application flow. This is an
                operational status and defaults to none if 
                incomplete.";
             reference
               "RFC 9016 Sections
                4.1, 5.8";
           }
-          leaf interface {
+          leaf-list interfaces {
             type if:interface-ref;
             description
             "Interface is used for any service type when
              matching all flows to the interface.";
           }
           uses data-flow-spec;
         } //End of app-ingress


This would then allow to specify

--- case-a-1.json       2024-01-12 09:20:36.564024966 +0100
+++ multiple-ingress-interfaces/case-a-1.json   2024-01-12 09:18:50.702878690 +0100
@@ -64,9 +64,9 @@
           "outgoing-service": "ssl-1",
           "traffic-profile": "pf-1",
           "ingress": {
             "app-flow-status": "ietf-detnet:ready",
-            "interface": "eth0",
+            "interfaces": ["eth0", "eth1"],
             "ip-app-flow": {
               "src-ip-prefix": "2001:db8::1/128",
               "dest-ip-prefix": "2001:db8::8/128",
               "dscp": 6
[Don] 
It is my understanding that in this case we would not specify any interfaces - interface is optional.  I would think at some place in the overall system outside of DetNet you would define the routing instance or VPN DetNet is part of.  I have to ask my co-authors to chime in.  



The two reasons for bringing this up were:
- Symmetry (If we allow multiple egress interfaces for an app_flow, why not also for ingress?)
- Conciseness in certain applications:

I am currently trying to set up a demo for a DetNet router with 5 ingress TSN streams on 5 interfaces and 1 egress interface for the DetNet flows. I do not know ahead which TSN stream comes in via which of the 5 interfaces, so I need to identify them via TSN stream identification.
With the current model I either need to have an additional bridge which adds latency and complexity or need to configure 5*5=25 (!) app_flows to cover all potential combinations.

So it is doable with the current model, but considering the small change and since I do not see any negative side effects, I would love to see this change in the YANG model.