[netmod] RFC 6991bis: Abridged-instance-identifier

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 06 December 2019 13:47 UTC

Return-Path: <balazs.lengyel@ericsson.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 6A90A120816 for <netmod@ietfa.amsl.com>; Fri, 6 Dec 2019 05:47:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=ericsson.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 vtLUhcV4caEm for <netmod@ietfa.amsl.com>; Fri, 6 Dec 2019 05:47:41 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::60e]) (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 8BBF5120815 for <netmod@ietf.org>; Fri, 6 Dec 2019 05:47:40 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjIOIkqUMqjrrjukBXstPW8GYo4JPNsWCyiXceKcPUkZb5rRyRH0i69LqLwZH9452ZpF+HDhplBu7AUzczy02My90nI226rDXCb9J3e3zD6B+nFIqdLM7LxPOu4SuY2kISWtrUVVhBQxypTUGXiSdTiSUvG1d3xrxiJXXLjKfn4GeQzCWIzh+eZZ3XN0BbxPIGbA4urhO0kpAHSmN8IzHBJWq0GzXJGwVJwxNTi74CDsS+icfXJNT29Uhjb8ro6eWZdDpppTAHy/CRxnxoedCSWhSgGO0eDzaJfaiMXR1aK3vakAgI6jq1GwXvWwJa+3iYBWn1cCJuyQXvILEQBGWQ==
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=3PvktPPvfddfyflK2uI141eWIQzrOmooEBXgbn0j+9U=; b=cWUuTIs5M7UQjYtldVU8OEUw3t7JhXM329LC1L7D/5r+ipy54WgpsDzCPEJOYhIxfukf8vvesQ9Ouj4aY7K71Lnrvf6Rsgnr+gq2Svj9IewyDvMkv63Lue2BlW9oLsNEfAdcB8ZmbtS99qN6JZkAnm+3z27G4qLlQz48erl+r3BOe9hFvwDVhSQ4caieblEEW0AkBVL3pys85uvGG4E/ge2w0l6q16R8GRGvtLCy9Av4uJQnmUgt+DwFQb3Anq0XzSs0/2eeIxaPL6dXwSEyU3Ij/U1i8bL3Mjp8OT+gJVKmy0NoeXqyUl/uUWq5DoFS3T5aju5FUsT9u09TH5lMwg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3PvktPPvfddfyflK2uI141eWIQzrOmooEBXgbn0j+9U=; b=k89XPoAu0K7qeHROBSAKI0aguvA5xf7+MjrH7OmDLnKeGSDSgNZEKPUdTxIbXsKcUDkaGJrY2YT/a3r1PQBmY/UanZBc8xcMCj1zv0TZHSd/2Q5BWW1ZZyTA8rSk5EpK3pq1+wlyR8NOwoB2OIraPLcmxOBRhoNPYVAotarHmfY=
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com (52.133.47.21) by AM0PR0702MB3586.eurprd07.prod.outlook.com (52.133.50.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.5; Fri, 6 Dec 2019 13:47:37 +0000
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c]) by AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c%7]) with mapi id 15.20.2516.013; Fri, 6 Dec 2019 13:47:37 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: RFC 6991bis: Abridged-instance-identifier
Thread-Index: AdWsO6ouSBaYUTSCRaiHGNNBwIqo2A==
Date: Fri, 06 Dec 2019 13:47:37 +0000
Message-ID: <AM0PR0702MB3665D858587900507DE2A1B8F05F0@AM0PR0702MB3665.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3ed44ac4-25a7-4d00-a1cd-08d77a52db06
x-ms-traffictypediagnostic: AM0PR0702MB3586:
x-microsoft-antispam-prvs: <AM0PR0702MB358659C2A76F46B9A02A77E5F05F0@AM0PR0702MB3586.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 0243E5FD68
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(86362001)(102836004)(316002)(26005)(478600001)(6506007)(7696005)(99286004)(8676002)(81156014)(186003)(6916009)(71190400001)(71200400001)(52536014)(66616009)(81166006)(5660300002)(54896002)(9686003)(8936002)(66446008)(76116006)(64756008)(66946007)(74316002)(66556008)(66476007)(55016002)(33656002)(790700001)(2906002)(4744005)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0702MB3586; H:AM0PR0702MB3665.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: X2lyEE7UYZgvxb+AY8gps7+YaDqPIjHIeFFWeOTBEdoLbaKqP1aF4ts4+onGoFxaiZ2KjuJ8fulot+syEU9pRvcONcaLGjTZv9gcdX7o0Z3tFe4RHlsf6k6hGk/Wmeh4/BY0/Mt/MwFj4/VNN6dC+9tGBK52w5KgrObJCQUSvDzwxC5hsyD3pOEJxEDT0UXjyRHZKrgF3Vgl0seeZRsIzpd9h+StP7/ofvSf9/3ckUOZkitmJMTD7aMQGw9IXQdt9OBK6ssJw7TI9B4UYZPgr+8zZq4jLJU0X9PHyIy2Tl/Xu6x0YpcE8jckxj9dC8aQcaZj3FJQrjGpiy8ItYNNiQNgUGt/j+qieNr9vQCAYB8JFBvE/pQw1380yUIcn1PEq8gHwmfiggayMVVn0kv+98Cxu+gcFDFSIDTQZjVifTTO0HhcwvBVF8VCcnrrv+4R+6Hf/QWOlZlcPV+i09d1hYC48LFHEJUnnQ5kKQRYBRQ=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_02A7_01D5AC44.197CF1B0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3ed44ac4-25a7-4d00-a1cd-08d77a52db06
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2019 13:47:37.6306 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2du6DDGoMA6TXGnai8CZp04ih6wUk6LoTzelSZ30v0ZvxJ4VF8oR9QLOa+SGyBCOWZeV+8GAL70bAzRETk0Kb7hscyt1R2VSFOUKfVUsxr0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3586
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/9acZN9ODneNRjSXxwc0fMhZQUPg>
Subject: [netmod] RFC 6991bis: Abridged-instance-identifier
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: Fri, 06 Dec 2019 13:47:43 -0000

Hello.

The following type was proposed to me. Would it be interesting  for others?

In some cases were the length of the identifier matters this can be useful
e.g. on a user interface or in an SNMP packet.

 

 

typedef abridged-instance-identifier {

    type string ;

    description "An instance-identifier in which the prefix is not repeated.

      The prefix is omitted where ever the last included prefix is the  

      same as the one that would be present for the current data-node. 

      The original instance-identifier syntax would be 

        /ex:system/ex:user[ex:name='fred']/other:type

      The corresponding abridged-instance-identifier format is

        /ex:system/user[name='fred']/other:type";

  }    

 

Regards Balazs

 

-- 

Balazs Lengyel                    Senior Specialist
Ericsson Hungary Ltd. 

Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com