[core] Resource Directory and anchor filter

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 20 October 2019 16:55 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE2041200FA for <core@ietfa.amsl.com>; Sun, 20 Oct 2019 09:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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] 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 mtD1N8Q2Cxo8 for <core@ietfa.amsl.com>; Sun, 20 Oct 2019 09:55:34 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::604]) (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 2D5CF12001A for <core@ietf.org>; Sun, 20 Oct 2019 09:55:33 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R/cPjfDoT9U6VH1mOSBC30QxZu6p3PTouBeQ/rBhKGqyarh+eEbWUts0CmvnP6imqKucdEqbMk3EvJgJhJ82ciPabCkZsr6skNEmM0b2LPBRXBNDiVR5C/TZRgs42wU4TZzk8VbHJCgzw4Sd3hsg/EUeMojHiqD6Sw8xzny9LHahtXeHKpRz/65kWubbnBJ/1ygCI2IkMMK5zI3VKm74/5if9LRO3bcRGQv9aF+xYiTgGr1rKBUUgAAwXIYqfRVRSM/5+iJbyhJNVtsxS9WhhhilJf+k5Js+wt6swX5aDhoTNIhmJnPBIFpxtpO9y4XQR7hofRZ+oi1Dq5t5ldD0Mg==
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=8uT/Tu9k3o5fLdSZQwqcXlCa8PXqB9KEBNX5zbBtYx0=; b=UgJS9fIgBD+tXEv3acdhSCcnqsbxQ7LC32kWVJasPyQUKf1YqzqfFwTEU4e7RK0PvddssQOg9ZpIxhT9BMkBX5omhR15JWnfzxCwHEIESn09v3NqHK3yJsREI7tD2/s2KCoEpehfyfAYiuVchXPsu/GxxRA5nr8z+f9o4+psmELan9ERYPjX6VrfRdw+bgPccpeBLJ1eZmfnhE8tgunRGEDrvJcGdzMC0N+Jn/OJkZJKa27hSztkZrVsg8e1jlOW7rZWQVut9f3A7BWFs7tGi7zbZ5b+gIRYLy/eusqYM9alY3bLcUSvkp4KpSrZw87grJjh1iXdBlN+//0EK750kA==
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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8uT/Tu9k3o5fLdSZQwqcXlCa8PXqB9KEBNX5zbBtYx0=; b=HjvRPzZNBJ1E+TiwQwxYQLaDSxHE6HSvidQK81sgaCAq1nZGGbVMlIEdRBCePipChWd3rTwHOmXuqYiaW8VoeUh+7V+hJ07gcgOVnwBa33ymQnfYg4f+B+OWNKJpCGcqAiH3NbBliXv387ZElq92kLXblbfezyBIFBcOgP57W3k=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3369.eurprd07.prod.outlook.com (10.170.245.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.14; Sun, 20 Oct 2019 16:55:31 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5499:1231:e707:4cb7]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5499:1231:e707:4cb7%7]) with mapi id 15.20.2387.014; Sun, 20 Oct 2019 16:55:30 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "core@ietf.org" <core@ietf.org>
Thread-Topic: Resource Directory and anchor filter
Thread-Index: AQHVh2cuzqZc83y7bECKPsFT4n3Aeg==
Date: Sun, 20 Oct 2019 16:55:30 +0000
Message-ID: <464F2B53-727D-4295-98A0-2346B85F1E75@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1e.0.191013
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [188.127.223.154]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2a2df355-3b24-4c4d-662b-08d7557e5106
x-ms-traffictypediagnostic: HE1PR07MB3369:
x-microsoft-antispam-prvs: <HE1PR07MB33694ADD7E22DB177BC96C64936E0@HE1PR07MB3369.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4303;
x-forefront-prvs: 0196A226D1
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(376002)(396003)(346002)(136003)(199004)(189003)(4744005)(66446008)(7736002)(99286004)(14454004)(71190400001)(5660300002)(86362001)(478600001)(66946007)(8676002)(486006)(81166006)(6506007)(8936002)(81156014)(6916009)(2616005)(1730700003)(316002)(102836004)(2501003)(5640700003)(26005)(186003)(3846002)(6116002)(2351001)(66066001)(476003)(6512007)(2906002)(6436002)(54896002)(64756008)(6306002)(36756003)(71200400001)(58126008)(25786009)(33656002)(256004)(66476007)(66556008)(44832011)(6486002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3369; H:HE1PR07MB3161.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: MHtYBxOMV1+Pxsq6gHcVLMqFLyDrgbFUPgFylwMWgn3vrN2t1dKKJOnm3M30/3MLeEmeAkbDQM/dbKbxqb9qWCpkNELfRWZ4UhnHbag/XJU8en38SJ9a/4kdOiluF39lcsl9lPJozvUvxhXnLkLIyFWihAe4VmXMj/aMaoR/rdhssu3SgJ5evN3N6EsEm9pzwMHOEIp9s18g/Hek8RhxQJBR6Vz5/e3EZG7iH6UeMwzr8N4HmFB3s7juMgs3nitt5RLTM6ReQXjRPxSLYdUbx1XnSYtTX5JN3K5hSHmLnAtELzao+m2pVKctSNAkNbTx4X3O1fL/iL16v4rpZ0FQw+J/sk/e/+F29Dxsp7rbAhgkXaHzlYxkiUOWgZ3PiXGHefgRpxqBvLB/A/6S7jDGqs8ezR8EOR3vwjhfkcZggUE=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_464F2B53727D429598A02346B85F1E75ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2a2df355-3b24-4c4d-662b-08d7557e5106
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2019 16:55:30.7719 (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: jJ6onAPCcaTuXQ2zkbaebbmK/JdiGTPKSbbDbpdiwBaBeMtN9+JMspgQb7bEV+W0QJTB8RAMMk1HCAdIosr0vpRmNONHW4ai/u6y0ksCj2w=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3369
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/7d6ICTzHSipV8rZijkgipVQwMlI>
Subject: [core] Resource Directory and anchor filter
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Oct 2019 16:55:37 -0000

Hi,

RFC 6690 contains a GET example where anchor is used as a filter criteria.

                GET /.well-known/core?anchor=/sensors/temp

I don’t find a similar example in draft-ietf-core-resource-directory, but I assume it is allowed to use anchor as a filter criteria also when performing an RD lookup?

If so, I think it would be useful to add an example on that.

Regards,

Christer