[Detnet] FW: draft-ietf-detnet-yang-17: IP/MPLS over TSN

Don Fedyk <dfedyk@labn.net> Thu, 22 June 2023 14:02 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 C8778C169525 for <detnet@ietfa.amsl.com>; Thu, 22 Jun 2023 07:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.788
X-Spam-Level:
X-Spam-Status: No, score=-6.788 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTML_TAG_BALANCE_BODY=0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_HTML_ATTACH=0.01, 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 (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 HOyYs4WZu7_g for <detnet@ietfa.amsl.com>; Thu, 22 Jun 2023 07:02:45 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2109.outbound.protection.outlook.com [40.107.92.109]) (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 7222AC14CF1F for <detnet@ietf.org>; Thu, 22 Jun 2023 07:02:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jhxtmEEJb5ODUrbVxRgWGwTpFPEi7igzqe93O6icpKdCj3OLAuI78gejqZ2XDN5eNAh90GE7uuE1DmqfKlOzDvFuEYHVnl7Z0Y2pyKBKx1TF48rjeYjGg68k//iw4IyUCkcOgSWy3AXx0e+IdSjv+84sA/touV/YScYDsxPSTSyB+NMq8VP9oFKUtkoyThAs3SqiFnixOjdTY/aa4wm1jvgFTXpYBVvrtZMbFYE5OgT6zopWbMCyipBM92k1y5Zbgp1y6DwYTvpGEJ/s5Rx/5C+RQyery89A4XiV6V4PXd7tw/j4dLkJ+Iph1IHO5DZqzcBhcV/AGVRKfBklACGjlw==
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=RakFLfRv0J2DmW1VRbnVZ4ApK0oB7/dZMfiVDwg1+z8=; b=l4/ckJQl2Mf5Z1J5uCZDuSJJjqdYGkhIfGCZmuQF2Ajq3T5ubJHVugwjTFvGld62+fWq+8Leq71rIgMwPsIgbFVgPpC8g3Tkvw+iO6AnxiEbI7tiS1PAdi7lXWxhh+poxfLZCd+4c0q1T9Sje8UCQh/BbN2xSTI0v+y5zZVG4eMwBV8JVQoF3Kk4PsNo0sU+2Vp0taL6CM43sys0c3n8Y5GgLEAobOKCSNjDHNtaCot+XH6/6me5nQ8ZxRgkkZE+cduP7D1ESyStf2Fky4nQS7cz6QUzVZGitCgmZ9gCdI1COI9hRUpSpIn/me++LUp8x3CHvtiElXaJjx2TKZ3Wtw==
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=RakFLfRv0J2DmW1VRbnVZ4ApK0oB7/dZMfiVDwg1+z8=; b=JMPGA7gVvCov1pZxyDEmmRS/wynhbD80WJY6IzDyJ8QBeIuJhi3wy4bd0ktKj7B1rSoA+nb8LO6Bk66RVMxInm+hngASCZ3L/whGBaDJbYIetqtRFnv0usClEBWXwPpMVMzU4dGDhmF0w14agqerqFLTl7HTJadnGC4p7xrFDkM=
Received: from PH7PR14MB5368.namprd14.prod.outlook.com (2603:10b6:510:133::11) by MN2PR14MB3933.namprd14.prod.outlook.com (2603:10b6:208:19a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Thu, 22 Jun 2023 14:02:38 +0000
Received: from PH7PR14MB5368.namprd14.prod.outlook.com ([fe80::1fa6:960a:261a:d275]) by PH7PR14MB5368.namprd14.prod.outlook.com ([fe80::1fa6:960a:261a:d275%7]) with mapi id 15.20.6521.023; Thu, 22 Jun 2023 14:02:38 +0000
From: Don Fedyk <dfedyk@labn.net>
To: John Scudder <jgs@juniper.net>, "detnet@ietf.org" <detnet@ietf.org>
Thread-Topic: [Detnet] draft-ietf-detnet-yang-17: IP/MPLS over TSN
Thread-Index: AQHZl+PakPemWy3aZkS0y8CU+OFvoK+GenMAgAEf8DCAAPcHgIAOYdSQ
Date: Thu, 22 Jun 2023 14:02:38 +0000
Message-ID: <PH7PR14MB5368FD8A01FBB221492146A8BB22A@PH7PR14MB5368.namprd14.prod.outlook.com>
References: <74c2061c-9656-20ab-dea0-fd06a27706b8@linutronix.de> <b16eb127-6543-414a-87b8-d6825a89f191@linutronix.de> <8B8A6CBB-DF04-4D87-872B-3E07FC7F7E78@etri.re.kr> <PH7PR14MB5368AB39D2A87BC7FCDB9630BB54A@PH7PR14MB5368.namprd14.prod.outlook.com> <9F7526FD-E45D-42E6-9378-F15A6F8ED415@etri.re.kr>
In-Reply-To: <9F7526FD-E45D-42E6-9378-F15A6F8ED415@etri.re.kr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
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_|MN2PR14MB3933:EE_
x-ms-office365-filtering-correlation-id: 2a10d841-dab1-4c5e-ec04-08db73295646
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q7ZLGsf8wgXxJLpOd7p9rZ75jgkhsIrWLJL9Zt7cajK0yvO1KRO8Ckro4XbcpPNO3tvalZfK78UUHaK4UXsazXABDOVyr02ZBSo8eqdPwWfR0ILmRIAnrD9ODop+o7wSJGBL+lE6ojumq+px+PTO+UfRv1U0sHTf4AKzFFwGnF6dBmsyhjdyrNZIT+PXs8a+Add169WivUFwFO3S+31qW+waq/w4wEB8aTODOj3WyqT/KTb37ZgfFLnkwfKLSgu454rDnW1BA03uO8hXl8kHKC/VU2anEPglPA4J3y2DlBZW3UX5gjY4xWQMjKJidV5OwVFLvqfWuWitu5RMXuMAFOYRJ0VhZmymxrJKVtpshOLTG/4AWqqbt6MvNok1SRR1HXDrR55R69jHTYZbPlNV6IXbQiCjqJwInH0NjgcBkXo6uo/B2mM08kSQY0UuxASrZrZbc3N8TEIlzakTWuZSH4SwwRpSs9kr3UAMZLUS5Pw34gSZZ8wQwsSd5lAvG7GmZZxrCyYqwjyisYsD+6fCd6f9C7SWzTkKaLv5o2GM5HJNZIWhhyvZ6W2xwNvj/jcX
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:(13230028)(39830400003)(396003)(376002)(366004)(136003)(346002)(451199021)(53546011)(7696005)(478600001)(110136005)(71200400001)(76116006)(26005)(2906002)(966005)(66946007)(186003)(8676002)(66476007)(316002)(66446008)(64756008)(8936002)(52536014)(5660300002)(66556008)(41300700001)(38100700002)(122000001)(99936003)(9686003)(6506007)(86362001)(33656002)(38070700005)(83380400001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: l62JXxKaO4eG9iUT7wT354Clk1IFCMg91baUbPKdu3cSYgTN8a1fmv9wkAhkREsU0PfP36Uck5C6m2pzuh/f+37JRysMP+/GEVqoScDdbka8IFPTqCWVmxoermxFA6QPnGV7ouW37s8T8O9lxEvN9NRRoc9y0+mi2YCLLnJXsPyXUna6X6cXuzj1y35+B/QVm123CFiktVpsIo1EwcpgyuUwuY7GmC0GXDl2rZ6voljhfLHsVA1/2d8t9jzIPXUFx+mt9S55xVuo0b171HLh1uhiDxIBxFamHLejL5w7vHqB0LvZD/UYUmLNnQfSd+Ip0KdkURAPNmaKE7Boih68qYjW6TwXRI8fshKTvb8v7mD6+lD52+8HwJj6mKIgIEwX1mh+3jGOLNVWjzrEPIIvQPWuMILWlbivdjYze4Q9Zz1CjVM4gq97QpnXM+fO3NU7oUQR+2NywGNPxdj72Y7lnyvdyJgr3LQkM5kh4lzb0P8rf5JEqB6P3NMIYDMCvQxRhMPeIKGWKQfgzEkUFPTuYnb/dliVoeDo8gnWqwoTjB/Bz7nf29Jy9T020ZT1lD5NskYY+Tp2GmC9QyM7XAGnaXxUq/bSuQtSAHRPRchLZ6Y6QQR3fIgpb4KedrdvOSJnyICuL3AWsT8J5rHbnBpBcHQf9sbc2n00hO0v102dqYXU2BbTEn5h4iv2vCbtsuPsJcZLjArkiQZSMgVRJgJIX0Hzf9PwUBhBBUoTMx+s5GzBJutWh9ppaoJFaZ444ZPNDQb4/dtTxGt8PAg1NdpRJmzPbAJRxX3NwTh4NnUIBCpG5MXGsYH2pAzKFvgj+CtahIdFWRjZqU+oRWlBCYeXu7YW9TLmQoTWl+Vw3v2Ns5Etxw12giEwTbw3Brdv6Ib7+yi0ThvUjZJBiOPVIbEaAA46LIGsuhPFZbAtaahvVPZv6vuMyHwvIDkmFox1YrwFX/JO3WDrmrER5OSUy2f6RqQGOhG4Z35t/T6XyVIzcfrtx+NY+ddxc9Al+bbDZEnJGB/A3i7sljxbvS/6jGIOMQHpjgnWpb7fmpJXpIATFrcyftv2vndFKU6MlU8yTzY0euMd2ZhiEibFYgmc/RVY2BD0x0mmBWMWoPPQuikkn2236majHxE5ydTuP7Eg7Oxo/QmAn5wIOzkCNLevlH1Igje2d0qu3CkBnHDHiuu4G0E6vnu2rc6W/Ilam35rzJDCS5SPde4vFuR4psBacTPzL6QyRDSk63pmO8VsSTgsirwFGi7pabtCJ8RBkRXFaaIhQ/lUg5Fn+QaFoHAXxrFMtGmgy7gbh8MPPP3WDXq6bR9DvB7bzF7bGS/nxKeRqbcFDD03+rnOx6uZaPyHFaMdKTorYrcO2efSINegrqBFiDnD9HGF2jm24NEM9Z6qF1eFjPzqWxfRwEjUkElmpjJ2W2cyK+vV+7CvKSZ/037tfZVP2qmc1zZNa9Rwwr3uSSDYKLm0SakvSy7o8sn1othG8FP0IalH+q8WtC82YGk442Gz0FfySsU0tXG0QkEEU759x4ceQMbcZtzXwIHV0EJ5NDw23CyQF4GoINNvwEk87pbsSYQo+9V34JhBWx+FpIgd
Content-Type: multipart/mixed; boundary="_002_PH7PR14MB5368FD8A01FBB221492146A8BB22APH7PR14MB5368namp_"
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: 2a10d841-dab1-4c5e-ec04-08db73295646
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2023 14:02:38.0988 (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: Ycogbl+2GCiKMfPxID8rsowhFtuinCfSESnHlhDaVtOjmekb8AucXkXbisTybPBRiHD6M87LKg4ipwoSH+YLZw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR14MB3933
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/39bH0UbjLUG0jvLI30GFQw6y9aQ>
Subject: [Detnet] FW: draft-ietf-detnet-yang-17: IP/MPLS over TSN
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: Thu, 22 Jun 2023 14:02:50 -0000

Hi John 
FYI This contains some addition context on your comments (as well as the comment from Florian) - I believe the previous email captures these as changes but I have not merged your comments as well as Yeoncheol did here.  This is merely for reference I started with these changes and merged int the source. 

Thanks
Don

-----Original Message-----
From: 유연철 <dbduscjf@etri.re.kr> 
Sent: Tuesday, June 13, 2023 6:20 AM
To: Don Fedyk <dfedyk@labn.net>; gengxuesong@huawei.com; reshad@yahoo.com; lizhenqiang@chinamobile.com
Subject: Re: [Detnet] draft-ietf-detnet-yang-17: IP/MPLS over TSN

Hi Don,
I have attached the diff file to the attachments.
The attached diff file is the rest of the comments added based on the txt file written by xuesong. 
The additional comments I added are marked with yc.
Please check if the requested before and after comments are correct.
Thank

Best
Yeoncheol

2023. 6. 13. 오전 4:37, "Don Fedyk" <dfedyk@labn.net <mailto:dfedyk@labn.net>> 작성:


Hi Yeoncheol Can you propose a change with before and after as usual for editorial comments? 


Thanks
Don


-----Original Message-----
From: 유연철 <dbduscjf@etri.re.kr <mailto:dbduscjf@etri.re.kr>> 
Sent: Sunday, June 11, 2023 10:25 PM
To: gengxuesong@huawei.com <mailto:gengxuesong@huawei.com>; Don Fedyk <dfedyk@labn.net <mailto:dfedyk@labn.net>>; reshad@yahoo.com <mailto:reshad@yahoo.com>; lizhenqiang@chinamobile.com <mailto:lizhenqiang@chinamobile.com>
Subject: Re: [Detnet] draft-ietf-detnet-yang-17: IP/MPLS over TSN


Hi authors!


we got a good comment from "Florian Kauer" about the mandatory parameter of the YANG model.
When we first created the YANG model, it seems that mandatory statements were put in using the CASE statement, but after that, it seems that mandatory was not considered while changing to a Container without the CASE statement.
So, as in the comment, the egress node also has a problem in that app-flow/ingress/interface must be set to mandatory.
It seems that the mandatory parameter in the YANG model needs to be deleted or modified.
And looking at the egress container of App-flow, if multiple app-flows are aggregated in one service, there is no way to distinguish individual app-flows from both the service sub-layer and the app-flow. So, I think the app-flow identification part in the ingress container should be added to the egress container, what do you think?


Best regards
Yeoncheol






2023. 6. 6. 오전 4:28, "detnet(Florian Kauer 대신)" <detnet-bounces@ietf.org <mailto:detnet-bounces@ietf.org> <mailto:detnet-bounces@ietf.org <mailto:detnet-bounces@ietf.org>>(florian.kauer@linutronix.de <mailto:florian.kauer@linutronix.de> <mailto:florian.kauer@linutronix.de <mailto:florian.kauer@linutronix.de>> 대신)> 작성:




Hi all,




On 03.05.23 12:25, Florian Kauer wrote:
> [...] 
> My second question is regarding the use of type inet:ip-prefix in draft-ietf-detnet-yang-17.




I was able to clarify my confusion about the ip-prefix as soon as I understood the first example only describes the configuration/operational state at the ingress node and not the network as a whole - for the ingress locally, the concrete endpoint IP address is of course not relevant and the IP prefix is sufficient for flow mapping. It only got clear to me after watching Don's talk from IETF110 where he talks about how the YANG model is "vertically" on a certain node instead of "horizontally" as the flow model. Maybe it is worth mentioning it more explicitly in the draft and/or providing examples for the other nodes in the network, too, to provide the full picture.




As a step into this direction, I tried to write down the configuration for the egress node for the A-1 example (see below), but I noticed a few things:
- The leaf app-flow->ingress->interface is mandatory in the model, but in my understanding that interface does not exist since the traffic is only incoming from the service layer.
- For the service sub-layer on destination side, I would assume an "incoming forwarding-sub-layer" corresponding to the "outgoing forwarding-sub-layer" on source side.
I have now specified a "service-id" instead, but it does not contain a reference to the forwarding sub-layer. Have I used it the way it is meant to be?
- In the A-1 example, only eth0 and eth2 are used. Should the others be removed from ietf-interfaces:interfaces for clarity or do I overlook something?




Greetings,
Florian




{
"ietf-detnet:detnet": {
"traffic-profile": [
{
"name": "pf-1",
"traffic-requirements": {
"min-bandwidth": "100000000",
"max-latency": 100000000,
"max-latency-variation": 200000000,
"max-loss": "0.0000001",
"max-consecutive-loss-tolerance": 5,
"max-misordering": 0
},
"traffic-spec": {
"interval": 5,
"max-pkts-per-interval": 10,
"max-payload-size": 1500,
"min-payload-size": 100,
"min-pkts-per-interval": 1
},
"member-app": [
"app-0",
"app-1"
]
},
{
"name": "pf-2",
"traffic-requirements": {
"min-bandwidth": "200000000",
"max-latency": 100000000,
"max-latency-variation": 200000000,
"max-loss": "0.000001",
"max-consecutive-loss-tolerance": 5,
"max-misordering": 0
},
"traffic-spec": {
"interval": 5,
"max-pkts-per-interval": 10,
"max-payload-size": 1500,
"min-payload-size": 100,
"min-pkts-per-interval": 1
},
"member-service": [
"ssl-1"
]
},
{
"name": "pf-3",
"traffic-spec": {
"interval": 5,
"max-pkts-per-interval": 10,
"max-payload-size": 1500
},
"member-fwd-sublayer": [
"fsl-1"
]
}
],
"app-flows": {
"app-flow": [
{
"name": "app-0",
"bidir-congruent": false,
"incoming-service": "ssl-1",
"traffic-profile": "pf-1",
"ingress": {
"interface": "unused0"
},
"egress": {
"ip-mpls": {
"outgoing-interface": "eth1",
"next-hop-address": "2001:db8::8"
}
}
},
{
"name": "app-1",
"bidir-congruent": false,
"incoming-service": "ssl-1",
"traffic-profile": "pf-1",
"ingress": {
"interface": "unused0"
},
"egress": {
"ip-mpls": {
"outgoing-interface": "eth1",
"next-hop-address": "2001:db8::8"
}
}
}
]
},
"service": {
"sub-layer": [
{
"name": "ssl-1",
"service-rank": 10,
"traffic-profile": "pf-2",
"service-protection": {
"protection": "none",
"sequence-number-length": "long-sn"
},
"operation": "termination",
"incoming": {
"service-id": {
"mpls-label-stack": {
"entry": [
{
"id": 0,
"label": 102
}
]
}
}
},
"outgoing": {
"app-flow": {
"flow": [
"app-0",
"app-1"
]
}
}
}
]
},
"forwarding": {
"sub-layer": [
{
"name": "fsl-1",
"traffic-profile": "pf-3",
"operation": "pop-and-lookup",
"incoming": {
"forwarding-id": {
"interface": "eth0",
"mpls-label-stack": {
"entry": [
{
"id": 0,
"label": 10005
}
]
}
}
},
"outgoing": {
"service-sub-layer": {
"sub-layer": [
"ssl-1"
]
}
}
}
]
}
},
"ietf-interfaces:interfaces": {
"interface": [
{
"name": "eth0",
"type": "iana-if-type:ethernetCsmacd",
"oper-status": "up",
"statistics": {
"discontinuity-time": "2020-12-18T18:59:00-05:00"
}
},
{
"name": "eth1",
"type": "iana-if-type:ethernetCsmacd",
"oper-status": "up",
"statistics": {
"discontinuity-time": "2020-12-18T18:59:00-05:00"
}
},
{
"name": "unused0",
"type": "iana-if-type:ethernetCsmacd",
"oper-status": "up",
"statistics": {
"discontinuity-time": "2020-12-18T18:59:00-05:00"
}
}
]
}
}




_______________________________________________
detnet mailing list
detnet@ietf.org <mailto:detnet@ietf.org> <mailto:detnet@ietf.org <mailto:detnet@ietf.org>>
https://www.ietf.org/mailman/listinfo/detnet <https://www.ietf.org/mailman/listinfo/detnet> <https://www.ietf.org/mailman/listinfo/detnet> <https://www.ietf.org/mailman/listinfo/detnet&gt;>