Re: [lp-wan] [Schc] Fwd: draft-architecture-02-inputs TERMINOLOGY

Laurent Toutain <Laurent@touta.in> Thu, 08 June 2023 17:03 UTC

Return-Path: <laurent.toutain@gmail.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61581C14F738; Thu, 8 Jun 2023 10:03:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.548
X-Spam-Level:
X-Spam-Status: No, score=-1.548 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.096, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
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 rCLqQN8lF8Bb; Thu, 8 Jun 2023 10:02:56 -0700 (PDT)
Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 9C5BFC14E513; Thu, 8 Jun 2023 10:02:56 -0700 (PDT)
Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-30ae141785bso853341f8f.3; Thu, 08 Jun 2023 10:02:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686243775; x=1688835775; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZOVQt4NokyphSHgFWmquYYJKuBgYnAkcJFEMYIgrkZ4=; b=WXNQSgv6f00LZR52IGy/t0ZtBXGFBhbOzLP2YqWZyYPNRkNJiJompw07w1K8KDCZ26 AUIagOl7sm07SlzE8oW7BZHBwgoI8FuM44sXIdLFE7ryl7jNLomftMq20QvaqBhmktkF P8o4ccbysitAqDsdNE69pY738W4zopKKjmSCCVUj6ud5dp/uQhA87/xsZZ91dh+rvTWn 1oH/WmMPPbHC3Sr/u6ITVer6LRrv0lcHLJ1TO34VSUFkXt2FHG71KeYvneulVHo9sdS1 VDVtmB6dtGC717NUEvT+82B9kut1mgn10AZvkWKGlf+CCcKj7aSumq2t/xLo0+LfByqj IbgA==
X-Gm-Message-State: AC+VfDzsfiOxszW9eBDc56tHjvdkxJH5zAL/uuuYhbLwcvh4zmbZvNDE dJ0NVl35iBWlrbK9fd9eCJu1aLLqXewZj4HQTro36XKT
X-Google-Smtp-Source: ACHHUZ6eKRZ85jDs5+qRu1DfbiiUmcS+TKs2PurMqg8WC+Kq+UT+ZLk1e5p8Xvfw26IpN41sdmgku/n+cLBaoTfUmOQ=
X-Received: by 2002:a5d:678e:0:b0:30a:d2cb:5a12 with SMTP id v14-20020a5d678e000000b0030ad2cb5a12mr7407214wru.42.1686243774547; Thu, 08 Jun 2023 10:02:54 -0700 (PDT)
MIME-Version: 1.0
References: <CAAbr+nRsL0--uh0JCCc_xDQ8cjG3soSWC9ssh0uXjjHqFyr4vg@mail.gmail.com> <CAAbr+nRpOTi6b=vdiU23278ZVhKtPVsar=-mKbjKxGs8m4Qk3g@mail.gmail.com> <CAKUuZYRCBmjkRwX3csc3f-VdnhzV2JfKFFLEBaAH_aC_rHSvyQ@mail.gmail.com> <AS5PR07MB9895BEF3A69F226713EFC5A4D253A@AS5PR07MB9895.eurprd07.prod.outlook.com>
In-Reply-To: <AS5PR07MB9895BEF3A69F226713EFC5A4D253A@AS5PR07MB9895.eurprd07.prod.outlook.com>
From: Laurent Toutain <Laurent@touta.in>
Date: Thu, 08 Jun 2023 19:02:17 +0200
Message-ID: <CABONVQaVB1zLPvxJAzuAysPfzpcFXqJf1wzJT1j9sPdJogcThw@mail.gmail.com>
To: "Ivan Martinez Bolivar (Nokia)" <ivan.martinez_bolivar@nokia-bell-labs.com>
Cc: "schc@ietf.org" <schc@ietf.org>, "lp-wan@ietf.org" <lp-wan@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002fcbd805fda139b8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/iMFsE3tfVq_uhURRVi597OS4BGo>
Subject: Re: [lp-wan] [Schc] Fwd: draft-architecture-02-inputs TERMINOLOGY
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jun 2023 17:03:00 -0000

I agree we have to redefine clearly the terminology, as you say there is 3
level:

- Set of Rule which contains the compression rules and the fragmentation
parameters and their associated Rule ID used by a pair of nodes and the
should be exactly the same in both position (that the main axiom of SCHC)
- Set of Rule + way to identify the other end : this is not clear how to
name it, let's call it X. X could be
   - context to have a context since context is in the SCHC acronym,
   - session or instance since they can differ in time for instance if for
example TCP is used to carry SCHC message and a new connection is open
(that's just an example)
- Set of X, all the thing a SCHC entity have to talk with the other pairs.
I like Rule Database.

Laurent



On Wed, Jun 7, 2023 at 2:00 PM Ivan Martinez Bolivar (Nokia) <
ivan.martinez_bolivar@nokia-bell-labs.com> wrote:

> Hello Ana, SCHCers.
>
> Thanks for bringing this to our attention,
>
> I think we should keep things as simple as we can because introducing more
> terms would just make it more difficult.
>
> What if we consider a context to be a "set of instantiated rules"?.
> Therefore, this context consists of a set of rules plus the necessary
> metadata (timers, ... ) to identify the other end and stablish the SCHC
> instance (session).  If the instance is not used, we only have context as
> the Set of Rules (i.e no metadata just the information required to make the
> C/D and F/R)
>
> The Set of Rules gives the information required to make the C/D and F/R
>
> Since this meta data might vary during the same session (for example, TCP
> Flow or modifying rules using CORECONF, which are new cases where SCHC can
> be applied, ...), this new understanding of context is different from that
> in 8724.
>
> Then we just have two terms: Context and Set of Rules and we forget about
> "Rule set", "Rule Database"
>
> Ivan.
>
> ---
>
> Hello Pascal,
>
> I've divided my mail into different threads to discuss each point
> individually.
>
> I've copied the initial discussion.
> ---
>
> The big question for terminology is whether RFC 8724 is the reference.
> We'll need to talk about that. For the newcomer, the architecture should be
> the reference, even if that means impacting RFC 8724.
>
>
>
> [Ana] We need to make this draft the reference and agree if the
> terminology of RFC8724 is used, which could be a good thing for those that
> have already read it and implemented it. For the newcomers, at least until
> we find a consensus, they must read RFC8724, and follow this discussion. Of
> course, I'm for finding a consensus and using it. Let's try to agree and
> find good terminology.
>
>
>
> -set of rules or set of Compression/Decompression (C/D) rules.
>
> > Is it the context or something else?
>
>
>
> Yes. My problem is that the real "context," understood as an operational
> environment, should represent all the data associated with a particular
> instance, and each instance should have its own.
>
> RFC 8724 uses "context" for a rule set, which is instantiated for each
> instance and does not represent the whole context of that instance.
>
>
>
> -rule database. I didn't find any definition for it. Does it mean a
> context plus something else? or only context?
>
>
>
> The text says
>
> "
>
> ... select from the rule database the set of rules that apply to the SCHC
> Device and the current state of their exchange, e.g., timers and previous
> fragments.
>
> "
>
> For the lack of a better term, we used a database. Happy to fix it. That's
> the operational environment I was talking about, and the set of
> instantiated rules is just a component of that. The state includes timers
> and whatever else this instance is manipulating.
>
>
>
> -Rule set. Do you mean context?
>
>
>
> Does context mean instantiated or not? Like the rules could have $IP for
> the source IP, and then once instantiated for a device, it becomes
> 2001:dba::1
>
>
> [Ana] Do we need to introduce the instance parameter in the definition of
> context?
>
> You use it, so we must differentiate each instance from the whole.
>
> Introducing the instantiating parameter makes us three terms.
>
> - Context. In an operational environment should represent all the data
> associated with a particular instance, and each instance should have its
> own.
>
> - Set of Rules. Is the context instantiated for each instance
>
> - Rule set. Is the instance used in a device
>
>
> For instance, if the instance is not used, we only have context as the
> information required to make the C/D and F/R.
>
>
> How are things most precise? With or without this instance parameter?
>
> In my opinion it is easier to only have context.
>
>
>
> Ana
>
>
>
>
>
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>
>
> --
> Gracias
> Ivan Marino
> --
> Schc mailing list
> Schc@ietf.org
> https://www.ietf.org/mailman/listinfo/schc
>


-- 
Laurent Toutain
+------ VoIP (recommended) ---+--- Télécom Bretagne --- +
| Tel: +33 2 22 06 8156             | Tel: + 33 2 99 12 7026    | Visit :
| Fax: +33 2 22 06 8445            | Fax: +33 2 99 12 7030   |
http://class.touta.in
| Laurent@Touta.in                   | Laurent.Toutain@Telecom-Bretagne.eu
+----------------------------------------+--------------------------------+