Re: [Anima] Use of M_FLOOD for discovery of Proxy

Michael Richardson <mcr+ietf@sandelman.ca> Mon, 19 June 2017 13:36 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 C275B1300EF for <anima@ietfa.amsl.com>; Mon, 19 Jun 2017 06:36:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Fm7vTgxV1S0i for <anima@ietfa.amsl.com>; Mon, 19 Jun 2017 06:36:06 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69F8C129534 for <anima@ietf.org>; Mon, 19 Jun 2017 06:36:05 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7C5AA4A016; Mon, 19 Jun 2017 09:37:33 -0400 (EDT)
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id A91FB6380F; Mon, 19 Jun 2017 09:36:04 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
cc: anima@ietf.org
In-Reply-To: <1dc4daff-5e31-c918-0db4-071f43f3ef9d@gmail.com>
References: <149566389334.8737.940293315082013190@ietfa.amsl.com> <e24d09bd-9497-3066-7659-895c664bb248@gmail.com> <2540.1497281932@obiwan.sandelman.ca> <20170617000102.GI20021@faui40p.informatik.uni-erlangen.de> <28650.1497805133@obiwan.sandelman.ca> <1dc4daff-5e31-c918-0db4-071f43f3ef9d@gmail.com>
X-Mailer: MH-E 8.6; nmh 1.6+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Mon, 19 Jun 2017 09:36:04 -0400
Message-ID: <24980.1497879364@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/QOaqkBoRkNtf742l1MRTJjb3fd8>
Subject: Re: [Anima] Use of M_FLOOD for discovery of Proxy
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, 19 Jun 2017 13:36:09 -0000

Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    >> If a node doesn't want to announce itself as a proxy, it would omit that
    >> objective.
    >>
    >> As for implementation, I've done it. It's a question of about a page
    >> of C
    >> code (given a cbor library), or about ten lines of ruby. Probably a
    >> similar
    >> number of lines of python.

    > I'm thinking that if we want to make a tiny extension to GRASP syntax for
    > this special purpose, we can do so in the BRSKI document. That's yet
    > another benefit of using CBOR.

     flood-message = [M_FLOOD, session-id, initiator, ttl,
                     +[objective, (locator-option / [])]]

You added the +[] there so that we can announce multiple objectives.
I don't think that there is anything more to do in GRASP.

All we need to do is define the AN_Proxy objective, and ACP has to
define the AN_ACP objective.  I just don't see any problem here.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-