[netmod] identityref with multiple base statements

Joey Boyd <joey.boyd@adtran.com> Wed, 29 July 2020 18:22 UTC

Return-Path: <joey.boyd@adtran.com>
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 A484D3A0DFC for <netmod@ietfa.amsl.com>; Wed, 29 Jul 2020 11:22:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=adtran.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 hCkN61b0Ejed for <netmod@ietfa.amsl.com>; Wed, 29 Jul 2020 11:22:05 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2090.outbound.protection.outlook.com [40.107.92.90]) (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 A1E3B3A0DFB for <netmod@ietf.org>; Wed, 29 Jul 2020 11:22:05 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N6MVWp/cv8TgTmVII8+VC3/QqFZFQYA522UQSZrbFSohA7av4BUFmHvn674p0ZoWOmiqGVRNUPD8s1eJQtR7kG7e8eu3Ejv9PT0cZlIBrr1f7nAmVQmFW29HVOrMwd34LtLNsb/9WjmKuEKfgOGy/KKE6ELjyuTaP7YdpL3723ItIN4enpZfJQ9ZWD7xFK1bWDt2OBmTiNCGEU6M81YLYEWrTqNI/sheolbreSZ3X4P79QRNOv+b1k1xGNrrmZyKHmspEIipqtSB0lNCiW33SNdSHnsvzMBSnWGRge4xMNCJt/RV3M4huKRrF3GO0+MqpTzp1QmBHRVe4vi2LcAv8w==
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=SN33GfPjtouVlVqDK4ru8Lrp/4hB3il6WulxHtKyKLo=; b=npoMzatS7CLEugNqtRlVhfDTQtQ0ezNRK8wqw/JrsTq01w3a+LLbX3ffy4NxxzTbc8tSOl6q1SYWlp6oV4yFvEsqi5NXSl3/weqSh61CxzOwu2ZSmatUs03V/NduWcj6n6GNCV6qR6wBTd1B9oj02601PKC2csOwM0UhpR4A0DSItJaY9Ayn1OG6GIDugstqAfCwdJXE8Tm8z4to5/gHzTcCpDeBzqYkK2QOl4Ktm6PJiTxTTCXcMJ8qJiSG8qpE0XChyak8+VL9qGXsWY9/AWMNvjivguGzJJTKAm4f6PQ+d3iknXgL1GPKOCxxZ48SYYkAKcfvMALoyHdxARFjXw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=adtran.com; dmarc=pass action=none header.from=adtran.com; dkim=pass header.d=adtran.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ADTRAN.onmicrosoft.com; s=selector2-ADTRAN-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SN33GfPjtouVlVqDK4ru8Lrp/4hB3il6WulxHtKyKLo=; b=kXcifhyThI7vLU/N7Nw5yNohdp7wjvjzBsctsQTMYzD/giYgA/UfRzCaZTGRqGA1D1CiIfDe37uyQ6Zel6jmTMMzzWBbXaWeOeBdIDF7kJ2E9CAuv9egFm3DJwIcPnbkbSgesZsRbhgvOhV+Qb3QPCJiTjzzyUReDC+GY8/6KC4=
Received: from CH2PR19MB3861.namprd19.prod.outlook.com (2603:10b6:610:99::23) by CH2PR19MB3638.namprd19.prod.outlook.com (2603:10b6:610:40::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17; Wed, 29 Jul 2020 18:22:02 +0000
Received: from CH2PR19MB3861.namprd19.prod.outlook.com ([fe80::a029:f400:c31c:653e]) by CH2PR19MB3861.namprd19.prod.outlook.com ([fe80::a029:f400:c31c:653e%7]) with mapi id 15.20.3216.034; Wed, 29 Jul 2020 18:22:02 +0000
From: Joey Boyd <joey.boyd@adtran.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: identityref with multiple base statements
Thread-Index: AdZl1OTTbF/bDB62RHyD+qIaekNMjw==
Date: Wed, 29 Jul 2020 18:22:02 +0000
Message-ID: <CH2PR19MB38612F0205FD9646A7E0FC689E700@CH2PR19MB3861.namprd19.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=adtran.com;
x-originating-ip: [2620:106:a000:705:d9df:348e:e7c3:516f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 77369f0d-1eba-4556-3492-08d833ec4a4b
x-ms-traffictypediagnostic: CH2PR19MB3638:
x-microsoft-antispam-prvs: <CH2PR19MB3638A16CB1C7806112C299D29E700@CH2PR19MB3638.namprd19.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: E1augwXVsNw96DWmKeayMA+Pr2GfnGleOzyu1Qp/Yz7JH+b7xIyNMnpTIL69y4IDSEM9ZH07kQTzj2GY7qHUs7fDm1YRtEJ8peb4FPI2jT/KbM6VP+2VxYieF8SXy/6H67vR9eH8X3ux0YhpfLNPkzSw3H1SAYbTYEOmFjT7xI8BGjMNzvA52z9W3phNhxVrEteWQMo0x4lP2ap0GnOUe1naQR7afiAiPE3/JYx43HpfVima6mQ33vTdCV3Tfvjd8Q2am1RO50xWaf4HQdXHtoOwvEexsdPiWkzXw8RodCxsVekwAxENcF9aJCvBSQahaqrjQjMhov86JduE72twyA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR19MB3861.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(39850400004)(396003)(136003)(366004)(346002)(376002)(2906002)(8676002)(44832011)(6506007)(7696005)(5660300002)(9686003)(316002)(55016002)(52536014)(66946007)(33656002)(186003)(76116006)(66476007)(64756008)(66446008)(86362001)(66556008)(6916009)(71200400001)(8936002)(9326002)(478600001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: JCvxJxDWQAHFfUH/b8mX63b075vatlmtYWMfWafjtDgmItLSN5DhCO9piokXASuDfE/gy1/2t0uTP/gfPZwcTx5vtWr5YZ6V1s5J5Jxcd2ktn3J4iel9gZCHveOBc1Oidw1kYGq4cDA+fwW3QR4/ZUwAZNchFWA7/sYwVMd57vxKsDFz8vgl51HriKiWlrgfyZBUyl312ROxCPIJ7ug+1uJmYP9qFJazjyy3Pydc/Vl8r6eqUeKv+UWo6E/nz+36X5sX1koPiFacf7dQ17W0jwgjtWjl101XFQkWnNc2CWwA0d8GxLqDgywgLL5qBAiRIm7JPKChuuFvFwlNjz1d+7Qv3dEer1XcDxp8a7Ale486Nv4SMBtyFHJusoP7SA7EjtrDwDgMBGjdXSWxR5Q897a52YVq8qYrKYxEDmtDLwedz1f+WH7hIpOcV4N2BamJqzBE7Zg2eyS64WB/xd0x6fbP1tnlFy6mhXtIiAjCzMup833IctQFn5SzjheszJW7Zk5hzXmHaBV1Rj7O+FOnRCpO32Xwx5YOCoYVl9kD6xAP5Hki4sIyh4LULQZo1EMNtVXQJdR5imzoR7Wwf5UaksyI9+VUyVEvpzJF8eQFUmnWUqhMPbmQd8bgA6VIhM40iQC0LC73mu01KccJ9jUznbINJrglR2K1DzY9e0cZJFxgVDj07RvMkErhLH+gzMEsQG2FPsSpAAuCaTUkLR3rrw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_CH2PR19MB38612F0205FD9646A7E0FC689E700CH2PR19MB3861namp_"
MIME-Version: 1.0
X-OriginatorOrg: adtran.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR19MB3861.namprd19.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 77369f0d-1eba-4556-3492-08d833ec4a4b
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 18:22:02.2983 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 423946e4-28c0-4deb-904c-a4a4b174fb3f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qJ0PVWFC+t9TF+SfhfH5q/MlEP+lWeHjEFDyxW2B/iE/Eb2rJtVTAw28na48LW5flm4OXIiP4MUGXLgwQ3F8OA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR19MB3638
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/xhySKrlVYCJZPByCjaTemnNCISM>
Subject: [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: Wed, 29 Jul 2020 18:22:08 -0000

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.

Best regards,
Joey