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

유연철 <dbduscjf@etri.re.kr> Fri, 12 January 2024 09:11 UTC

Return-Path: <dbduscjf@etri.re.kr>
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 6E30EC14F61A for <detnet@ietfa.amsl.com>; Fri, 12 Jan 2024 01:11:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.885
X-Spam-Level:
X-Spam-Status: No, score=-1.885 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NO_DNS_FOR_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dooray.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 VT5xzIeh0VDh for <detnet@ietfa.amsl.com>; Fri, 12 Jan 2024 01:11:32 -0800 (PST)
Received: from mscreen.etri.re.kr (mscreen.etri.re.kr [129.254.9.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C7FAC14F68F for <detnet@ietf.org>; Fri, 12 Jan 2024 01:11:16 -0800 (PST)
Received: from unknown (HELO send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 12 Jan 2024 18:11:08 +0900
X-Original-SENDERIP: 211.180.235.152
X-Original-MAILFROM: dbduscjf@etri.re.kr
X-Original-RCPTTO: draft-ietf-detnet-yang@ietf.org, detnet@ietf.org, detnet-chairs@ietf.org
Received: from [10.162.225.112] (HELO smtp002-imp.gov-dooray.com) ([10.162.225.112]) by send001-relay.gov-dooray.com with SMTP id 4148dabd65a1022c; Fri, 12 Jan 2024 18:11:08 +0900
DKIM-Signature: a=rsa-sha256; b=E2GleG3yN7HYRPxAqhS6ZTjQj274WpgfDdT67zn+Xr0zHK1qeasrzfHLxnUzPF3b/Y2NsmaI7G ktbBN1/+1MBIbkk1sQDgO74G0OdUXtR1us0Pt/UBQHZ8GO/DwlOZcsQwajUelBBsVHKGkRSJBRSE Fslh0+qy/j0cQyKksrPab63q/e5bY8lS9CaIfFUUwO642LgDMwz6X2oZskjdjaGhSb421KaScHDE nCnMeLLXAP0iv4T5CzSMTdOhA8kTge3+qmFlojL/6QoHN0XFCnp4uT4flpVeGjqItBIspF4b7GYD W/L+EBBk9IZ9QvFvJrCDSkN2gMmSmCniPBm6gl6A==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=Tp81CcMiQDGH+o22KuM+IHbnKDdlGI5zdopVfkF9MPE=; h=From:To:Subject:Message-ID;
Received: from [129.254.173.97] (HELO smtpclient.apple) ([129.254.173.97]) by smtp002-imp.gov-dooray.com with SMTP id dd6009ea65a1022b; Fri, 12 Jan 2024 18:11:08 +0900
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\))
From: 유연철 <dbduscjf@etri.re.kr>
In-Reply-To: <PH7PR14MB536846BD11778425B70557E5BB682@PH7PR14MB5368.namprd14.prod.outlook.com>
Date: Fri, 12 Jan 2024 18:10:57 +0900
Cc: "detnet@ietf.org" <detnet@ietf.org>, Florian Kauer <florian.kauer@linutronix.de>, "draft-ietf-detnet-yang@ietf.org" <draft-ietf-detnet-yang@ietf.org>, DetNet Chairs <detnet-chairs@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <488872B4-295F-4DD5-9D2B-DC96438A4411@etri.re.kr>
References: <PH7PR14MB536846BD11778425B70557E5BB682@PH7PR14MB5368.namprd14.prod.outlook.com>
To: Don Fedyk <dfedyk@labn.net>
X-Mailer: Apple Mail (2.3774.200.91.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/H1dnIx0AA_FBEbqPB3B3rSc1SnI>
Subject: Re: [Detnet] Discussion Item one <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 09:11:38 -0000

Hi Don, and Florian.
Thank you for finding the missing part and finding a good solution through a long discussion.
Perhaps initially, in the case of the IP data plane, there was no operation of the service sub-layer, so only the forwarding sub-layer was considered, so that part seems to have been missed.
In the case of IP, since flows have already been classified at the forwarding sub-layer based on 6-tuples, it seems unnecessary to perform flow identification at the service sub-layer again with the same value. As in the example, it seems like a good idea to use the flow identification already classified in the forwarding sub-layer through the forwarding sub-layer reference in the service sub-layer.
Thanks.

Yeoncheol Ryoo

> 2024. 1. 12. 오전 4:43, Don Fedyk <dfedyk@labn.net> 작성:
> 
> Hi 
> There are two items that remain in the long discussion with Florian. 
> 
> This is the first point we need to resolve.  DetNet Yang can be used for a wide variety of DetNet encapsulations.  A configuration allows aggregation and disaggregation using IP and MPLS. Florian pointed out though that he was having difficulty with and L2 Application in a Detnet IP UDP encap. Below is an example. 
> 
> This is how you might config the incoming application to IP Detnet Flow. (This part required no change) 
> ...
>    "app-flows": {
>      "app-flow": [
>        {
>          "name": "app-1",
>          "bidir-congruent": false,
>          "outgoing-service": "ssl-1",
>          "traffic-profile": "pf-1",
>          "ingress": {
>            "app-flow-status": "ietf-detnet:ready",
>            "interface": "eth0"
>          }
>        }
>      ]
>    },
>    "service": {
>      "sub-layer": [
>        {
>          "name": "ssl-1",
>          "service-rank": 10,
>          "traffic-profile": "pf-1",
>          "service-protection": {
>            "protection": "ordering",
>            "sequence-number-length": "short-sn"
>          },
>          "operation": "initiation",
>          "incoming": {
>            "app-flow": {
>              "flow": [
>                "app-1"
>              ]
>            }
>          },
>          "outgoing": {
>            "forwarding-sub-layer": {
>              "service-outgoing": [
>                {
>                  "index": 1,
>                  "sub-layer": [
>                    "fsl-1"
>                  ]
>                }
>              ]
>            }
>          }
>        }
>      ]
>    },
>    "forwarding": {
>      "sub-layer": [
>        {
>          "name": "fsl-1",
>          "traffic-profile": "pf-4",
>          "incoming": {
>            "service-sub-layer": {
>              "sub-layer": [
>                "ssl-1"
>              ]
>            }
>          },
>          "outgoing": {
>            "interface": {
>              "src-ip-address": "192.0.2.8",
>              "dest-ip-address": "192.0.2.1",
>              "protocol-next-header": 17,
>              "dscp": 6,
>              "source-port": 50000,
>              "destination-port": 50001
>            }
>          }
>        }
>      ]
>    }
>  },
> ... 
> 
> At the Egress you have the reverse.  
> The "+"s show a missing option when not adding a full service header.
> Strictly speaking this option just adds clarity and symmetry with the ingress side config. Without the change you have a Service sublayer that has no specific reference  to the forwarding sub layer.  
> 
> I think it is worth adding this.      
> 
>   "app-flows": {
>      "app-flow": [
>        {
>          "name": "app-1",
>          "bidir-congruent": false,
>          "incoming-service": "ssl-1",
>          "traffic-profile": "pf-1",
>          "ingress": {
>            "app-flow-status": "ietf-detnet:ready"
>          },
>          "egress": {
>            "ethernet": {
>              "interface": "eth0"
>            }
>          }
>        }
>      ]
>    },
>    "service": {
>      "sub-layer": [
>        {
>          "name": "ssl-1",
>          "service-rank": 10,
>          "traffic-profile": "pf-1",
>          "service-protection": {
>            "protection": "ordering",
>            "sequence-number-length": "short-sn"
>          },
>          "operation": "termination",
> +          "incoming": {
> +            "forwarding-sub-layer": {
> +              "sub-layer": [
> +                "fsl-1"
> +              ]
> +            }
> +          },
>          "outgoing": {
>            "app-flow": {
>              "flow": [
>                "app-1"
>              ]
>            }
>          }
>        }
>      ]
>    },
>    "forwarding": {
>      "sub-layer": [
>        {
>          "name": "fsl-1",
>          "traffic-profile": "pf-4",
>          "incoming": {
>            "forwarding-id": {
>              "src-ip-prefix": "192.0.2.1/32",
>              "dest-ip-prefix": "192.0.2.8/32"
>            }
>          },
>          "outgoing": {
>            "service-sub-layer": {
>              "sub-layer": [
>                "ssl-1"
>              ]
>            }
>          }
>        }
>      ]
>    }
>  },
> 
> This requires a small addition to the YANG model. I 
> 
> @@ -1189,6 +1189,19 @@ module ietf-detnet {
>                  node or egress node.";
>               uses detnet-flow-spec;
>             }
> +            container forwarding-sub-layer {
> +              description
> +                "This entry allows passing the packet directly to
> +                 one or more forwarding sub-layers. This option may
> +                have no or minimal service sublayer encapsuation.";
> +              leaf-list sub-layer {
> +                type forwarding-sub-layer-ref;
> +               config false;
> +                description
> +                  "List of incoming or outgoing forwarding sub-layers that
> +                   have to aggregate or disaggregate.";
> +               }
> +            }
> 
> While I was testing this, I noted that a container labeled mpls-over-ip-encapsulation is more appropriately labeled ip-encapsulation. I think this is more accurate - it has no impact on any yang data and minimal yang/tree change.  
> 
> @@ -760,7 +760,7 @@ module ietf-detnet {
>                     "This is an IP address as a next hop.";
>                 }
>               }
> -              case mpls-over-ip-encapsulation {
> +              case ip-encapsulation {
>                 uses ip-header;
>               }
>             }
> @@ -802,7 +802,7 @@ module ietf-detnet {
>                       "This is an IP address as a next hop.";
>                   }
>                 }
> -                case mpls-over-ip-encapsulation {
> +                case ip-encapsulation {
>                   uses ip-header;
>                 }
>               }
> 
> I need co-authors to speak up and consensus this a good idea. 
> 
> Thanks
> 
> Don Fedyk
> 
> _______________________________________________
> detnet mailing list
> detnet@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet
>