Re: [Anima] [netmod] [anima-wg/anima-brski-async-enroll] Definition of new assertion type (agent-proximity) for the voucher (#18)

Andy Bierman <andy@yumaworks.com> Wed, 16 June 2021 23:02 UTC

Return-Path: <andy@yumaworks.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 5331A3A0A73 for <anima@ietfa.amsl.com>; Wed, 16 Jun 2021 16:02:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 cjGibCKLcNAE for <anima@ietfa.amsl.com>; Wed, 16 Jun 2021 16:01:56 -0700 (PDT)
Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::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 548D13A0A65 for <anima@ietf.org>; Wed, 16 Jun 2021 16:01:56 -0700 (PDT)
Received: by mail-lj1-x22e.google.com with SMTP id x14so6066683ljp.7 for <anima@ietf.org>; Wed, 16 Jun 2021 16:01:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fG9Am0Fnu7ocSB3b4MM5yM6o0FGixVld3352VX0pQ28=; b=QB4+fu3LDWFWHj7h8bsNeXjW7iiT6gSBYgtwZgzM8ZsI8aDU1eMbDXey0xAhZUMBUb 2UhwA/K3NohtoIqPV1KhFz7skTjlRPiy8rvMqP0dX9+gOYLFZkfCnScpDP+u92i57mUz c5iTXGU620ouQWic/6Ih6dYHJhJqcw6pEdmH6NYFBcL1VCztRwWNvRxudk7p+FYzYeg1 lqYthezSTcss3wCXDUqf6GQyNikEDua6kn33hRpqeaFdq/UHRAVFt62FkfiiC/eYdHBF XzEY6EK0JesvKBVwxqOZ+Grz4tN7rOrRl8AeLmMZd+vtiqrDDVN+HUJwXcedxFw2h7/G Il/g==
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=fG9Am0Fnu7ocSB3b4MM5yM6o0FGixVld3352VX0pQ28=; b=YDcd1pixqCzAe/6zV6nQuIoqXOW+JlVdWy19S8ZEzU0zKE91D66I3+iHqaQE4gJCNt aJEwUHY3n48CrSYIt7XpLWkiVXB5kHx84KtVgT9yVnwyl5Rkv3DcXlAAySwhjAzA+VBb M7PUU/dst7duaOEM9Kfq2YIjU5FSmZm+6x3H72N+DoaQCmgcjA7pboxsztbAI4I0eU/r jZb62xkboSJDrJwfsHyfNgEKRL7Z59xPIvA2ssAipiGCnfdphMhWjSw6LSOH7eRnReIo BTesfwfJJqaYptCwPhZiyuvnfMhqilDp/tyOvVr8UnHSBWWHL4SVB6KA6VdybsKlglKN /Q6A==
X-Gm-Message-State: AOAM532Ar+CtEMjkYRItVJIRN+Awydo3D5SeHATlYOetNoKYrefUJh6N uvBKAJX7AeQXaWtwo7G/FOtWJkfVDozKQ4+k6mRaRA==
X-Google-Smtp-Source: ABdhPJwdCGaWsjP2uciFMSnSRSU585GOhOxCCh2y3Ool6tlcvdPRWSqwWKyL+uMO1SOk9rFlzUAWv/P6Ip3ih1H3sbs=
X-Received: by 2002:a2e:584e:: with SMTP id x14mr1198552ljd.91.1623884513938; Wed, 16 Jun 2021 16:01:53 -0700 (PDT)
MIME-Version: 1.0
References: <anima-wg/anima-brski-async-enroll/issues/18@github.com> <19872.1623779796@localhost> <0100017a16ff590b-6803346f-2ef6-4b19-88bf-3c670e32d5a0-000000@email.amazonses.com>
In-Reply-To: <0100017a16ff590b-6803346f-2ef6-4b19-88bf-3c670e32d5a0-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 16 Jun 2021 16:01:43 -0700
Message-ID: <CABCOCHQRJB3nca36bz+gVykw5fxym7ji3GJrVMcrsW+6uUopYg@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, anima@ietf.org, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009c206205c4ea1327"
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/UvUHCaG-H6e3ntt2UFyuJT7KxHE>
Subject: Re: [Anima] [netmod] [anima-wg/anima-brski-async-enroll] Definition of new assertion type (agent-proximity) for the voucher (#18)
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 16 Jun 2021 23:02:01 -0000

On Wed, Jun 16, 2021 at 3:45 PM Kent Watsen <kent+ietf@watsen.net> wrote:

>
> Hi Michael,
>
> New assertion type for the voucher necessary for
> agent-proximity. Likely to enhance the enum in the YANG module for the
> voucher in [RFC
> 8366](https://datatracker.ietf.org/doc/html/rfc8366#section-5.3)
>
>
> Kent, how do we do add a new enum?
> Does the grouping help us at all?
> We need to do this for both voucher and voucher-request.
>
>
> Firstly, because it took me quite some time to put this message in
> context, for everyone else, here’s a link to GitHub Issue #18:
> https://github.com/anima-wg/anima-brski-async-enroll/issues/18.
>
> I’m unsure what it is trying to be accomplished but, generally, either an
> “augment” and a module-revision can be used to add an enum.
>
>

An enumeration type is hard-wired.
No enums can be added via augmentation.
You have to "deviate replace" the type-stmt to add an enum externally,
or you have to update the module and add the enum inline.


I

> K.
>
>
Andy


>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>