Re: [netmod] identityref with multiple base statements

Ladislav Lhotka <ladislav.lhotka@nic.cz> Mon, 03 August 2020 08:44 UTC

Return-Path: <ladislav.lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19CB93A0BE9 for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2020 01:44:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 98o75KCc_Kpu for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2020 01:44:47 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id D786C3A0AE7 for <netmod@ietf.org>; Mon, 3 Aug 2020 01:44:45 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 853378600CE; Mon, 3 Aug 2020 10:35:09 +0200 (CEST)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id 47CD386005D; Mon, 3 Aug 2020 10:35:03 +0200 (CEST)
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
To: Joey Boyd <joey.boyd@adtran.com>, "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <CH2PR19MB38612F0205FD9646A7E0FC689E700@CH2PR19MB3861.namprd19.prod.outlook.com>
References: <CH2PR19MB38612F0205FD9646A7E0FC689E700@CH2PR19MB3861.namprd19.prod.outlook.com>
Mail-Followup-To: Joey Boyd <joey.boyd@adtran.com>, "netmod\@ietf.org" <netmod@ietf.org>
Date: Mon, 03 Aug 2020 10:44:38 +0200
Message-ID: <87pn882k5l.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/k47dduTXSGvWzYcSCZ6ufamzoFY>
Subject: Re: [netmod] identityref with multiple base statements
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2020 08:44:49 -0000

Joey Boyd <joey.boyd@adtran.com> writes:

> Hi,
>
> I am looking for some clarification regarding RFC 7950 section 9.10.2, specifically this statement.
>
> Valid values for an identityref are any identities derived from all the identityref's base identities.
>
> Example:
>
> identity base-1 {
>   description
>     "Base identity #1.";
> }
>
> identity base-2 {
>   description
>     "Base identity #2.";
> }
>
> identity a {
>   base base-1;
>   description
>     "Identity A.";
> }
>
> identity b {
>   base base-1;
>   base base-2;
>   description
>     "Identity B.";
> }
>
> identity c {
>   base base-2;
>   description
>     "Identity C.";
> }
>
> leaf reference {
>   type identityref {
>     base base-1;
>     base base-2;
>   }
>   description
>     "Reference to an identity.";
> }
>
> The question is how to determine the value space for this identityref.
>
> Option #1:
> The value space is any identity which is derived from both base identities. This means the only valid value in the example would be 'b'.
>
> Option #2:
> The value space is any identity which is derived from either base identity. This means the valid values are 'a', 'b' and 'c'.
>
> The phrasing "...derived from all the identityref's base identities." tends to point to Option #1 but I would like clarification on the intent.

Yes, #1 is correct.

Lada

>
> Best regards,
> Joey
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka 
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67