Re: [CCAMP] Question about identities with multiple bases

tom petch <ietfc@btconnect.com> Fri, 05 June 2020 11:27 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E2733A148E; Fri, 5 Jun 2020 04:27:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LOTS_OF_MONEY=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 4C9uuTcrQbPc; Fri, 5 Jun 2020 04:27:47 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2106.outbound.protection.outlook.com [40.107.20.106]) (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 47B703A148D; Fri, 5 Jun 2020 04:27:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRLTuuK6Mm1tRwUAZvBQTjAJHqRVcVZJRNolgfvhMZiOEr1iCpv6+fmEwH8sN8gwQpwBF9Od+HA1fek1Hfxv+ztRw2fe6WkYDtQCj9hOubDu0koh6mAVyYvMUcyBDEtEIF2bwdYMJGpVezV7ib+eK0zWBV9unGYlQ9GxSMbWoACnLqJmcx1Si1GulPlayw5FFMIXEJWomwlsD63JtX+hUhDwTZv38KcBafCHDNUmwnwIzlFf48/abXWyXVKqccVJK8o8vKU9hdFAuNBQOEwCN+ynfJVuy+pWpgr2gd1xgoFiEaw9R4htxdQRumDAn0SnZuXst+q18jujDeHZ/Rq08w==
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=wDH9O+VT/duPA5CHcvHB+2mCCvPaeO1j1d8cUCUxiE4=; b=b85DBMcF9tD5QeXGGXRd0700xyEKnNSmkZ8jfkU3I8sFyhGe2XkwjgEFXdk2fLh/w/UgSh0tHFnlKbkzaoH0qk6514Sj7NwUEbF/7C6uOuMQ9xILW1VN3BH2rs6ZqrTluXklX17Cz04jUJnR44nXaV4G6z/XIL35gzKqg+ktLEsouuK58v+e+NaiNMK14ugx7CJvG2kwNPIjSkPuBaj01etDs8B4jlRWe84fHu42SpfHkxYkd5CFxGFQ/wIm5b7vpzrPF1D3hKNdx93AF0T74f1Zfqc7hep9TvDYoDujSmwNFZnH96lnpghVOLUNt6xkxt9+mo6OyCaZuZGG/ic+aQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wDH9O+VT/duPA5CHcvHB+2mCCvPaeO1j1d8cUCUxiE4=; b=FWC1yt8P/8zsZ50qGlfBrQIIkP/42Ik5DPRaVVwreDJR9bACqlebA9wcU4zDPKR+v58ZVgBhTl/8idfE7+PZ3lH5NjQC7BcyGcexMP9L6l/9xfvG5c72cKZXwx8wZYf2RKsMXmlOkXoriT/Cod4nodgnWzLgSJMvrZit6pVFUz4=
Received: from DBAPR07MB7016.eurprd07.prod.outlook.com (2603:10a6:10:198::14) by DB6PR07MB4423.eurprd07.prod.outlook.com (2603:10a6:6:53::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.7; Fri, 5 Jun 2020 11:12:00 +0000
Received: from DBAPR07MB7016.eurprd07.prod.outlook.com ([fe80::592c:285:6786:bc65]) by DBAPR07MB7016.eurprd07.prod.outlook.com ([fe80::592c:285:6786:bc65%7]) with mapi id 15.20.3088.011; Fri, 5 Jun 2020 11:12:00 +0000
From: tom petch <ietfc@btconnect.com>
To: Italo Busi <Italo.Busi@huawei.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>
CC: "draft-ietf-ccamp-l1csm-yang@ietf.org" <draft-ietf-ccamp-l1csm-yang@ietf.org>, "ccamp@ietf.org" <ccamp@ietf.org>, "draft-ietf-ccamp-layer1-types@ietf.org" <draft-ietf-ccamp-layer1-types@ietf.org>
Thread-Topic: Question about identities with multiple bases
Thread-Index: AQHWOyoiRYWJWfy/Lk6fLwR0GYts1g==
Date: Fri, 5 Jun 2020 11:12:00 +0000
Message-ID: <DBAPR07MB701667D98E6A9B2B6769FDF4A0860@DBAPR07MB7016.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.139.211.47]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4b1117c0-a5bb-4510-e028-08d8094144d8
x-ms-traffictypediagnostic: DB6PR07MB4423:
x-microsoft-antispam-prvs: <DB6PR07MB44236D6938F19372D63DC872A0860@DB6PR07MB4423.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0425A67DEF
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9WyecpAID1JGNnYJkI4lxu/fDf6ao9BVpCBrgIp638rFQfZICaWF27vj2egBZ/02dnryIwupBoh6UeoI2JIB+MFrn8xCsnFPgGA2ggPCxBkFOfyU97BDiFC/nL/AyzL1YwcqG++hL/jJIJcQTsOJjcIKJtKqBSyBkmQioRQcPO8Qm2V1CtvjdK89Vsd9n7wFTwWpfXlqk1XPPmMps7XGeVjDB3iuqr/dgp9EeMlRo6tYC/gNLT3fLaI6W/RQBPH0M3MxRPE3fqyw3Ny/KFYM7MeZZQX2LN+ST6GUOsZNDcHyVlW1VqsIsGSe606jIB5uaWpSHn1z1v64+iI6lkkfNvq9tg2UM+IeJnihOxnWXN26f4//5ee+L6i+RRlLWqfJQNTjgvbsX6VvEeWnSZQQqH1sdRsdtSb4D5siVK8v8JhcZC9Gogk6IIsMOzGznJKvRLwIBNB2j5/f6Uwjv+HG7w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR07MB7016.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(39860400002)(396003)(136003)(366004)(346002)(376002)(66476007)(5660300002)(66946007)(66556008)(66446008)(76116006)(91956017)(83380400001)(86362001)(4326008)(55016002)(64756008)(71200400001)(9686003)(966005)(33656002)(316002)(52536014)(8936002)(186003)(110136005)(478600001)(2906002)(26005)(8676002)(7696005)(15974865002)(6506007)(54906003)(473944003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: R0fvvh2ZuFZ2HXOpUBlUVOPTxLOYh+UZ1sMtKaQ7hi4k8h9Zn1I3b2hpLVhtn+T1hlkoeMPLLY8mszByaoM8wbiuB0YaNDgnqM9xnOogur6a13ye4W66w0attxC64rAyUMRVN5zE5eJf/fkvlvdxPSYz/JKSOH+OfHeZMyq46+XGymVmysi0qyBDlYeB4P4a5tKIenG1IrFIXz7Fs90nfBkBVVTEckia0+2tY5TQedhSO8NNvaVjiwJLR3L43S83GLKHvMFn0/SoJTeu0qWkPyvfHqLlS7NpYQzDKBriF+2Ugw1u/ngIt2un9QPgwg9zazgcHVngPrgupR8KkcrWyR0sDFZ0a90nq8BNqg9fsyEhutVkul12oljh+iob5GSYLhdO6LIIiCFI6i65FeZOwEIwOQn414sq/uUIjfHRLBGRhuCUFlmBnsWZKEMTJOA6HS53iAPTIm8pwsqfnP7w2rG3HoaQR50JQVsLzeX6vG0=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4b1117c0-a5bb-4510-e028-08d8094144d8
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2020 11:12:00.4771 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: amf2eo9eIeiyuJ575K5gPwDHCAD6ssZwpT83m0v/fsqx2CoTyFRcg8+TUUSrNLZmiQ36lnFexc4ZTde4ngxP/A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB4423
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/4V1ClMrG4Q65hJJ45s6EddATuwU>
Subject: Re: [CCAMP] Question about identities with multiple bases
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2020 11:27:50 -0000

From: CCAMP <ccamp-bounces@ietf.org> on behalf of Italo Busi <Italo.Busi@huawei.com>
Sent: 19 May 2020 17:49

Hi Rob,

We have discussed an open issue with the ietf-l1csm which is impacting the ietf-layer1-types YANG model, for which we are addressing CCAMP WG LC comments

See slides 3 and 4 of the attached presentation made during the CCAMP WG virtual meeting last week

Since we have not much experience with identities having multiple bases, we would like to get a feedbacks from you about whether the proposed solution would work
<tp>
Italo

I have not seen a response to your question.  I had a look and it seems ok but like you I do not see much of this construct in IETF modules.

So while it may be ok, that does make me wonder; is this approach too complicated?  If you and I are uncertain about it, then what about future users - will they be comfortable with it?  I had to look up which Boolean operator applied with multiple bases!

Separately, having persuaded my obstructionist ESP to let me send an e-mail, I see a number of quirks in the English of layer1-types.  Are you interested in hearing about them? (assuming that my ESP lets me:-)

Tom Petch



You can check initial changes to ETH-1GbE, FICON-4G and STM-1 identities in github:

https://github.com/haomianzheng/IETF-ACTN-YANG-Model/pull/65

Let me report here the key ones:

  identity ETH-1Gb {
    base client-signal;
    description
      "Client signal type of 1GbE";
    reference "RFC7139/ITU-T G.709";
  }

  identity FICON-4G {
    base client-signal;
    description
      "Client signal type of Fibre Connection 4G";
    reference "RFC4328/RFC7139";
  }

  identity ETH-1000X {
    base "coding-func";
    base Ethernet;
    description
      "1000BASE-X PCS clause 36 coding function.";
    reference "MEF63: Subscriber Layer 1 Service Attributes";
  }

  identity STM-1 {
    base client-signal;
    base "coding-func";
    base SDH;
    description
      "STM-1 client signal;
       STM-1 G.707 (N=1) coding function.";
    reference
      "RFC7139/ITU-T G.709
       MEF63: Subscriber Layer 1 Service Attributes";
  }

              leaf client-signal {
                type identityref {
                  base "l1-types:client-signal";
                }
                mandatory true;
                description
                  "The client signal being used at the UNI";
              }

Then ETH-1GbE, FICON-4G and STM-1 would be valid configuration for the client-signa leaf, while ETH-1000X will not be valid

    leaf coding {
      type identityref {
        base "l1-types:coding-func";
      }
      must 'derived-from(../coding, ../protocol)';
      mandatory true;
      description "The coding function being used at the UNI.";
    }

Then:
- ETH-1000X would be valid configuration of the coding leaf, if Ethernet is configured, otherwise it is invalid;
- STM-1 would be valid configuration of the coding leaf, if SDH is configure as protocol, otherwise it is invalid;
- ETH-1GbE and FICON-4G would never be valid configuration of the coding leaf

Before applying these changes to a lot of identities, it would be good to check that our understanding is correct

What do you think?

Thanks in advance

Italo

Italo Busi
Principal Optical Transport Network Research Engineer

[cid:image001.jpg@01D5AC11.9575BB40]
____________________________________________________________________

Huawei Technologies Italia S.r.l.
Address: Centro Direzionale Milano 2, Palazzo Verrocchio, 20090 Segrate (MI)
Tel: +39 345 4721946 - Mobile: Italo.busi@huawei.com<mailto:Italo.busi@huawei.com>

__________________________________________________________________________________
Huawei Technologies Italia S.r.l. is a company registered in Italy at the Company Registration Office of Milan, with registered number 04501190963 and equity capital €3,000,000 fully paid up, whose registered office is in Milan, Via Lorenteggio 240, Tower A, 20147 Milan, Italy. Huawei Technologies Italia S.r.l. is 100% owned by Huawei Technologies Cooperatief U.A.
CONAI Reg. No. cc 12639454 - A.E.E. Registry No. IT10010000006521 - Batteries and Accumulators Registry No. IT12050P00002839.
________________________________________________________________________________________________________________________
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! Thank you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PRIVACY NOTICE: Pursuant to Art. 13 of the General Data Protection Regulation 2016/679 (GDPR), Huawei Technologies Italia S.r.l. informs you that the personal data contained in this email will be collected and treated for the acquisition of information preliminary to the conclusion of contracts, for the definition of the contractual relationship, as well as for the fulfillment of legal requirements related to civil, tax and accounting law or any other legal obligation to which Huawei may be subject. Personal data will not be subject to disclosure and spread unless otherwise required by law. Huawei will take appropriate security measures to protect personal data against loss, misuse disclosure or destruction of the information. Personal Data held may be transferred to countries outside the European Union, however Huawei Italia has put in place appropriate safeguards for the transfer of personal data to third countries by adopting the standard data protection clauses of the EU Commission. Personal Data are kept for a period necessary for the fulfillment of contract obligations unless otherwise required by law. You can exercise your rights under Art. 15 and following of the GDPR (i.e. right of access, rectification, erasure, restriction, portability, object) by contacting Huawei at this email address: dataprotection@huawei.com<mailto:dataprotection@huawei.com> or through the following channel: www.huawei.com/en/personal-data-request<http://www.huawei.com/en/personal-data-request>st>. You have also the right to lodge a complaint with the competent supervisory authorities. If you need any further information or have any queries on how Huawei process your personal data, please send an email to our Data Protection Officer at dpo@huawei.com<mailto:dpo@huawei.com>.The Data Controller is Huawei Technologies Italia S.r.l. with registered office in Milan, Via Lorenteggio 240 Tower A, 20147.