Re: [dhcwg] Intdir last call review of draft-ietf-dhc-slap-quadrant-08

CARLOS JESUS BERNARDOS CANO <cjbc@it.uc3m.es> Tue, 02 June 2020 15:41 UTC

Return-Path: <cjbc@it.uc3m.es>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D3993A0C4C for <dhcwg@ietfa.amsl.com>; Tue, 2 Jun 2020 08:41:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=it.uc3m.es
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 25y4e36G5EEx for <dhcwg@ietfa.amsl.com>; Tue, 2 Jun 2020 08:41:07 -0700 (PDT)
Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 B936A3A0C32 for <dhcwg@ietf.org>; Tue, 2 Jun 2020 08:41:06 -0700 (PDT)
Received: by mail-io1-xd35.google.com with SMTP id q8so11279655iow.7 for <dhcwg@ietf.org>; Tue, 02 Jun 2020 08:41:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=it.uc3m.es; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F4HJ15FjDmNJC3njQv1SRbAIdzQwYlaIv31aBos8n9M=; b=VsYh3W61sFC7L5L+fYLGK0Y2d5wL/k30hxF99HLuW2zLKKtxqM0skvgLH2t7deNTaT GO/6CRzH5WPf90YqlbxD06a+2RMYqqD5Dmev2NCUl32io6dl+GbLlb+B7iTUic6ikpfY RqI1K6iDN/AUWXTRV+xXRLYxt50COlmcqHwzJ4dK4TifV1YBc06PIHXK41cse4BmUXJ1 xqsqHI7WoGhz1o8F7skgHDhaTuZlqfc+ETwAY94dpzMNi31dmSfr+O3YBV1Ns5kw9D/w v8gKQz1SeUiJ2tvA1P25e/xSKpbWW/Pbh+eMtSy8mRSriRv4q1/k5NGigJ0s5pB1oDf2 SXZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F4HJ15FjDmNJC3njQv1SRbAIdzQwYlaIv31aBos8n9M=; b=NqAkQSWoeUIv2LdHDsOk0xLCUO5IT/obpArIGPBRTOpSrocXOK6OM10nQALFO7jNLL k9c82/CwTkVBDy5a6Wv6inqxkcfGqh+9WNQkPmmaTrOXaJzxrMW23Y84NJeQJCY4j7MQ H7SDGmp/JHrHyIFuEl9l2bNsPn+qvQie+MIGI4B8djy//HjGt/5Y2iXYkA3Ol9mJFtur DwknEteaimVdg1xk4tArGWLPtZ+rUOEAUaWJlNNPQqqYGsQzTvuyxqQjzaOGczKisFDF lhnkvuxRd/d3Z5tvHzackSjQpBluHQFVsJMwiHTMG20QY3Gab76jzktIVte8MZOOE32p VZrQ==
X-Gm-Message-State: AOAM533im9Ez2GPGXKzFPV1MNFfeG+VfDuKm0tLJKhRfy23vFGbe+JS7 G9yzWQ3dRwlrE3aPpf/Z/ArtRf0xNJvpz4WO5hFdopDpM5c=
X-Google-Smtp-Source: ABdhPJz81VX9Ax169SUgz8LDiLaSv72XjaXCbjP508LX+LSRiPEFSV57RysejEOJIxmc8NxWYokoxn9S+7husXAHUKU=
X-Received: by 2002:a6b:5a07:: with SMTP id o7mr19088iob.67.1591112463696; Tue, 02 Jun 2020 08:41:03 -0700 (PDT)
MIME-Version: 1.0
References: <158983448603.3400.6838657620034200956@ietfa.amsl.com> <CALypLp9x1z94bH6mNeZd=UChvkX5W_Xate+M153DWzPaYPHfhw@mail.gmail.com> <CAJE_bqd8a8iqsh0Bu-ZJGDdw=Aadrwng7s9X=qkk9XTJm5LrmQ@mail.gmail.com>
In-Reply-To: <CAJE_bqd8a8iqsh0Bu-ZJGDdw=Aadrwng7s9X=qkk9XTJm5LrmQ@mail.gmail.com>
From: CARLOS JESUS BERNARDOS CANO <cjbc@it.uc3m.es>
Date: Tue, 2 Jun 2020 17:40:47 +0200
Message-ID: <CALypLp-QRYC8Dk--UMg-d0XfUm1RwL4-bwRWWrEUM4SNGcmxZg@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Cc: dhcwg <dhcwg@ietf.org>, last-call@ietf.org, draft-ietf-dhc-slap-quadrant.all@ietf.org, "<int-dir@ietf.org>" <int-dir@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000326e4405a71bbd80"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ScUYpoTCCt7w2VfPGrS8a2XC7fk>
Subject: Re: [dhcwg] Intdir last call review of draft-ietf-dhc-slap-quadrant-08
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2020 15:41:18 -0000

Hi,

Thanks, please see inline below.

On Fri, May 29, 2020 at 6:49 PM 神明達哉 <jinmei@wide.ad.jp> wrote:

> At Wed, 27 May 2020 18:55:57 +0200,
> CARLOS JESUS BERNARDOS CANO <cjbc@it.uc3m.es> wrote:
>
> > > Specific comments:
> > >
> > > - Section 4.1-3
> > >        [...]  The client SHOULD NOT pick a server that does not
> > >        advertise an address in the requested quadrant.
> > >
> > > Does this mean if a client follows this "SHOULD NOT" and receives
> > > Advertise messages from servers that don't understand the new QUAD
> > > option, then the client can't choose any server?  If so, is it okay?
> >
> > [Carlos] Yes, in that case the expected behaviour would be that the
> client
> > does not choose any server. This is basically the same that happens with
> > other DHCP extensions. In any case, the text you referred to above was
> more
> > to describe what the client should do if the server supports the QUAD
> > option, but still does not have addresses available from the selected
> > quadrant.
>
> I understand that (what this text is about).  My question was about
> the compatibility with legacy servers and newer clients.  I don't know
> of other similar cases in DHCP(v6) extensions, but in any case if
> breaking the compatibility is the intent, I don't oppose that.  I just
> wanted to make sure if it's intentional.
>
> > > - Section 4.1:
> > >    5.  When the assigned addresses are about to expire, the client
> sends
> > >        a Renew message.  It includes the preferred SLAP quadrant(s) in
> > >        the new QUAD IA_LL-option, so in case the server is unable to
> > >        extend the lifetime on the existing address(es), the preferred
> > >        quadrants are known for the allocation of any "new" addresses.
> > >
> > > It's not clear to me what 'the preferred quadrants are known for the
> > > allocation of any "new" addresses' means.  Does this mean the server
> > > will assign a new address from the specified quadrant(s) in response
> > > to the Renew in this situation?
> >
> > [Carlos] Yes. If the currently assigned addresses cannot be renewed, then
> > the server will try to allocate different (that's what "new" means)
> > addresses from the same quadrant. We have added "different" to the text
> in
> > version -09 to make this clearer.
>
> Hmm, isn't it different from what the server would do with Renew for
> other types of IAs?  (Assuming that's correct) being different itself
> isn't necessarily wrong, but in that case I'd like to see an
> explanation on why it differs.
>

[Carlos] Not sure if I got your point. Do you refer to adding an
explanation of why the server might not be able to renew the addresses that
the client is using? Because this might be for different operational
reasons (like it might happen with IP addresses for example).


> BTW, "what 'new' means" isn't an issue for me, so the change in 09
> doesn't affect my point.
>
> > > - Section 4.2-3
> > > The preference between client's supplied QUAD and relay supplied QUAD
> > > (or whether it matters) isn't clear to me.   What if these are
> > > inconsistent?  Perhaps this paragraph at the end of Section 4.2
> > > answers the question?
> > >
> > >    The server SHOULD implement a configuration parameter to deal
> > >    with the case where the client's DHCP message contains an instance
> of
> > >    OPTION_SLAP_QUAD, and the relay adds a second instance in its relay-
> > >    forward message.  [...]
> > >
> > > If so, it might be more reader friendly if 4.2-3 gives a forward
> > > reference to this consideration.  Also, this paragraph seems to
> > > suggest the server may (only) process the relay's instance of the QUAD
> > > option.  If so, and it's incompatible with the client's option, then I
> > > guess the same question as Section 4.1-3 applies here.
> >
> > [Carlos] That's a good point. When we wrote this we thought that the
> > sentence "Depending on the server's policy, the instance(s) of the option
> > to process is selected." in 4.2-3 would be sufficient as a reference for
> > what comes at the end of Section 4.2 (which is indeed the answer to your
> > point). I think adding a more explicit reference would make the text
> > unnecessary long. What do you think?
>
> I don't think it "unnecessarily long" to add a short forward reference
> like "see also at the end of this section" after "Depending on ...is
> selected", but these are all about readability, which is generally
> subjective.  If you believe the current text is the best I don't
> oppose.
>

[Carlos] OK, I've added your suggested text in -10.


>
> > > - Section 5.1
> > >
> > >    [...]  Note that a quadrant - preference tuple is
> > >    used in this option (instead of using a list of quadrants ordered by
> > >    preference) to support the case whereby a client really has no
> > >    preference between two or three quadrants, leaving the decision to
> > >    the server.
> > >
> > > What does "a quadrant - preference tuple is used in this option" mean?
> > > From the context I guess it tries to talk about using the same
> > > preference for multiple quadrants, but the actual text doesn't really
> > > read that way to me...
> >
> > [Carlos] It means that the option includes pairs (tuples) of quadrant-n &
> > pref-n. Would it be clearer if we use "pair" instead of tuple?
>
> Ah, I now see where my confusion comes from.  On my first read I
> misunderstood that this entire text talks about some actual protocol
> behavior, but now I see the text after "Note that..." explains your
> design choice (correct?).  Now that I (hopefully) understand it's
> difficult to suggest how to prevent the same kind of confusion, but
> I'd perhaps say, e.g.
>
>    If the same preference value is used for more than one quadrant, the
>    server MAY select which quadrant should be preferred (if the server
>    can assign addresses from all or some of the quadrants with the same
>    assigned preference).  Note that this is not a simple list of
>    quadrants ordered by preference without no preference value but a
>    list of quadrants with explicit preference values.  This way it can
>    support the case whereby a client really has no preference between
>    two or three quadrants, leaving the decision to the server.
>
> [Carlos] Very good, thanks! I've adopted your proposed text.


> > > - Section 5.1
> > >
> > >    [...]  If the server can provide an assignment from one of the
> > >    specified quadrants, it SHOULD proceed with the assignment.  If the
> > >    server cannot provide an assignment from one of the specified
> > >    quadrant-n fields, it MUST NOT assign any addresses and return a
> > >    status of NoQuadAvail (IANA-2) in the IA_LL Option.
> > >
> > > The first and second sentece seem to contradict each other.  If, for
> > > example, two quadrants Q1 and Q2 are specified and the server can only
> > > provide an assignment for Q1, what should it do?  The first sentence
> > > seems to say the server should proceed with the assignemtn for Q1; the
> > > second sentence seems to say the server MUST NOT assign any address
> > > and simply return NoQuadAvail.
> > >
> > > BTW, the second sentence also seems to contradict Section 4.1?  4.1-2
> > > states:
> > >
> > >        [...] If
> > >        the client specified more than one SLAP quadrant, the server
> MUST
> > >        only return a NoQuadAvail status code if no address pool(s)
> > >        configured at the server match any of the specified SLAP
> > >        quadrants.
> > >
> > > [Carlos] Maybe is an English issue here (note that I'm not a native
> > speaker). What we mean is that if the server does not have at least
> > addresses from one of the specified quadrants, it must not assign any. So
> > if Q1 and Q2 are requested, and the server has only addresses from Q1,
> this
> > is fine and it should proceed with the assignment for Q1. Only if the
> > server does not have addresses from neither Q1 or Q2 it should return
> > NoQuadAvail.
>
> Okay, in that case I'd change
>
> > >    server cannot provide an assignment from one of the specified
>
> to
>
> > >    server cannot provide an assignment from any of the specified
>
> i.e., "one" to "any".  At least to me this will make the two sentences
> clearly consistent.
>

[Carlos] OK, done. Thanks!

Thanks a lot!

Carlos


>
> BTW I'm not a native English speaker either, so it's quite possible
> that it's due to my poor reading of English text:-)
>
> --
> JINMEI, Tatuya
>