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 02:51 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 878451320DC; Wed, 20 Sep 2017 19:51:47 -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, 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 YWi73DvCYUEX; Wed, 20 Sep 2017 19:51:46 -0700 (PDT)
Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) (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 D8832126DD9; Wed, 20 Sep 2017 19:51:45 -0700 (PDT)
Received: by mail-pg0-x229.google.com with SMTP id b11so2761445pgn.12; Wed, 20 Sep 2017 19:51:45 -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=ZhQ79oxS2eRliAMWVjpXxbT2bDW/j5NRsu+3JUA6hLQ=; b=KcS/Qjg8WpJuPWu60WNSZx7/w3a1Ol3XCIPojs9tjuHb4h1qechhJgaOaBXzXzRIvR CcnQKe6b5OCtebAAF+tNuWgeGdesBzPy5P1sLFRsxQc1kMLnVFRbuuceWjYE1pPtjjOT gKqYr6X306a6khQwuiZY4kuO7UyXrD1fXEHE4G6P6CVIyzh42zokaXlHNJ9UK/ggiJMx kUQQQtqcFClJLSNrA+dRIl0QBkY41Rxh4FCV5dWwP1Y/gInAzSEIb+JNew4sXlzsV+H9 I+yRRnNZQFhEyTDlPcmREYMFCNwJWx+dvNu7lGr9EoS/TXIerpRBwyW7XD3bXhf5RpCm uB6A==
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=ZhQ79oxS2eRliAMWVjpXxbT2bDW/j5NRsu+3JUA6hLQ=; b=Etwo2T6J1SG8+JfJFCPf2m8hlJgT/Sa7nqVzlTHuIgnLzEFioZnaCVOVhOX0hjnPD3 ckVjCCIHU2JL30f06NZk6hv/v/HMJ7kminMrDYX3E7GnW145VI/bK0D2LrBAhX6qClTw vDF8pyBOsUz7/JcBUTzB27yTX9rkR8LDW9nxMde6Ss0q3c0Z30C7Ejrmm6rRupfRdWKt tBF8E+n0lB49x6W7E0JHwFWKx22juUMrCYqcNw7KEFhObX/+jazNSJbQ+XPL9I2tQrq8 1UgzOQzWYtVrr6Zxnzw/NT93dxWyQIqa/ZazsbINJg5xmBtNwQG2P55Jnza9rkYDfQIy aVIg==
X-Gm-Message-State: AHPjjUjbUeEh0BAr92nRrmBPMkOQushi6QisA9nYIji9noOyUjYRpCTw l5RZkDNHVvy76iMX/8Re1mS8kg==
X-Google-Smtp-Source: AOwi7QAhd7aONMGjx+6HLb9KK90Th4SNxxKP3Eu0Tf3vKLG8OhSumDb565hX0iW52SRAzSW8tTEiVw==
X-Received: by 10.84.136.34 with SMTP id 31mr4117995plk.174.1505962305039; Wed, 20 Sep 2017 19:51:45 -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 77sm389062pfi.103.2017.09.20.19.51.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 19:51:43 -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>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <b392cf90-ffcf-d053-0a01-31b510277077@gmail.com>
Date: Thu, 21 Sep 2017 14:51:48 +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: <20170920170726.GA18746@faui40p.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/QJOUCPB05HU4ankWS77LKpVdvQM>
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 02:51:47 -0000

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
>