Re: [Anima] ACP -10 [was Re: I-D Action: draft-ietf-anima-autonomic-control-plane-08.txt]

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 21 September 2017 23:25 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 4D2091331E4; Thu, 21 Sep 2017 16:25:10 -0700 (PDT)
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 Ugw8BoanbWPY; Thu, 21 Sep 2017 16:25:08 -0700 (PDT)
Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 592481320D8; Thu, 21 Sep 2017 16:25:08 -0700 (PDT)
Received: by mail-pf0-x22a.google.com with SMTP id b70so3950051pfl.8; Thu, 21 Sep 2017 16:25:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vHG5ajhri5dlYPeBliMBY5YgEm6R01ay7bNjtRp6zO0=; b=pRlErF2gB7TvuT9Z5fkjK52JjWR+lnS+xF2hAPIJLOxn73XHiXuW1sEBxxaVe5DwHo z2IlVwBGuFUa+Tf4KOkaFQqVqnq0sTbT2YIcXFOgpW7o2z/OBFi3AEZYB6/6O2O4wJ62 w9lj8/6eUrhSxbqPs/DU6aCI+HvhFAS9bB8SJdvSZ4qNW0aLHoqvf4OSo1Uz0bmMVpVc VA/q3DiElHD8tOF2/VjTzlm208A49f92Bdbm0A0yGNNQSXh431q68gH+nH5zokKD3E2E yNOJWCVaumephMy0b+nX8uOf0ZB7IL3YJRlKxMHBw1Dl7z97K6pbgsPFnMgfTLgCJcEV IOIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=vHG5ajhri5dlYPeBliMBY5YgEm6R01ay7bNjtRp6zO0=; b=k8q3Dqk1mJDXLHUHlfPCfwClbS5e6vPkrH05BT7MrWfamV33Cm4q96NktregI5SGd6 Mv+jEU2WiCFxO6Ul6sYNQEr/kXbxvkGi8g1DltTYN/9N2h7JjpSK9ywiaZx2yhXwK/dI WJhaUYaY/TaKxTuujaZ+QbIjpqFGkxBkmug24ZT/g9KfdgV6IYVy8IP58z50V4HgDXX0 ABFk0xEv3hwXtlvynuL1XuLsM0qf5/vUGvbay4rzKxLn5HVCjO3VCQRPd+mFn0YzfQA7 I7LDZfLGLj+Lno35npLhS4i5akeuFvJPC5HBOaBQfISiCr1Eug3JhedR7/caBW92cn/y HRUA==
X-Gm-Message-State: AHPjjUiMG09uUeRX3NcW74skhFSE50eugdrd//l8eMFOMBefLzyYn1c0 AlwXE+BVUXjUQIJY/93NIxtwjA==
X-Google-Smtp-Source: AOwi7QAp8IAR3iQUMGdHvL5AfvAWu44RWta/hFT5xRQ1Q3vrysDg2TvByo0o4WtP+G3Uo9lb1AxNXA==
X-Received: by 10.98.156.207 with SMTP id u76mr7289705pfk.190.1506036307275; Thu, 21 Sep 2017 16:25:07 -0700 (PDT)
Received: from ?IPv6:2406:e001:3f51:1:28cc:dc4c:9703:6781? ([2406:e001:3f51:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id l85sm4565299pfb.176.2017.09.21.16.25.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 16:25:06 -0700 (PDT)
To: Toerless Eckert <tte@cs.fau.de>
Cc: draft-ietf-anima-autonomic-control-plane@ietf.org, anima@ietf.org
References: <150044138257.25233.12391471568614147773@ietfa.amsl.com> <f5e84812-c2fa-cc16-4105-20f7791110f4@gmail.com> <20170918060429.GC31832@faui40p.informatik.uni-erlangen.de> <7e70c270-6cf6-58b9-2ce4-d811f9cd1c87@gmail.com> <20170920170726.GA18746@faui40p.informatik.uni-erlangen.de> <b392cf90-ffcf-d053-0a01-31b510277077@gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <c5e76f58-b0a6-5a24-09a1-e44ef7f3868b@gmail.com>
Date: Fri, 22 Sep 2017 11:25:12 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <b392cf90-ffcf-d053-0a01-31b510277077@gmail.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/ZK0jhnHAbbeE_uwVH7pjxWOFlo4>
Subject: Re: [Anima] ACP -10 [was Re: I-D Action: draft-ietf-anima-autonomic-control-plane-08.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: Thu, 21 Sep 2017 23:25:10 -0000

By the way, I just realised the obvious: we could write much more
succinct CDDL definitions of objective-values if we wanted to.
For my suggestion below, this means exactly the same:

objective-value = [ 0..255, [ +("BRSKI-TLS" / "EST-TLS") ], *[ any ] ]

Regards
   Brian

On 21/09/2017 14:51, Brian E Carpenter wrote:
> On 21/09/2017 05:07, Toerless Eckert wrote:
>> Thanks, Brian
>>
>> a) i will fix the ABNF with next update (for Shengs review).
> 
> Great.
> 
>> b) Given the order of likely last calls, i will suggest in the bootstrap meeting that we
>>    define the AN_Registrar objective authoritatively in ACP and BRSKI adds to it the
>>    "BRSKI" method. BRSKI already should have no issue having ACP as normative reference.
>>    Lets see how that discussion goes.
> 
> Works for me. Just decide whether you want AN_registrar or AN_join_registrar.
>  
>> c) Given my ABNF/CDDL dyslexia, would you mind to propose a correct CDDL for the
>>    objective-value structure to include the TTL and method, eg: fixup the following:
>>
>>>>   objective-value = [ sender-ttl, method-list [, future-extensions]* ]
>>>>   method-list = [ method ]*1
>>>>   methd = BRSKI-TLS | EST-TLS | ...
>>>>   sender-ttl = NUM
> 
> I would go for this:
> 
> objective-value = [ sender-ttl, method-list, *[ future-extensions ] ]
> method-list = [ +method ]
> method = "BRSKI-TLS" / "EST-TLS"
> sender-ttl = 0..255
> future-extensions = any
> 
> The "+" prefix means 1 or more in CDDL and "*" means zero or more.
> The commas in lists like [+method] are implied. (I checked
> this fragment with the CDDL tool.)
> 
> I used strings for the method for simplicity; if you want to save a few
> bytes you could use symbols but then they have to be assigned values like
> BRSKI-TLS = 0
> EST-TLS = 1
> and you end up with another IANA registry in your life.
> 
> Regards
>     Brian
>  
>>    If we do not get further feedback from the WG supporting my simple TTL=255 approach,
>>    i would rather go with this structure approach, so that we can let the TTL disussion
>>    take its natural course (figure out it should be 255 over 10 years ;-P). Primarily,
>>    because i like the idea to show off a bit the flexiblity of GRASP for the objective
>>    value being a structure. ANd because it would be a good reference for further objectives
>>    where we want to discover/select closest instance (and we didn't include this into the
>>    GRASP document proper).
>>
>> Cheers
>>     Toerless
>>
>>>>   (pretty sure i didn't get the CBOR template not right, but i am sure you get the idea)
>>>
>>> Not only do I get the idea, I tested it out many months ago; actually after the
>>> discussions in Berlin, I think. In my Pythonic world it was very easy, but it is
>>> indeed a bit more complicated than the 255-N method.
>>>
>>>>
>>>> That way, the recipient can compare sender-ttl with the TTL of the received objective
>>>> and threeby figue out which one is closest.
>>>>
>>>> I fine either way. I just tried to go for the most simple, logical option.
>>>
>>> Right, so the question for the WG (are you all listening?) is whether we
>>> want to defend the value of the loop count in limiting propagation of multicast
>>> messages. (Remember that it has another role in negotiation sessions, where
>>> it really is a loop-prevention counter.)
>>>
>>> I will note that in testing on looped topologies I have seen looped multicasts
>>> dropped because of the session ID; theoretically that is sufficient, and the
>>> loop count is logically redundant.
>>>
>>> Otherwise, me happy.
>>>
>>> Thanks again for all the work,
>>>
>>>     Brian
>>