Re: [Detnet] Last Call: <draft-ietf-detnet-yang-18.txt> (Deterministic Networking (DetNet) YANG Model) to Proposed Standard

Florian Kauer <florian.kauer@linutronix.de> Fri, 22 December 2023 20:22 UTC

Return-Path: <florian.kauer@linutronix.de>
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 0F1EDC14F6EC; Fri, 22 Dec 2023 12:22:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 (2048-bit key) header.d=linutronix.de header.b="Wfg4Fash"; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=linutronix.de header.b="/7VYfZRD"
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 ky4dL1M1LOcz; Fri, 22 Dec 2023 12:22:45 -0800 (PST)
Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A198DC14F6E2; Fri, 22 Dec 2023 12:22:44 -0800 (PST)
Message-ID: <44ac1f6e-a1c1-4114-a099-bd96eacea1ce@linutronix.de>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1703276562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=ZgtWI6FXVHkGle2oC7zcCQy2iK3WJSHPdBn6oHweG7A=; b=Wfg4Fashml1LpyRc17rvRE1A4PXqLroYihFGhVlN9kAGV14YZV6JsbOszCFQbTrxD9F6zP qUL031lvaPJpOwyuafFiZxzBgjjjZCCsZiZRfQXBgrUacF47/f+TBjgSRExKqPPsl/HFqG GHYJMJmZwLTB23vrG+fzI0sIFAUWBUG1kvmi6aWIhENRZWNYiWQb1bZQzYibjivjBjI74B MZVO65t1zamYjGEVQ3VoCzhfXpzvaMaP+4YalYV9Ju9H7TbeA3bG7pZsNe4CgsS9MuRs/o uB8DF0a2AzgVdKKeXYtZcH1RJXsOKyHpFZUXlngD+9GGmzRIKei7KEEL++ZiGQ==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703276562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=ZgtWI6FXVHkGle2oC7zcCQy2iK3WJSHPdBn6oHweG7A=; b=/7VYfZRDPEjMOzuXqjLEU2wC6wbo6FTDSI73hBMqGpDx/Hj62+6FVgIfFySJJXiGitqI2f ax6mC3U+HT88g1Bg==
Date: Fri, 22 Dec 2023 21:22:39 +0100
MIME-Version: 1.0
Content-Language: en-US
To: Don Fedyk <dfedyk@labn.net>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-detnet-yang@ietf.org" <draft-ietf-detnet-yang@ietf.org>
Cc: "detnet-chairs@ietf.org" <detnet-chairs@ietf.org>, "detnet@ietf.org" <detnet@ietf.org>, "janos.farkas@ericsson.com" <janos.farkas@ericsson.com>, "jgs@juniper.net" <jgs@juniper.net>
References: <170180619452.981.2657917158901639039@ietfa.amsl.com> <01caf93f-efdf-4293-89fd-e296cd3465f9@linutronix.de> <PH7PR14MB536872E10E81EE003BA11E23BB97A@PH7PR14MB5368.namprd14.prod.outlook.com>
From: Florian Kauer <florian.kauer@linutronix.de>
Autocrypt: addr=florian.kauer@linutronix.de; keydata= xsFNBGO+z80BEADOSjQNIrfbQ28vjDMvs/YD/z0WA/iJNaD9JQDXNcUBDV1q+1kwfgg5Cc7f rZvbEeQrO7tJ+pqKLpdKq6QMcUW+aEilXBDZ708/4hEbb4qiRl29CYtFf8kx4qC+Hs8Eo1s3 kkbtg/T4fmQ+DKLBOLdVWB88w6j/aqi66r5j3w9rMCaSp0eg7zG3s/dW3pRwvEsb+Dj7ai2P J1pGgAMKtEJC6jB+rE17wWK1ISUum22u17MKSnsGOAjhWDGiAoG5zx36Qy5+Ig+UwIyYjIvZ lKd8N0K35/wyQaLS9Jva0puYtbyMEQxZAVEHptH1BDd8fMKD/n03GTarXRcsMgvlkZk1ikbq TL9fe2u9iBI861ATZ4VwXs48encOl3gIkqQ/lZbCo8QRj7pOdvOkx/Vn20yz809TTmRxCxL1 kdSbHROfEmUCAQdYSLUUfPYctCIajan/zif/W3HZKJJ3ZTbxdsYonLF9+DSlkFU+BSL147in tDJ83vqqPSuLqgKIdh2E/ac2Hrua0n80ySiTf7qDwfOrB8Z2JNgl1DlYLbLAguZJ4d608yQZ Tidmu22QopA47oQhpathwDpEczpuBBosbytpIG7cNvn98JnEgWAwRk0Ygv9qhUa/Py4AcYG8 3VEkoTZ9VNSP1ObMxcraF+KH5YYkR6Rd2ykmTulh4FqrvyOyMwARAQABzStGbG9yaWFuIEth dWVyIDxmbG9yaWFuLmthdWVyQGxpbnV0cm9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mq+Lae5V2CXQ121fLwAAFfuaDYJ4/y4Dl1yyfvNIIgoUEbcyGqEv KJGED0XKgdRE7uMZ4gnmBjh4IpY6a2sATFuBiulI/lOKp43mwVUGsPxdVfkN/RRbFW7iEx63 ugsSqUGtSA==
In-Reply-To: <PH7PR14MB536872E10E81EE003BA11E23BB97A@PH7PR14MB5368.namprd14.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/EXqdJhREXHq1IZ7gtwz1OOJ6PeA>
Subject: Re: [Detnet] Last Call: <draft-ietf-detnet-yang-18.txt> (Deterministic Networking (DetNet) YANG Model) to Proposed Standard
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, 22 Dec 2023 20:22:49 -0000

Hi Don,
thanks for your response!
Below I removed everything that looks good and added my comments with [FK].

On 19.12.23 22:19, Don Fedyk wrote:
>       typedef ipsec-spi {
> @@ -1113,6 +1113,79 @@
>           description
>             "The Application flow type choices.";
>           container tsn-app-flow {
> +---
> +fk: In case of a tsn-app-flow, how does the actual encapsulation take place?
> 
> [Don] This is a YANG specification that satisfies the operations in DetNet RFCs  
> Listed in the references.  You can think of it as a configuration for an 
> SDN controller that specifies encapsulation/decapsulation on various nodes/devices
> along the data path. It is not specifying "how" it is specifying "what" aggregation,  
> disaggregation functions are applied along the data path and which technology is used.
> 
> Also reading through your comments I think there is mis understanding.  
> 
> DetNet is not an any to any encapsulation. It is specifically what is covered in the DetNet architecture to support DetNet encapsulation flows for aggregation or replication.  We have specific type of encapsulations and behaviors that must be specified on ingress. The reverse operations don’t need as much specification because you are removing an outer encapsulation and exposing another header. I will try to see if this point is spelled out in the ID. 

[FK]: Yes, I agree that the YANG specification document is not the correct place to specify how to implement the encapsulations in detail (for that we have for example RFC 9024 and others). The reason why I raised this in the context of the YANG model is that it makes it obvious how many different options of combining TSN/IP/MPLS/... there are. And there are options that are both reasonable and permitted by the YANG model, but in my opinion not unambiguously covered by any DetNet specification (including TSN over IP over TSN without MPLS).

Again, that is not a weakness of the YANG model, but I am just worried that if we come to an agreement about all combinations we might find something that needs to be added to the YANG model to properly cover that case.


>   
> +
> +For reference, lets look at a few cases and how I have understood them:
> +
> +1. ip-app-flow, nothing MPLS related in service or forwarding sub-layers:
> +   -> Just transmit unmodified packet with new L2 header.
> ++---------------+      +----------+
> +| Payload       |      | Payload  |
> ++---------------+      +----------+
> +|   UDP         |      |   UDP    |
> ++---------------+  ->  +----------+
> +|   IP          |      |   IP     |
> ++---------------+      +----------+
> +| L2 (original) |      | L2 (new) |
> ++---------------+      +----------+
> 
> [Don]  Is this is a DetNet Appflow?  Please see DetNet Architecture RFC 8655 Figure 3. Also Data Plane Framework RFC8938.
> We are only concerned with DetNet.
> 
> The drawing is a bit ambiguous for DetNet.  
> The Payload could be the TSN flow then the IP is a DetNet sub-network and you have a DetNet packet. The L2 is irrelevant.  
> If the whole stack Payload/UDP/IP is a TSN payload then TSN is the subnetwork layer. It would be a TSN application frame in ingress and the SAME frame on egress.    
> 
> The YANG model aggregates (encapsulates) and disaggregates (decapsulates) DetNet packet but it does not change/translate a TSN L2.  The encapsulation layers for DetNet are IP/MPLS not Ethernet L2.   (we don’t specify egress L2 headers we can match L2 ingress headers at the Application interface).  

[FK] Yes, sorry for the confusion! Of course, explicitly changing the L2 header not in the scope of DetNet (and thus the YANG model). I just added the L2 to indicate that the packet can move from one TSN domain to another, while everything L3 related in the packet stays constant.

In this example, the payload was meant to be the actual application payload (like MQTT) and not an encapsulated TSN L2 (that is covered by case 4).

>       
> 
> +
> +2. ip-app-flow, but MPLS label is added:
> +   -> Squeeze in MPLS header.
> ++---------------+      +----------+
> +| Payload       |      | Payload  |
> ++---------------+      +----------+
> +|   UDP         |      |   UDP    |
> ++---------------+  ->  +----------+
> +|   IP          |      |   IP     |
> ++---------------+      +----------+
> +| L2 (original) |      |   MPLS   |
> ++---------------+      +----------+
> +                       | L2 (new) |
> +                       +----------+
> [Don] Again if this is an IP App flow you have this. L2 Not relevant.
> 
> ++---------------+      +----------+
> +| Payload       |      | Payload  |
> ++---------------+      +----------+
> +|   UDP         |      |   UDP    |
> ++---------------+  ->  +----------+
> +|   IP          |      |   IP     |
> ++---------------+      +----------+
>                         |   MPLS   |
>                         +----------+

[FK] Yes, see my comment above regarding L2.
> 
> [Don] Or if it is TSN app flow you have this: 
> 
> ++---------------+      +----------+
> +| Payload       |      | Original |
> ++---------------+      | L2 Frame |
> +|   UDP         |      |          |
> ++---------------+  ->  |          |
> +|   IP          |      |          |
> ++---------------+      |          |
> +| L2 (original) |      |          |
> ++---------------+      +---------------------------+
> +                       | DetNet Service Sublayer|  |
> +                       +---------------------------+
> +                       | DetNet Forwarding Sublayer|  |
> +                       +---------------------------+


[FK] In my classification, TSN app flow is case 4. But anyway, the question I am having for case 4 is how what you denote as "DetNet Service Sublayer" and "DetNet Forwarding Sublayer" specifically looks like in the TSN app flow case (see below).
                        
>  
> 
> +
> +3. mpls-app-flow:
> +   -> Only optionally modify MPLS header
> ++-----------------+      +------------+
> +| Payload         |      | Payload    |
> ++-----------------+      +------------+
> +|   UDP           |      |   UDP      |
> ++-----------------+  ->  +------------+
> +|   IP            |      |   IP       |
> ++-----------------+      +------------+
> +| MPLS (original) |      | MPLS (new) |
> ++-----------------+      +------------+
> +| L2 (original)   |      | L2 (new)   |
> ++-----------------+      +------------+
> 
> 
> [Don] If it is an APP flow it gets encapsulated. We can encapsulate service sub-layer as application layer for example.  This header format could also be a service sub layer and we show examples of changing the labels as a serve sub layer and forwarding layer.   

[FK] Sorry that was depicted ambiguously since I merged all MPLS headers into one. I actually meant:

+-----------------+      +-----------------+
| Payload         |      | Payload         |
+-----------------+      +-----------------+
|   UDP           |      |   UDP           |
+-----------------+  ->  +-----------------+
|   IP            |      |   IP            |
+-----------------+      +-----------------+
| MPLS (original) |      | MPLS (original) |
+-----------------+      +-----------------+
                         | MPLS (new)      |
                         +-----------------+

Is that better this way or did I misinterpret your comment?


> +
> +4. tsn-app-flow:
> +   -> In order to be able to reconstruct the full original L2 packet, we need
> +      to retain the L2 header. So we need something like:
> +
> ++---------------+      +-----------------+
> +| Payload       |      |    Payload      |
> ++---------------+  ->  +-----------------+
> +| L2 (Original) |      |  L2 (Original)  |
> ++---------------+      +-----------------+
> +                       |      ???        |
> +                       +-----------------+
> +                       |   L2 (new)      |
> +                       +-----------------+
> 
> [Don] This is specified in IEEE TSN.    DetNet uses IP/MPLS as the service sub layer. 

[FK] ??? here is a placeholder for UDP/IP/MPLS headers, sorry that this was not clear.
In RFC 9024 Figure 3 the following two options are depicted (translated into the notation of my mail):

+---------------+      +-----------------+
| Payload       |      |    Payload      |
+---------------+  ->  +-----------------+
| L2 (Original) |      |  L2 (Original)  |
+---------------+      +-----------------+
                       |      MPLS       |
                       +-----------------+
                       |  L2 (new)       |
                       +-----------------+

+---------------+      +-----------------+
| Payload       |      |    Payload      |
+---------------+  ->  +-----------------+
| L2 (Original) |      |  L2 (Original)  |
+---------------+      +-----------------+
                       |      MPLS       |
                       +-----------------+
                       |      UDP        |
                       +-----------------+
                       |      IP         |
                       +-----------------+
                       |   L2 (new)      |
                       +-----------------+

(L2 can either be TSN or something else, therefore there are three options in RFC 9024 Figure 3.)

I would expect that at least these two cases could be differentiated via YANG somehow (either in the draft-ietf-detnet-yang or in another model). What do you think?

But there are certainly some more possibilities like:

+---------------+      +-----------------+
| Payload       |      |    Payload      |
+---------------+  ->  +-----------------+
| L2 (Original) |      |  L2 (Original)  |
+---------------+      +-----------------+
                       |      UDP        |
                       +-----------------+
                       |      IP         |
                       +-----------------+
                       |   L2 (new)      |
                       +-----------------+

But I have not seen that being specified anywhere yet, but it would be one option to realize the "TSN over IP over TSN without MPLS" case.


> +I know there are several different ways to realize this, including just 
> +transmitting the L2 packet over MPLS (apparently not IETF 
> +standardized?) or several others like L2TPv3 (RFC3931) or VXLAN (RFC 
> +7348) if no MPLS labels are to be added (like in case 1 above).
> 
> +
> +I would expect the YANG model (either this or a linked one) to somehow 
> +specify which of these options shall actually be applied. Otherwise, 
> +two DetNet routers might not be able to communicate with each other, 
> +because one might use L2TPv3 and the other one VXLAN. And also for 
> +example in the case of VXLAN, we would need the option to specify a VXLAN Network Identifier.
> 
> [Don] The scope of the YANG does what DetNet documents outline. There is no VXLAN or L2TP3 specified in the DetNet when this applied. 
> The DetNet YANG works by specified the whole path and applying the appropriate encapsulation format at the appropriate places. Yes the encapsulation specified on each device must match just the way SDN controllers specify packet forwarding in several technologies.

[FK] You have convinced me that it does not make sense to hold back the YANG model until someday someone might come along who finds a use case for VXLAN or L2TP3 in DetNet. And there is still the option to specify an extension to the YANG model in that particular spec if needed. 


>               uses data-flow-spec;
>               choice application-type {
>                 description
>                   "This is the application type choices.";
> +---
> +fk: This part is quite confusing to me, especially since it does not directly mirror the ingress since.
> +I guess one reason for that is there could be multiple interfaces that could be selected based on the packet headers?
> +But for the same reason you could also have multiple ingress interfaces.
> [Don]  For Egress the options are different because we get here by decapsulating the service sub-layer. We have either some type of TSN frame (Ethernet) or IP/MPLS but we are basically only associating the flow with an interface at the end of a service sub-layer.  

[FK] So the TSN case is clear to me because in both cases you have zero or one interface (app_flow->ingress->interface and app_flow->egress->ethernet->interface).

But in the case of IP or MPLS we have still zero or one interface for ingress (app_flow->ingress->interface), but since there can be multiple different next hops for A SINGLE app-flow,
we can have multiple interfaces for egress (app_flow->egress->ip-mpls->next_hop*->outgoing_interface).

That means the current model allows to split up A SINGLE app-flow like this:

                                                 +---------------+
                                            ---> | Destination 1 |
+----------+    +---------+    +--------+  /     +---------------+
| Source 1 | -> | Ingress | -> | Egress |--  
+----------+    +---------+    +--------+  \     +---------------+
                                            ---> | Destination 2 |
                                                 +---------------+

But not to merge one like this:

+----------+
| Source 1 | --
+----------+   \    +---------+    +--------+    +---------------+
                --> | Ingress | -> | Egress | -> | Destination 1 |
+----------+   /    +---------+    +--------+    +---------------+
| Source 2 | --
+----------+

So either we have exactly one source and one destination for an app flow. Then why do we have multiple next hops for egress?
Or we allow multiple sources and destinations per app flow, then we need to support multiple interfaces at ingress, too. Or do I overlook something?

>     /detnet/service/sub-layer/incoming/app-flow: This links applications
>     to services.
> @@ -2608,6 +2713,14 @@
>          |     +--rw operation?            operation
>          |     +--rw incoming
>          |     |  +--rw (incoming)?
> +---
> +fk: One thing I raised before, but it either my comment got lost or i missed the response:
> +Why is there no incoming forwarding sub-layer for the service sub-layer?
> +An app-flow has outgoing service-sub-layer and incoming 
> +service-sub-layer, a forwarding sub-layer has incoming 
> +service-sub-layer and outgoing service-sub-layer, a service sub-layer 
> +has incoming app-flow and outgoing app-flow and it has outgoing forwarding sub-layer, but NO incoming forwarding sub-layer.
> [Don] Sorry I missed your comment before.   
> The operation of Service-sub-layer to forwarding sub-layer is an association of an encapsulation operation. The reverse direction is simply a removal of the forwarding layer and a match in the now exposed service Sub-layer.  Therefore, you do not need the same level of description.

[FK] Yes, but what do I specify as service->sub-layer->incoming for an egress node? Just keep it empty? Especially if no MPLS is involved.

Greetings,
Florian