Re: [Anima-signaling] GRASP and renumbering: suggestions

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 27 May 2016 01:29 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima-signaling@ietfa.amsl.com
Delivered-To: anima-signaling@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6928F12B062 for <anima-signaling@ietfa.amsl.com>; Thu, 26 May 2016 18:29:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, 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 fE6LNmGOX0j0 for <anima-signaling@ietfa.amsl.com>; Thu, 26 May 2016 18:29:38 -0700 (PDT)
Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 6D94A12B038 for <anima-signaling@ietf.org>; Thu, 26 May 2016 18:29:38 -0700 (PDT)
Received: by mail-pf0-x22e.google.com with SMTP id b124so36257685pfb.0 for <anima-signaling@ietf.org>; Thu, 26 May 2016 18:29:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=QIChC3ucm2d+usOWU8UU6ld+ZRLlVg7gfchLwUa6df0=; b=Bh8M/12Or/4CDTFe0lalwJJvV9JDWA6C0MQOxWha2Qd/BngQdHSO0/YeCSiXwxIRbA tG+A0ZNThFe2pNzO0Vz5Tj7k2YlibA8U1XSA5yj/01bN9h6/m9Ajo0+KitkW88lAdyyS 3brNsVhMgNyzvvNG0F3CdIMd4RLY0zBVreLtgAq3Tla3V2p1VIxEfaRvUzsZgInIYs85 hHnDGLXIWEBk0LoDyEDNBJlgUsTMDXk3y5ASoqCxfVh1TTioX6wDjqwodEdCBcoJouhL WcN/2glFpZivVX2tqPuVul769/C4ZbXy4fSQePHMd7ePMqnbzu1kRJpp02g6v3rzGd98 zpcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=QIChC3ucm2d+usOWU8UU6ld+ZRLlVg7gfchLwUa6df0=; b=mWGDD1EYD0kEJ2wJTDe0euvskaUWDf9Kc+6WEVbGEPYOowAm8QkYcxLZfJ4rguxomG h9Wl+O7akXSZODf2RVPrqF2yQiL6qnIDih5ABGzL/w/ds3G1anVpl3oZFS4KVhlxngEf 6i67m99Vgf/SJqxk66C74bebFBWYR9WuW01+5xHZgyv/znbSMsZugcqb++fHDDjAHqrZ OG49N0hhD+irDd4nlsviltU5zhmPn9OW5MChfG4nvhN66LOa0WE34cpE814qJq/7FA8W A78IXZwcTe9jhaeIZNRZmrvu+O7U84V1S0cE4oy7MDqO4KEPWkCftwygdmw86TXQD1kc v9YA==
X-Gm-Message-State: ALyK8tJBIrA7haxOJqld0/eInQUtP+iZg6fo3LIg1FN39SQUhD2qSP8rRil9UrDo0qiKww==
X-Received: by 10.98.100.83 with SMTP id y80mr18539496pfb.84.1464312578001; Thu, 26 May 2016 18:29:38 -0700 (PDT)
Received: from ?IPv6:2406:e007:50f6:1:4405:4cc1:5a3e:165a? ([2406:e007:50f6:1:4405:4cc1:5a3e:165a]) by smtp.gmail.com with ESMTPSA id g82sm8899841pfj.22.2016.05.26.18.29.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 18:29:37 -0700 (PDT)
To: =?UTF-8?Q?J=c3=a9ferson_Campos_Nobre?= <jcnobre@inf.ufrgs.br>, Anima signaling DT <anima-signaling@ietf.org>
References: <36393312-d3e2-4d78-588d-d22c4f6766c2@gmail.com> <CABv6xLsw7y1hCgB9YBRYj9AA5cSQ=mgrwNW-FH5bXG3ZSa2CMw@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <52d2ed4d-0468-f077-036e-c91169fc5fad@gmail.com>
Date: Fri, 27 May 2016 13:29:45 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <CABv6xLsw7y1hCgB9YBRYj9AA5cSQ=mgrwNW-FH5bXG3ZSa2CMw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/anima-signaling/YpzMlvMymnMEXNub835hyNmvhQw>
Subject: Re: [Anima-signaling] GRASP and renumbering: suggestions
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the signaling design team of the ANIMA WG <anima-signaling.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-signaling/>
List-Post: <mailto:anima-signaling@ietf.org>
List-Help: <mailto:anima-signaling-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 May 2016 01:29:40 -0000

On 27/05/2016 13:01, Jéferson Campos Nobre wrote:
> Hi Brian.
> Comments below.
> Best.
> Jéferson
> 
> Em qui, 26 de mai de 2016 às 20:46, Brian E Carpenter <
> brian.e.carpenter@gmail.com> escreveu:
> 
>> Hi design team. I expect you saw the recent messages about renumbering,
>> and you may have seen the big discussion in 6man about stable addresses.
>>
>> I have two suggestions for GRASP.
>>
>> 1) In the description of discovery, we say this:
>>
>>  After a GRASP device successfully discovers a Discovery
>>  Responder supporting a specific objective, it MUST cache this
>>  information.  This cache record MAY be used for future
>>  negotiation or synchronization, and SHOULD be passed on when
>>  appropriate as a Divert option to another Discovery Initiator.
>>  The cache lifetime is an implementation choice that MAY be
>>  modified by network Intent.
>>
>> I suggest adding something more here:
>>
>>  In some environments, unexpected address renumbering might occur.
>>  In such cases, the cache lifetime SHOULD be short compared to
>>  the expected address lifetime and a mechanism to flush the
>>  discovery cache SHOULD be implemented.
>>
> 
> I'm not an english native speaker, but I would expect MUSTs instead of
> SHOULDs. Or maybe this is related to the "some environments" restriction...

Well, yes, it is, but also I think cache staleness is quite a subtle
issue and there might be implementation questions that we haven't thought
of, so leaving a little flexibility seems reasonable to me. An IETF 'SHOULD'
has a very precise meaning: "there may exist valid reasons in particular
circumstances to ignore a particular item, but the full implications must
be understood" [RFC2119].

>> 2) And in the API, I suggest that the 'discover' function
>> needs an optional 'flush' parameter, to specify that previously
>> discovered locators must be flushed first.
>>
>> I am reluctant to add a TTL to discovery responses. It's a complication,
>> and experience with DNS is that resolvers often ignore the TTL.
>>
> 
> I believe most discovery protocols work use TTL, thus I would favor using
> also. However, I'm not sure how this would impact the signaling protocol
> and, consequently, the current implementations.

It would just be one more field in a discovery response, so I don't think
the impact on the protocol is very big. I don't think it would be horrible
to implement - just set the expiry time in the cache after receiving a
discovery response, and flush out expired entries each time an ASA wants
that locator.

Thanks, any other opinions?

    Brian