Re: [CCAMP] Question about identities with multiple bases

tom petch <> Mon, 08 June 2020 10:22 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D30B23A08D5; Mon, 8 Jun 2020 03:22:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.9
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: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id Q-mMTltaUK0v; Mon, 8 Jun 2020 03:22:18 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 6B1103A08DC; Mon, 8 Jun 2020 03:22:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=DnDxAq2TP/1obaL15fRNrnt02zFDXYRaRNvMkRPo48XUPaNSMNjBREz2/DZR5SINdS8X/+O8SpHfH0idF3G9YdWO3pTtuxRSDlKjEMmCsK6E8mY4xRPxOzHhvMqgO8vdFQmlnF7iGKtHap68jIUJ06904d41YxmqmV4mljwAKC/oZK3kfWhuOeAUHjIoxWFtfpu48XXni8mZ6CKULv0wDM7mOT9TKQQ+8kzWvaF4Tvnec03ZPthHCekyMV/uLmmY9sGjjvtcVvrRn+L2huHv5JUMpJjf3Ph0yrt6oVqH+/3zUMBUFohdWwff7plPtIrLuckSh63otm25vg0M8t/kjg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=af+lEoZPuET6d59wUpPA08/wJRxMuN/Ig8RxcmBVeAo=; b=j88ow5fkLY+e1SOsSbwUIqQj+OlaCL4PwO2GFy3HDgA37I58Wji4aJrsfiznJLCWKxJ501GerO2qFtWfe7g9UWRKe7OPLExfPKMBfl868IE5hAZCMZQl1kD2JibV0+i0L6flQi9BOFXyOk3zQpMkDd5h47lTDgtKAhOd0tmb8H/dPDASBsw5AUFyeSJwk3vJyijbZqv46D57UzF8pIgEyd0i11+E6BTOZrDl4luBuO3JH8RXaJIP/n6MSogzUmZ/QC+5o2Dukwm3UzaJ+SxviGScmVpazidseLK5UG+GOIE7GH0HXLwvq7da0YKwflWLaPMdeOoDnq7W+I2rnr2afg==
ARC-Authentication-Results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=af+lEoZPuET6d59wUpPA08/wJRxMuN/Ig8RxcmBVeAo=; b=gQxIMH9kNepEjXxqweRXWjq0UKTt3kU2YtolDgUB/RqoIa3BLZ/oZA1ZQLtLZebzkPCiJ/yUAaQg82oY1d4GuVMOAe3T48yLPhdLnEIkwk/K+HjdoCz+0SePebHfMzArCkBP111LYtH8whELqLz95gcBQ5tKAunb4f/NgJb5W4E=
Received: from (2603:10a6:10:198::14) by (2603:10a6:10:7f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.13; Mon, 8 Jun 2020 10:22:14 +0000
Received: from ([fe80::592c:285:6786:bc65]) by ([fe80::592c:285:6786:bc65%7]) with mapi id 15.20.3088.016; Mon, 8 Jun 2020 10:22:14 +0000
From: tom petch <>
To: Italo Busi <>, "Rob Wilton (rwilton)" <>
CC: "" <>, "" <>, "" <>
Thread-Topic: [CCAMP] Question about identities with multiple bases
Thread-Index: AQHWOyoiRYWJWfy/Lk6fLwR0GYts1qjKQwoAgARCnbA=
Date: Mon, 8 Jun 2020 10:22:14 +0000
Message-ID: <>
References: <>, <>
In-Reply-To: <>
Accept-Language: en-GB, en-US
Content-Language: en-GB
authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
x-originating-ip: []
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dc465bdf-b836-40d9-052c-08d80b95d07f
x-ms-traffictypediagnostic: DB7PR07MB5404:
x-microsoft-antispam-prvs: <>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 042857DBB5
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: OnFht1qgqstKy41/RS+dmvpetxNdAr87HYVEYiRc5iGBNcF0QVf10LyK/yuBuOi9P5k2R+wztEhGEe7MlfUAWdrd7MH/T+e21qi+QzG8kXyFdwunb8zqC2KK4OWja4suZsvF+yesEvAH785qJat/wPnFSWPcg2y1gHC7KOUYtK6SKoH83ZxxOnkdyIOSkMBv770OI95ZQxIn109FTmT8DbenC+fjGKWxs1VgY42B/6RxGB1L9hrMsfLfIcn2dWyJAmAWeS/BveTbMagW+fKlJeq26lTUsn/BbIvtT4aVOzjpeTdij56eiL39sLb8UcvUeegVNPwHO72TqaYrUZPXpqAJKekHN8Geru6Sbab1TPw3DN3HEQEGOYeuH7p227zKk+2ascavtbic+MqLKotFKb9ZM0p3ZYyobyCmpsGT0gRdZwcjPpaYIsabN7H5f46w5tQ9PpdU/f6H1hZGcFfWNA==
x-forefront-antispam-report: CIP:; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM;; PTR:; CAT:NONE; SFTY:; SFS:(39860400002)(136003)(376002)(346002)(396003)(366004)(478600001)(316002)(66446008)(66556008)(64756008)(186003)(66476007)(2906002)(4326008)(66946007)(86362001)(5660300002)(6506007)(53546011)(9686003)(55016002)(966005)(8936002)(8676002)(71200400001)(76116006)(54906003)(83380400001)(110136005)(52536014)(33656002)(26005)(15974865002)(91956017)(7696005)(473944003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: pI6ManSkmR8mONMz5QXtZzqLGzIsqKEMwmoz3o0rU7NAk1zdLgXQ/xSZTwGPuRoJhUP/+AG+zX2iWJlRWGuyCFfWzZGxQlTue6og88JuPcZY/lqwKwcM0ZIbditYlCI0SgoAUbvmO4+lJ8SamH8BV1LsNL6YkJkyd1As/dOwOqNk5Q5BKiqBGP24ALd1XSK1sDqMMZt4E2MZ2PrF9IUeiDFJCnw7EOOh3RrUxHlBtkxu/uQb1g80dPwl6yi+DbdCBG94FmN6mMLnaWIl4zwqI5yiOH5l+J4u37xoKGLB0mXQjfTew7RDdr5/hcxZWicXixk7uW8OgD8F8czG1/mznhdZbaKEfgxuCUrkhsBJp7sYpdXhW8ch3LSGyn76SEnPPEPZLAlDUNx5TnKxcAcrzF1skOgh3BIFn+CoQYmBMYq5nP0mAWQdhtu0wHAe9tuTqEgDKbEz3H1U33eZ2T7f4oPjf9VrlBPB9MWeBMNuBZc=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: dc465bdf-b836-40d9-052c-08d80b95d07f
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2020 10:22:14.6872 (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: j7QcokNW/xm+G4MtYW0vIh3nhd1Tdz7eM3ELaaAf8kcD1N3oLUfHatwt+gwOSmY1Jpc/BpGCq/GJG298HLuIKQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5404
Archived-At: <>
Subject: Re: [CCAMP] Question about identities with multiple bases
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 08 Jun 2020 10:22:21 -0000

From: Italo Busi <>
Sent: 05 June 2020 18:13
Hi Tom,

Thanks for raising this point

If the proposal works as I guess, I think the solution would be much simpler than:
- avoiding to define two set of identities with different bases but with a lot of overlaps;
- defining the consistency between different leaves of type identityrefs in the text rather than in YANG.

However, some text to clarify how this would work needs to be added to the draft.

Is there any opinion/feedback from YANG experts?

If none, do you know who we can ask for help?

The problem is that I can look at the YANG and say yes, it looks valid but I have no idea what you are trying to do:-)  I am reverse engineering the YANG to make a guess and that is no validation.  So, what is the requirement?

I am acquainted with MEF 63 but your terminology is not quite the same and I am unclear if that is because the concepts you are describing are the same or not.

If the requirements are clear, then yes, I know where I would go to ask how to do it in YANG,

Tom Petch

Any suggestion to improve the English text in the draft is more than welcome.

Thanks, Italo

> -----Original Message-----
> From: tom petch []
> Sent: venerdì 5 giugno 2020 13:12
> To: Italo Busi <>om>; Rob Wilton (rwilton)
> <>
> Cc:;; draft-ietf-ccamp-
> Subject: Re: [CCAMP] Question about identities with multiple bases
> From: CCAMP <> on behalf of Italo Busi
> <>
> 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:
> 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:
> ________________________________________________________________
> __________________
> 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:<>
> or through the following channel:
> 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
><>.The Data Controller is Huawei
> Technologies Italia S.r.l. with registered office in Milan, Via Lorenteggio 240
> Tower A, 20147.