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> Thu, 17 June 2021 16:42 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 D4AAC3A2657 for <anima@ietfa.amsl.com>; Thu, 17 Jun 2021 09:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.787
X-Spam-Level:
X-Spam-Status: No, score=-1.787 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no 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 7_csVFSo7xSM for <anima@ietfa.amsl.com>; Thu, 17 Jun 2021 09:42:31 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 D890B3A2659 for <anima@ietf.org>; Thu, 17 Jun 2021 09:42:30 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id z22so9886240ljh.8 for <anima@ietf.org>; Thu, 17 Jun 2021 09:42:30 -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=vzHtHQPKL1RhoFaDIVEl8hADN2PnNtT+Kbs44qv1n7M=; b=Qj7LRwUDAZPtO+xw0kitQfg9Ot9Z/z6tYBNEK09ZwuBkpHPGarlJwnb7Acf5drM1Zf W36pse4Yf/YsTNq2kYxnJ5xWTCk3YmMs0/ej/7ZOddAwmjCZU/PHl4/FIruP/W0t8reT 2/SWjfLm8bHBbjbDKhDQIJUUjzRNi4dAlQexur138jI0W2FJfnD50vMeWfUWGsONpiKM Xk8Jmlo2zEhBFh2vMbIan0Qoc1/+iueA7XWhxyxCSN0Rq6BKXoFKttqbVT1GVAb7MrM2 eLSwLbYjGhke+pEBeTBjoFhIC2RJNG9ufx2VIeEm6whLO/yXEFABBU+ty8bUjjCFzy1H nBwA==
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=vzHtHQPKL1RhoFaDIVEl8hADN2PnNtT+Kbs44qv1n7M=; b=YskDNb42jMNxHhK4y+CtmOe/hr6J2fgh+Le9Wo3+qV2HebKq4suBnWbAm8rCcxZnY0 7DmL70kBi3avVG+/2N6iXHL0JiISPqLdyJK7EqCoVZH3G4ebgx8bVFUbkuD9K1OxfjuT ZHoQadwKQlsZS2TcVN7ybLbbOIXtlnXOoI/6+JzBrmgdDw9YyOi2uz2i3+4SkYemU3cG czM3NoOMby4hRfXsyW4gJF9tHfFmejDr/J8jqKl/yUfEwjrr0+AUIb/0Nuz8qvX71sBd /b3MpgxyHYIw5zlm+7vymyjO+7piCfvY23f7Z5i8CWn4ZiqYJESIbz6bibJiwa3T1iMX JTYw==
X-Gm-Message-State: AOAM533f89JQxrrbKlk7onP8lXfHlrzwcWobYbQPBXY4pyJLfZ6JAcYG S+2cNzhGrD7qt506GiYOjo+ZGvFljDiBHuw32rMWiw==
X-Google-Smtp-Source: ABdhPJzymNarYzd2kn5gbgH3CrgurrujlhCOd2fRum+e5tw29HLXyB02zU6sjDRw29GLigrWUzS52QjA3AHatUrXDHY=
X-Received: by 2002:a2e:908a:: with SMTP id l10mr5352733ljg.160.1623948147796; Thu, 17 Jun 2021 09:42:27 -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> <CABCOCHQRJB3nca36bz+gVykw5fxym7ji3GJrVMcrsW+6uUopYg@mail.gmail.com> <c8c4ea615bb2450c9a1a9fccb956909f@siemens.com> <CABCOCHRs7npz4nv3KnfHSGaDEuskPbdOSn-bjXt83r+46VEaRg@mail.gmail.com> <06674cb9709f4bd6bc2af297b929163f@siemens.com>
In-Reply-To: <06674cb9709f4bd6bc2af297b929163f@siemens.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 17 Jun 2021 09:42:17 -0700
Message-ID: <CABCOCHRGYM3nkUaX4_quu3JpznYXDdwejD11ppWni3wU8tEbkA@mail.gmail.com>
To: "Fries, Steffen" <steffen.fries@siemens.com>
Cc: Kent Watsen <kent+ietf@watsen.net>, Michael Richardson <mcr+ietf@sandelman.ca>, "netmod@ietf.org" <netmod@ietf.org>, "anima@ietf.org" <anima@ietf.org>, "Werner, Thomas" <thomas-werner@siemens.com>
Content-Type: multipart/alternative; boundary="0000000000007bbe9405c4f8e47d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/vMqSNlCKCqiXOGjohIiSv4aLkXA>
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: Thu, 17 Jun 2021 16:42:36 -0000

On Thu, Jun 17, 2021 at 9:12 AM Fries, Steffen <steffen.fries@siemens.com>
wrote:

> Hi Andy,
>
>
>
> Thanks for the reference. I have to dive into that a little deeper. Based
> on your previous comment, it would be possible to use the “deviate replace”
> to and replace the existing enum in the voucher definition by an enhanced
> enum definition in our document. If I understood this right, it is probably
> the easiest way.
>
>
>


Deviations are not allowed in IETF modules.
You probably need to update the module that has the leaf with the
enumeration type.



> Best regards
>
> Steffen
>
>
>

Andy


> *From:* Andy Bierman <andy@yumaworks.com>
> *Sent:* Donnerstag, 17. Juni 2021 17:19
>
>
>
>
> I am not really following this specific issue.
>
> I was just pointing out that YANG enumeration types cannot be augmented.
>
> It is the wrong terminology, since only schema nodes can be augmented.
>
>
>
> *>From:* Anima anima-bounces@ietf.org *On Behalf Of *Andy Bierman
> >An enumeration type is hard-wired.
>
> Hardwired in terms of a fixed definition of values for the enum in RFC
> 8366?
>
>
>
> >No enums can be added via augmentation.
>
> That means just the definition of an additional enum value is not enough.
>
>
>
> >You have to "deviate replace" the type-stmt to add an enum externally,
>
> As I’m not too deep in YANG, could you provide more information on this
> part?  Would this be an approach to (just) redefine the type enumeration in
> the leaf “assertion” (
> https://datatracker.ietf.org/doc/html/rfc8366#page-11
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc8366%23page-11&data=04%7C01%7Ccef9763c-149c-4881-b9c2-5fedc277663a%40ad011.siemens.com%7Cccdb6da524d24947105d08d931a33d66%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637595399442930701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8VRqAnhX6Ug7JfUYJYi6VPDmwnXcFg3oa1B9GcMDf7g%3D&reserved=0>)
> and adding the new assertion type “agent-proximity”? Would this require to
> keep all enums already defined in RFC 8366 or could we just use the ones
> necessary in BRSKI-AE?
>
>
>
>
>
> https://datatracker.ietf.org/doc/html/rfc7950#section-7.20.3
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc7950%23section-7.20.3&data=04%7C01%7Ccef9763c-149c-4881-b9c2-5fedc277663a%40ad011.siemens.com%7Cccdb6da524d24947105d08d931a33d66%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637595399442930701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eytq7Vf%2BXgcEIa8TfsAozmJ9sKINN6a%2FHgdLrKvJNX8%3D&reserved=0>
>
>
>
>
>
> >or you have to update the module and add the enum inline.
>
> Does this result in an update of the module “ietf-voucher” or to define a
> new module, which imports and augments the voucher by adding the new enum?
>
>
>
> Best regards
>
> Steffen
>
>
>
>
>
> Andy
>
>
>