Re: [netmod] [Anima] [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: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBB0C3A2657 for <netmod@ietfa.amsl.com>; Thu, 17 Jun 2021 09:42:36 -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 8omHOkF88WZg for <netmod@ietfa.amsl.com>; Thu, 17 Jun 2021 09:42:32 -0700 (PDT)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 191883A265A for <netmod@ietf.org>; Thu, 17 Jun 2021 09:42:31 -0700 (PDT)
Received: by mail-lj1-x235.google.com with SMTP id d2so9892241ljj.11 for <netmod@ietf.org>; Thu, 17 Jun 2021 09:42:31 -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=AycaSvw05J8PVktw31uXCC0owPNohc76/+6RAM3am/XYeuKzPAKIbyM3Ws/AzCNBlc fBHClriDti3hVzGlrtRVvWsqUW+fII385/x/gL6e2TDVFkuGnDVERzXp0XT9CMgw3xAx dxD1BmpCo6TztaoeldHxww++E+U6wWY2lfaW9v81On6eRYgWIjDGVS0lnVmCCrod1vKd WiO8BibcqXdkqSg9yuWcIpD6fS0yOey2sXTNIYEslDc93mV8r2Bv2Psjt4FDQzYMiPme gcTOBPZyjlov+PgVmWsiBzl4ci8BCpD5b5QkliqA/A7088QvfZ6JqY0hyxINH4WjRdH7 gOzg==
X-Gm-Message-State: AOAM532DkiIaw1KfBbDXzqvp8FczXDnHFKBBmXf0c1ndsRZ5RRjObSgr MaOVHZ3tOSiUAgfCaq0pONO271IOlSHdrLqGz2IJaA==
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/netmod/qnVSKUflAc99r50xaA8zLwYpRFY>
Subject: Re: [netmod] [Anima] [anima-wg/anima-brski-async-enroll] Definition of new assertion type (agent-proximity) for the voucher (#18)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jun 2021 16:42:37 -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 > > >
- Re: [netmod] [anima-wg/anima-brski-async-enroll] … Michael Richardson
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Kent Watsen
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Andy Bierman
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Fries, Steffen
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Fries, Steffen
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Andy Bierman
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Fries, Steffen
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Andy Bierman
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Michael Richardson
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Kent Watsen
- Re: [netmod] [Anima] [anima-wg/anima-brski-async-… Michael Richardson