Re: [IPsec] FW: New Version Notification for draft-tran-ipsecme-ikev2-yang-00.txt

Paul Wouters <paul@nohats.ca> Mon, 28 March 2016 14:29 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4268012D9D3 for <ipsec@ietfa.amsl.com>; Mon, 28 Mar 2016 07:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level:
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_ALL=0.8, T_RP_MATCHES_RCVD=-0.01] autolearn=no 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 I4uUCyjJjnu6 for <ipsec@ietfa.amsl.com>; Mon, 28 Mar 2016 07:29:51 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F9AE12D9DC for <ipsec@ietf.org>; Mon, 28 Mar 2016 07:29:19 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 3qYbrY5cmqzCJn; Mon, 28 Mar 2016 16:29:17 +0200 (CEST)
X-OPENPGPKEY: Message passed unmodified
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id LCzoEpcYcN7t; Mon, 28 Mar 2016 16:29:16 +0200 (CEST)
Received: from bofh.nohats.ca (206-248-139-105.dsl.teksavvy.com [206.248.139.105]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Mon, 28 Mar 2016 16:29:16 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 77F8960007EA; Mon, 28 Mar 2016 10:29:15 -0400 (EDT)
DKIM-Filter: OpenDKIM Filter v2.10.3 bofh.nohats.ca 77F8960007EA
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 7479F18D6F; Mon, 28 Mar 2016 10:29:15 -0400 (EDT)
Date: Mon, 28 Mar 2016 10:29:15 -0400
From: Paul Wouters <paul@nohats.ca>
To: Daniel Migault <daniel.migault@ericsson.com>
In-Reply-To: <2DD56D786E600F45AC6BDE7DA4E8A8C11222B1D5@eusaamb108.ericsson.se>
Message-ID: <alpine.LFD.2.20.1603271819220.22991@bofh.nohats.ca>
References: <20160318180059.2743.10884.idtracker@ietfa.amsl.com> <2D1BA3CFD799FD44A1F3650A84C4000F1231AFBC@eusaamb107.ericsson.se> <2DD56D786E600F45AC6BDE7DA4E8A8C11222B1D5@eusaamb108.ericsson.se>
User-Agent: Alpine 2.20 (LFD 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="US-ASCII"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipsec/KF7YBVTOJsq6a7NM3qsNN7KqlIE>
Cc: "ipsec@ietf.org WG" <ipsec@ietf.org>
Subject: Re: [IPsec] FW: New Version Notification for draft-tran-ipsecme-ikev2-yang-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Mar 2016 14:29:53 -0000

On Sun, 27 Mar 2016, Daniel Migault wrote:

> Subject: [IPsec] FW: New Version Notification for
>     draft-tran-ipsecme-ikev2-yang-00.txt

> Please find our first version for the YANG model for IKEv2. Feel free
> to post comments. I would be also happy to have face-to-face
> discussions on the draft - especially from IKEv2 implementers.

Might be good for me to have a talk about it, especially because I'm
not a yang person. . I'm still a bit confused about the syntax. There is
code in the document that looks like "ready to use" but also looks like
"example to use". like:

   description
        "This YANG module defines the configuration and operational
         state data for Internet Key Exchange version 2 (IKEv2) on
         IETF draft.
         Copyright (c) 2016 Ericsson AB.
         All rights reserved.";

All rights reserved? huh? Is that an example? or is this an error?

I'm confused about units too, like:

   leaf initial-retransmission-timeout {
            type uint32;
            description
              "initial retransmission timeout value";
          }

look weird to me. What's the unit here? uint32 is not a unit, it is
a number Is this seconds? miliseconds? seconds since 1970? Since 1772?

Some of it looks like just copying IANA registries? So that would be
outdated quickly. How would that get updated? Should we really put
chunks of code in RFCs like that?

Paul