[lp-wan] identifying a rule set

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 26 August 2020 14:08 UTC

Return-Path: <pthubert@cisco.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 0E49A3A14A9 for <lp-wan@ietfa.amsl.com>; Wed, 26 Aug 2020 07:08:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=W49A/Hyn; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=h5xWAecf
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kprws2uZSM1n for <lp-wan@ietfa.amsl.com>; Wed, 26 Aug 2020 07:08:23 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C370D3A14A8 for <lp-wan@ietf.org>; Wed, 26 Aug 2020 07:08:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=135293; q=dns/txt; s=iport; t=1598450902; x=1599660502; h=from:to:subject:date:message-id:mime-version; bh=w6aDxLIdooFXp2o7oVERo/97wiKH/9i4Kmzn7Mt03uE=; b=W49A/HynjAArlGII7GfhoSwk2JmEQUhYCawjxw8OxcwgssErPVqMahqP 22o/JZIvBbKAuyHjrItfTa41Q84MdG1l1mLdkrppyUoWiiKOkXqVCq9Pw W/Hzi8VhoR9mVtr+JN/HmLwzXGjWQZ1lwBgHJGimBpFVVNNWWE1ts+kKh E=;
X-Files: image001.png : 90753
IronPort-PHdr: 9a23:5RnuPR8otBPFZ/9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+7ZRaN5PhxghnOR4qIo/5Hiu+DtafmVCRA5Juaq3kNfdRKUANNksQZmQEsQavnQU32JfLndWo2ScJFUlI2/nynPw5SAsmtL1HXq2e5uDgVHBi3PAFpJ+PzT4jVicn/1+2795DJJQtSgz/oarJpJxLwpgLU5cQ=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BABgBtbEZf/4ENJK1fgQmBSoEjL1EHcFgvLId9A55WgxSEboEuFIERA1UEBwEBAQkBAgEBIwoCBAEBhEwCgjgCJDQJDgIDAQELAQEFAQEBAgEGBG2FXAyFdQkBDBMIARIBATgRASUBAQEoBRABDgwfBwEEEgEGAgYUgwWCSwMuAQ6mGgKBOYhhdIE0gwEBAQWBNwKDXhiCBwcDBoE4gnEthGqFHBuBQT+BEUOFZwEBA4EiPCuDHYItkACJdYFMkAODEId+CoJjhxcCgU2GTYJniDKDBp04kGyDSYhdlQACBAIEBQIOAQEFgVQ6gVdwFYMkUBcCDY4rF4NOhRSFQnQ3AgYKAQEDCXyQAwEB
X-IronPort-AV: E=Sophos;i="5.76,355,1592870400"; d="png'150?scan'150,208,217,150";a="532021610"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Aug 2020 14:08:08 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 07QE87uk014860 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <lp-wan@ietf.org>; Wed, 26 Aug 2020 14:08:07 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 Aug 2020 09:08:07 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 Aug 2020 09:08:07 -0500
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 26 Aug 2020 09:08:07 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UpvLo6YycC7Vs6uiQhK+K+zfhIYCh8wXRpHcSMMuJW1trpDgHF2SMnSIfaV8QtRfW1en/udjSz0tj3QnPYhVauSGawgv719U63lJIoyaaJ1NfkrA4IoSvYSz647v/jO0DzmAOaNXVOtBzkGqF1+JDlq7KwCbehVexPPd13PNiAOmNmHb7tUdwPDqo1jKPQe3FkDLHn2kG0O5jBPdp5qBtPFm9UNx7SZrqIuLePirMOQGppfSfBtuoyegYZqKObtusHnjXuRIFhpqioXnQr62C6/yvTcQ6RWLSZjM+U85xLz9KZHb77KMxSY9ZFchxvz25phKIm7l8oNQVNaAMuVvGQ==
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-SenderADCheck; bh=ODFBz7+KzEWH/Xd52RKi6QHs8Ugh8zwm7G7nCYDOgGA=; b=ZCMdVC8PSQfjLUKDI1lrjY7fkmlDiHbaoQ3naMrPpjUh9oUzzkYvBkknNayc8nkQHSZdqHnt5dMf7h3gkdsBSAN6VSM/lUVeZBv9m/FTS1zwjDOAB7wNiz/kEV/jB1OkPgo5bETK0pNZ8tWHbABxqqczMgSQt4906e+fXJpN6uie3Dhf8vdi4+A8RpHIa4Fv2KjBKMgHBy+caiO4hjoFVljnk83TZGQ2ENVZCK+znd5XhjRw/T3Y0rA4UEsyTk1c/VRU7JCvlgLi52+sL8kw9/1xssxZUyVgom5OYEtlWhvHgiVZG15/zRyQv1Z/8ST7f5KsJ/Un21yT9OXbyQtvxQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ODFBz7+KzEWH/Xd52RKi6QHs8Ugh8zwm7G7nCYDOgGA=; b=h5xWAecfHLtbk8ZKMYi5RJrFI0qixQlQn97BoVfoKz3hunJ+bhgEk7i3LTeu4tQk6m5nJVJtq32VknyrBLRG5eZUsRfOv2g/nGBvQAYGs+E4ZLq/bYuBQh6ppvui6kBAetYnjxEOFV6Hj9cuT6RuSaZMXaIRJnEYG2L+F2/B/QQ=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB3616.namprd11.prod.outlook.com (2603:10b6:208:ed::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.26; Wed, 26 Aug 2020 14:08:06 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::40e1:2d7d:1a3:cf8a]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::40e1:2d7d:1a3:cf8a%3]) with mapi id 15.20.3305.026; Wed, 26 Aug 2020 14:08:06 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: lp-wan <lp-wan@ietf.org>
Thread-Topic: identifying a rule set
Thread-Index: AdZ7rflrsGmaDQhCR9GpSHpGiO7rEA==
Date: Wed, 26 Aug 2020 14:07:43 +0000
Deferred-Delivery: Wed, 26 Aug 2020 13:57:32 +0000
Message-ID: <MN2PR11MB3565487E19BFC001C7AC70A5D8540@MN2PR11MB3565.namprd11.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2a01:cb1d:4ec:2200:9db4:81ac:a9b5:6a8b]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 08523d9e-305a-4525-5dcd-08d849c9744e
x-ms-traffictypediagnostic: MN2PR11MB3616:
x-microsoft-antispam-prvs: <MN2PR11MB3616CED60C7AD7E82E728A6CD8540@MN2PR11MB3616.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5WKaRJ16BPdukmGtneNUE7GKaJGT/Jewtb0CT9nfxQcrtj+05sgQihK/Ctn9P0GniDPrUEMIwgnnvAMDh/nUPcYrYPPl2StYYBp1ZlAOvLBiMLMwbfdfFjyRa4i0CYezd/azQCJZrI+65qjzCmp8ZEbWDAyhKeheJrxAflg69fc0EEk5qC+6HlIb6Nau17VXkWW35AFjfx6mSztJ8EO7pgqlZDvMYshUjsvm6dQga+xn1cLLq5I6q+P30A8dnXsr5W1M2EIv6ep1nUiQ7vHaOSw+/pV+6LAUyM85qI8t4N+dyWco+1ejbAduBSSqPer4w7fsWq9ATnCAc6UbBO0QELI74AJiFu/kwLpodcCHLpRNK3hYsi0rH+fo9CM444uT9q9exWhbSh08KNspMjRxCw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3565.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(396003)(346002)(366004)(136003)(478600001)(166002)(33656002)(6916009)(55016002)(966005)(2906002)(9686003)(71200400001)(99936003)(3480700007)(66946007)(19627235002)(66616009)(66476007)(66446008)(66556008)(6666004)(64756008)(86362001)(52536014)(5660300002)(8936002)(316002)(83380400001)(6506007)(186003)(7696005)(8676002)(76116006); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: GyKbDBgWtHOwR4agy8/FyRDycZAx919QwFqd2CLYfLw0UeO9pDlpUz4i+0eTOXlvLHW6ag0oPVwQYeXZnbmQgMGQ6w/qJ7kSNqGbIGk1PhIGVsGoAIvAq71LSfv6be7PCXMkICMKyYuaV7HVc3LdU/GFDNftSEduh6DGNP4LZ/AxqtzqWgsrEMyWxE4QnTB45Z7b4RpM1P8k8nia3BX5exH86rFVD1Pceo7OI+WhRr7yAmEx0mX0JwOd5uFM8b6heOVKv4qfZp2MnCGruXUwg0AGJ+2wv6aWbuuR11+uCPW8TyxZYYHoLJFluTpLPcs8/l4aihyrG1/WFuJHUWhhVJQfda1Vcqr+lv4OUk4oEbZ2f00QwmnAmDUu0MCqMCZrK67Rdt1iMskJGilCDnnHEDNbW21VnchXjJ5pR2BiCTlleL3Hi4JL8NzPcPlGwJxVvvw3ntHivYaPr7yjdXVoUBwE3WUamSRn1yYnd0bmMFs4/iUGgFMf0iUxaaGxPMlzX1MQz//jOYr2ufJVGQM3SZG4dPYwd2eZT4GSR91hs+XMJvPnoDMjdS64/B0bKZ2kvFC9P/auxCvJwlcjjchOq+xPNN8plQBLv5VxNmwABZ1kvGzzOhGUadC64ufj5Z+WSTkAgfN2gDwg9WF9nPu9reQLHA3kvccYCBsUfePRYHrlilv/VNMreqKu0Io/uYtStCx4bYdLs6BBFb0EjHcJiw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/related; boundary="_004_MN2PR11MB3565487E19BFC001C7AC70A5D8540MN2PR11MB3565namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3565.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 08523d9e-305a-4525-5dcd-08d849c9744e
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2020 14:08:06.0492 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: PdixzYDDzdJlfz4oQVNEUwTu0Iq8MXv3iH9O3Gv59SMPeFvNsq93TpBUxB2BFVdN41X7pv83mbJtaKyxClnR5w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3616
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/LdX0I5WKhGpLigxdWB_NE8AGPOo>
Subject: [lp-wan] identifying a rule set
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 26 Aug 2020 14:08:25 -0000

Dear all

There will be a time where SCHC will be highly successful and there will be repositories to obtain a rule set from.

https://tools.ietf.org/html/draft-thubert-intarea-schc-over-ppp expects that and provides the URI [RFC3986] of the rule set in the PPP compression in the optional data of the IPv6-Compression-Protocol. The format would be JSON encoded Yang, based on https://tools.ietf.org/html/draft-ietf-lpwan-schc-yang-data-model<https://tools.ietf.org/html/draft-ietf-lpwan-schc-yang-data-model-03>. The SCHC compressor and decompressor (C/D) would pull the rule set from same appropriate repo in order to guarantee a matching operation.

At some point we need to agree on a workflow that enables to set, update, lookup and decommission entries in those repositories. Out of my hat I drew the following workflow:

[cid:image001.png@01D67BC1.77E1CE40]

What that indicates is that the Rule Set can be either indexed by device, or by standard, and for each of these, there will be versions.
These will be the keys to access the Rule repositories. Which tells me that there should be a format for those keys as well, in a way that guarantees that each key is unique.
Should we have a Yang for that as well. Should the Key be part of the model of the rule set?

Also, the rule set may be modified, so it also needs a versioning.

What I see in the draft right now is this:

container schc {
        leaf version{
            type uint64;
            mandatory false;
            description "used as an indication for versioning";


I assumes that the "version" leaf above versions the rule set of a device. And that by device we abstract a physical device, or a standard protocol, and either way, a version for it.
Is that correct?

Take care,

Pascal