Re: [Anima] I-D Action: draft-eckert-anima-grasp-dnssd-00.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 06 November 2017 23:08 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDCF813FC94 for <anima@ietfa.amsl.com>; Mon, 6 Nov 2017 15:08:09 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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 (2048-bit key) header.d=gmail.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 ECRLloWBk-Wl for <anima@ietfa.amsl.com>; Mon, 6 Nov 2017 15:08:07 -0800 (PST)
Received: from mail-pf0-x22c.google.com (mail-pf0-x22c.google.com [IPv6:2607:f8b0:400e:c00::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB67813FB7D for <anima@ietf.org>; Mon, 6 Nov 2017 15:08:07 -0800 (PST)
Received: by mail-pf0-x22c.google.com with SMTP id a8so8872437pfc.0 for <anima@ietf.org>; Mon, 06 Nov 2017 15:08:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=iYTAV9z9vffoARchsWTJsje+Y58TRKy+UExEKDTBr4I=; b=O0+uFzbXfPYjyqTV39IVruzWDL4cfr5U1ixCeqCrNQX0Phg5mjs2j0vCORhJU038xX BWPQ+OYQpqpZ4uJ57iEp1R9pZbf0OAMFb1L5IBjlszKix/W2Y9pHFxLMglxgVNdPS2yk 1gtvQyuh/tlgRrwj1XaF1vj0tLK8RDbiJ/wht2QXjcPuU3HxCQ9BEGKZ2Wc8LMkG2iJ/ r73wACu4BsV/UVNVwgLGCSKXjzL6OFdvRuZGwmkj+fZEIpWSfKeUL9vbhHm11vXIzcYG 4EIqhFkOlUziyWCG7+yylopO4UPXJefMkyehQbtd4cXt5TCOhw/3txeTVYktTv+f9Z9+ GhPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=iYTAV9z9vffoARchsWTJsje+Y58TRKy+UExEKDTBr4I=; b=NuBN36BhZVg9zWbsvFEh4cYYOwvdjrTu13EVtGIDfuWI7rURpD8ogrnla6yO507FdB 8Tr3SL426GkyENDK/E9o8jH+pJ5VvpXD/5T19sGgmXJTIUb069Gws6HIeNi8aliaQu1J ccHtYCFTQ+aLo8U78Z2HW9GIbpZJs5ILSrbKpbIp/A3a3PKeRbyNnVehdE+X5z7+Yslg SitWL/NMQPViUy0U2lqLYspJ3OAbOX3TU2g5/gBrUxfeOOKnsJYAsHeF5JxErMxp/0Pp XbtD9HPs0UqlyhwVpjjvUnOs0l7TxTnR+lLKGqlh5+ldDDMBK+dxPku6do2Zr5IsM5lY 47xQ==
X-Gm-Message-State: AMCzsaWKQ7Qn/G2nBM7PpdVX/lUxHVGEM+eeOh39jL77KgB8FJJlz9hT W64txAz3ffC6sYpqWELEc4BHCQ==
X-Google-Smtp-Source: ABhQp+RgGoooJkB+19JA6d6uplaF/PZ4cT4N3UnndudFkTtWnePL7qNHc/f93B1v4OtK6tZe6d8tWg==
X-Received: by 10.101.66.2 with SMTP id c2mr16596385pgq.403.1510009686559; Mon, 06 Nov 2017 15:08:06 -0800 (PST)
Received: from [130.216.38.15] (ggim001.sfac.auckland.ac.nz. [130.216.38.15]) by smtp.gmail.com with ESMTPSA id u8sm20566140pgp.17.2017.11.06.15.08.04 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 15:08:05 -0800 (PST)
To: Anima WG <anima@ietf.org>
References: <150939968366.7857.10812413552277328001@ietfa.amsl.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <abb3c694-8162-84b1-2cc2-80f5b982fe1d@gmail.com>
Date: Tue, 07 Nov 2017 12:08:03 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <150939968366.7857.10812413552277328001@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/kIKMU7HQDA1PZEtYbYL0ZuPABVA>
Subject: Re: [Anima] I-D Action: draft-eckert-anima-grasp-dnssd-00.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Nov 2017 23:08:10 -0000

Hi,

I think this draft raises an important topic. In the
early days of ANIMA we had quite some discussion about
embedding discovery in GRASP rather than simply using
DNS-SD. I think we took the right decision, since GRASP
objectives are a very flexible concept, only one 
application being a mapping to a traditional 'service'.
But this left open the question of how to link the ANI
tools to traditional services when necessary. I think
this a necessary next step for ANIMA.

I think the general direction is reasonable, but I don't
understand DNS-SD enough to be sure if it all works. From
a first reading, I have a few questions and comments:

> 2.2.  Objective Value Reuseable Elements Structure
> 
>    Because service discovery, as explained in the prior section, needs
>    to utilize different objectives, it requires cross-objective
>    standardized encoding of the elements of services.  GRASP did not
>    define standardized message elements for the message body (called
>    "objective-value") of GRASP messages.

I'd like to insert "intentionally" before "did not define".
This was left open so that we can have effectively infinite
extensibility of the syntax and semantics of GRASP. Therefore,
considering the next sentence:

>   Therefore, this document introduces such a feature.

I'd like it to be clear that it is intended for SRV.* and NAME.*
objectives. (If people want to use the "@rfcXXX" construct
elsewhere, that's fine, but we need to keep all the existing
extensibility.)

Also, should we add a convention that private use objectives
may use the same feature, e.g. 411:SRV.example ? 

Some details and nits:

s/<mayor>/<major>/

> 2.3.3.  Name Element
> 
>    The NAME,<name> elements is meant to provide basic name resolution

s/NAME,<name>/NAME.<name>/

>   ipv6-address-option = [O_IPv4_ADDRESS, ipv6-address]
>   ipv4-address-option = [O_IPv6_ADDRESS, ipv6-address]

1) Check your 6's and 4's ;-)

2) It's confusing that these are different from the basic
GRASP options:

[O_IPv6_LOCATOR, ipv6-address, transport-proto, port-number]
[O_IPv4_LOCATOR, ipv4-address, transport-proto, port-number]

It costs almost nothing in CBOR to include null values
for the protocol and port. If you use the same option format
as basic GRASP, it will remove confusion and very likely
save code.

> 5.  IANA Considerations
> 
>    This document requests a new "GRASP Objective Value Standard
>    Elements" table in the GRASP Parameter Registrar.  The values in this
>    table are names and a unique numerical value assigned to each name.
>    Future values MUST be assigned using the RFC Required policy

Do you really want "RFC Required"? We chose "Specification
Required" for GRASP objectives in general, which still
requires Expert Review but with less imposed bureaucracy.

Regards
   Brian

On 31/10/2017 10:41, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 
>         Title           : DNS-SD compatible service discovery in GRASP
>         Author          : Toerless Eckert
> 	Filename        : draft-eckert-anima-grasp-dnssd-00.txt
> 	Pages           : 15
> 	Date            : 2017-10-30
> 
> Abstract:
>    DNS Service Discovery (DNS-SD) defines the common framework for
>    applications to announce and discover services.  This includes
>    service names, service instance names, common parameters for
>    selecting a service instance (weight, priority) as well as service
>    specific parameters.
> 
>    GRASP is intended to also be used for service discovery.  Reinventing
>    service discovery for GRASP with a similar set of fetures would
>    result in duplication of work.  Therefore, this document defines how
>    to use GRASP to announce and discover services in a way that inherits
>    DNS-SD features and also tries to be compatible in spirit as much as
>    possibel while still maintaining the intended simplicity of GRASP.
> 
>    The goal of this document is to permit defining service and their
>    parameters once and then use that in GRASP, mDNS and (unicast) DNS.
>    Future work can also define DNS-SD <-> GRASP gateway functions.
> 
>    In support of service discovery, this document also defines name
>    discovery and schemes for reuseable elements in GRASP objectives
>    which are designed to be extensible so that future work that
>    identifies elements required across multiple objectives do not need
>    to define a scheme how to do this.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-eckert-anima-grasp-dnssd/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-eckert-anima-grasp-dnssd-00
> https://datatracker.ietf.org/doc/html/draft-eckert-anima-grasp-dnssd-00
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>