Re: [Softwires] Last Call: <draft-ietf-softwire-yang-06.txt> (YANG Modules for IPv4-in-IPv6 Address plus Port Softwires) to Proposed Standard

tom petch <daedulus@btconnect.com> Wed, 03 October 2018 11:56 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FE0A13126F; Wed, 3 Oct 2018 04:56:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.197
X-Spam-Level: ***
X-Spam-Status: No, score=3.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 MGqOpZnpqXCA; Wed, 3 Oct 2018 04:56:41 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0114.outbound.protection.outlook.com [104.47.0.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7550A13126D; Wed, 3 Oct 2018 04:56:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iM46lMgaOu5ed0ycedH1TVzZowhZtL6PhknMDrfe3f0=; b=eDPczuaYzW8rInWqSAqA0ZetBu3wv3VfZEIfRugLxDw/t6EvlXTQ894Xhv175BZXFeb5j70b4fZmKNyn9yoq9zBhhD8LM9KUXIBFxsbVGUAt4QW8SB6isWfoofGYsGdrvPeQ2p5bYd9kTlHoddii0gRv5veQzfHheM1L9TJPtWU=
Received: from AM5PR0701MB2337.eurprd07.prod.outlook.com (10.169.152.135) by AM5PR0701MB2388.eurprd07.prod.outlook.com (10.169.152.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.15; Wed, 3 Oct 2018 11:56:37 +0000
Received: from AM5PR0701MB2337.eurprd07.prod.outlook.com ([fe80::31e4:54f6:8b2b:fbf5]) by AM5PR0701MB2337.eurprd07.prod.outlook.com ([fe80::31e4:54f6:8b2b:fbf5%4]) with mapi id 15.20.1207.021; Wed, 3 Oct 2018 11:56:37 +0000
From: tom petch <daedulus@btconnect.com>
To: tom petch <daedulus@btconnect.com>, ietf <ietf@ietf.org>
CC: "softwires@ietf.org" <softwires@ietf.org>, "softwire-chairs@ietf.org" <softwire-chairs@ietf.org>, "jiangsheng@huawei.com" <jiangsheng@huawei.com>, "draft-ietf-softwire-yang@ietf.org" <draft-ietf-softwire-yang@ietf.org>
Thread-Topic: Last Call: <draft-ietf-softwire-yang-06.txt> (YANG Modules for IPv4-in-IPv6 Address plus Port Softwires) to Proposed Standard
Thread-Index: AQHUV0YbyPzjZyYH70iwNfMq7VsFaA==
Date: Wed, 03 Oct 2018 11:56:37 +0000
Message-ID: <052a01d45b10$0abc3d60$4001a8c0@gateway.2wire.net>
References: <153805000273.26427.17737657568994190653.idtracker@ietfa.amsl.com> <005501d45746$079c5480$4001a8c0@gateway.2wire.net> <022801d45979$9499a880$4001a8c0@gateway.2wire.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: VI1PR0701CA0042.eurprd07.prod.outlook.com (2603:10a6:800:90::28) To AM5PR0701MB2337.eurprd07.prod.outlook.com (2603:10a6:203:e::7)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=daedulus@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [81.131.229.47]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM5PR0701MB2388; 6:Tz5knPzeIxqF7lr0V5Xx16hKhY7BcLPZEY21XhSANYMo3+262ek0cOj2NSWgqQukg7bZs/PFhqgRsNCUU3W6V4zvFS0eUWzdxkfvW4NZazVQJRoG0B7RPv9pDV2WN4owtQ7og285tRI0C8AVn8fQxUQXWoUnHElgg9Rv5ncTjOMc/mgp8EGSyfNM0luX/ImMBaFS95C/qFXonedMK3KOIeqv1obvedCCepRTWnonLxP977XJfsmwoYou4XFx9Z3Qqu0W2hwUSnfCsiPeUlKhVywgoB+26BNBLnnFFtkws4SIhaIoGRDnaMSngxjaLTwogKeXWLGfzw5hKifhjZacFRBnAiuYJtjD9bFwfMkbjZnh9r/3yF7GSBoPbcVSUX2OZWsjoFaZDWvZl8W5WzEXEH8vjYUIQZSg7sfSkNdjHroAHQO8+Na/voBN6ROoew78ANGBboMvPwI9pxXoT/LUEQ==; 5:rF+Nzy0P8fxcD6JsbC15xYDB5pu6xG2y9caAcSsMRUuzoFhv+u0UORN2sBRHg4jpwoaKK5yG0FfFZ20a9Hhqt3fnHhXnTb8l0ocU4fjE+cnNDsnzi4Ccto+EAl0yc1sgtOzStOCq8tt3oKLgngsFj8hFajoi/T8LUi+WtKHY7fg=; 7:PEk21mUFukIAIIZ0IMhYzK3Z9DyZy/p5w8ncjQKZMsg02/coPMEwAZhFCAlGMIZFD7uJ4UC//Y7zO6GflG9Cm0x5s+AYJVN00PwGFjzzeZ3a0scs854y9w1cIi9af7odzThfDm/Znx2FKV36bt9oByYROBnu+Q+0ZIfxUV3QN2gZ8akaBmiAop6xrW9MVSc4NHTOV7JPHGHdrsDvFtIOtkfGTtGhAF6s3A05dcXidcBdpVHa2jrKgEDiVfQT6vLk
x-ms-office365-filtering-correlation-id: 0568e6ef-052b-4c41-7e76-08d629274578
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7193020); SRVR:AM5PR0701MB2388;
x-ms-traffictypediagnostic: AM5PR0701MB2388:
x-microsoft-antispam-prvs: <AM5PR0701MB238839EFD3CB4D3A6C480101C6E90@AM5PR0701MB2388.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(120809045254105)(178726229863574)(219612443155931)(50582790962513);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231355)(944501410)(52105095)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201703031522075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051); SRVR:AM5PR0701MB2388; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0701MB2388;
x-forefront-prvs: 0814A2C7A3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(346002)(366004)(39860400002)(396003)(51444003)(13464003)(199004)(189003)(229853002)(99286004)(66066001)(256004)(102836004)(14444005)(81166006)(53936002)(2900100001)(1556002)(4001150100001)(26005)(54906003)(81156014)(105586002)(86362001)(106356001)(97736004)(110136005)(6512007)(68736007)(478600001)(486006)(9686003)(25786009)(3846002)(6116002)(8676002)(186003)(476003)(6306002)(5250100002)(86152003)(5660300001)(316002)(296002)(305945005)(33896004)(966005)(4744004)(2906002)(446003)(14496001)(44736005)(71190400001)(71200400001)(7736002)(84392002)(14454004)(6486002)(4326008)(8936002)(386003)(52116002)(6506007)(76176011)(6436002)(6246003)(21314002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0701MB2388; H:AM5PR0701MB2337.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: wT3gL08XAVOUKy1VnopZ4EGEAppOoNdPFz/4ayBJvdhPJS2u2YIvvNBrhfMaeZ2yP6q0z+InGLBtDJXLLag53bdA/GHSJ54Zcsm7mnEyb8K2eeb3+eDMANtgbTmf3XNtOSjMwX90KechkzuM8l8/XIN8LBFMG2++FTAhJ7DX7M4ySLvu2rlEEoev8K7wzXDVtqkx2gjR5dzrhA50uQweeDejo8hzwNz2dN7hHCKrrL5bFNO4I1s0EA/G3GIjb4qtGnYSqdRNFslFClIL2Tse23RiKp1rJQNUg/NFgAYnOVFcWdmP22ZifVaQBvqBQmuIA26ZhyWunH7x6eX+kVYmpBF4lamUluendsPw4VSUxvU=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <9E94588AB7839E4CB8BC85F1CC6BFAD0@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0568e6ef-052b-4c41-7e76-08d629274578
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2018 11:56:37.4949 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2388
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/cXbdyKHWAA-atALtnLI6PXKFOjU>
Subject: Re: [Softwires] Last Call: <draft-ietf-softwire-yang-06.txt> (YANG Modules for IPv4-in-IPv6 Address plus Port Softwires) to Proposed Standard
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Oct 2018 11:56:45 -0000

And some technical comments on this I-D as a result of which, I do not
think this is ready to progress; perhaps no show stoppers, just a lot of
changes are needed IMHO.  The more I look into this I-D, the less I
understand (which may be my ignorance of YANG).

This I-D is concerned with three tunnel types (Lw4o6, MAP-E, MAP-T).  In
several places, you have
  augment "/if:interfaces/if:interface" {
    when "if:type = 'ianaift:tunnel'";
This will augment for all tunnel types, not just those of this I-D.  I
think you should have your own three (?) derived identities for the
three specific tunnels described here, all in the common module.

The three YANG modules are for Customer Premises Equipment, Border Relay
and a common module. Both the first two define two features, binding and
algorithm, binding for Lw4o6 and algorithm for MAP-E/MAP-T - I do not
know if/how this duplication of features will work (and as I said
before, I am confused about support for 'MAP-E and MAP-T' versus 'MAP-E
or
MAP-T' both of which phrases appear in the I-D).  As with tunnel types,
should
there be three features, should they be in the common module?  (yes, and
yes)

2.2
'they should be imported here, as needed. '
import is a YANG technical term as used in this I-D so I think the use
of it here wrong

'   The CE must already have minimal IPv6 configuration'
Could that also be IPv4 which, by definition, is going to be widespread
in the deployment?

3.2
softwire-path-mru:
what is the point of this field?  I looked at RFC7596, RFC7597 and
RFC7599
and could find no reference thereto.  I went back to their references,
such as RFC4821, RFC2473, RFC1981, RFC6346 ... - no joy.  I had thought
to suggest a reference was called for but seeing the complete absence of
any connection, I think that a substantial explanation is called for.

Likewise, I note that references to MTU are qualified with IPv4 but
references to MRU are not; rather, this object
'set the maximum IPv6 softwire packet size that can be received ...'
when
'the implementation is unable to calculate the correct IPv4  size  '
Really?

'IPv6 prefix type' or ''IPv6 address type'.
Well, no It can be
type  ipv6-prefix or ipv6-address

This description of the  ietf-softwire-ce module describes objects that
are not in the  ietf-softwire-ce module, which confuses me.  Rather they
are in the ietf-softwire-common module.  I think you need a description
of the objects in the ietf-softwire-common module first and then moving
on to the two specific modules.  The sense I get is that while splitting
into three makes sense, the consequences have not been thought through.

The descriptions of objects here are (mostly) good, but do not appear in
the YANG module.  Those in the YANG module are shallow by comparison and
should be at least as comprehensive as those in the body of the I-D; the
YANG module has to be able to survive on its own.

'The version number is  incremented  '
Any constraints on the increment?  one, a hundred, a million...?

4.2
As with 3.2, the descriptions here of the objects look fine, those in
the description clauses of the YANG module do not; they are thin by
comparison.

5
leaf br-ipv6-addr {
     mandatory true;
        "The IPv6 address for of the binding BR.";
This is not quite English.
And since this object is MAP-E only, should it be, can it be, mandatory?

              leaf id {
              type uint32;
              mandatory true;
              description "Algorithm Instance ID";
Any constraints on how this 32-bit integer will be used?

6

leaf softwire-num-max {  type uint32;
             description
                "The maximum number of softwires that can be created on
                the binding BR.";
Any restriction on the range of this. Can it be zero?

/ "Enables the generation of ICMPv6 errors messages/
  "Enables the generation of ICMPv6 error messages/

                leaf icmpv4-rate {
                leaf icmpv6-rate {
Can these validly be zero?  Also, I think that there should be a
recommended value (the Transport Area are keen on such things)

            leaf id {
              type uint32;
              mandatory true;
              description "id";
Not the most helpful of descriptions

'This must be  initialized when the BR instance is configured'
Perhaps
"This must be reset to the current date-and-time when the BR instance is
configured"

'Notify the client that a specific binding entry has been
expired/invalid.
Perhaps
'Notify the client that a specific binding entry has expired or is
invalid.'

      leaf date {
        type yang:date-and-time;
        description "Timestamp to the algorithm";
Not a helpful description IMHO

    leaf name {
      type string;
      description "The name for the instance.";
ditto; what is the namespace, how is the name used?

"Embedded Address (EA) bits are the IPv4 EA-bits in the IPv6
        address identify an IPv4 prefix/address (or part thereof) or
        a shared IPv4 address (or part thereof) and a port-set
        identifier.
This is not quite English

8
The IESG like to see TLS1.3 RFC8446 here

 I have yet to review the examples, but if my suggestion above result in
changes, then the examples will change significantly.

Tom Petch

----- Original Message -----
From: "tom petch" <daedulus@btconnect.com>
Sent: Monday, October 01, 2018 12:26 PM

> Some more thoughts on this I-D
>
> No mention of NMDA - I see the IESG asking for such a statement in
> Abstract and in the body of an I-D
>
> Abbreviations are expanded but on the nth use, not the first use e.g.
> BR, PSID; they probably should be expanded on first use within the
YANG
> module as well.
>
> '   Please update the "revision" date of the YANG module.'  There are
> three of them:-)
>
> Terminology is problematic especially as it seems inconsistent with
the
> Normatively Referenced RFC7596, RFC7597, RFC7599.
>
>  Customer Premises Equipment (CEs ..
> CE is a well known abbreviations for Customer Edge, as oppposed to
> Provider Edge, and this is not meant here.   Indeed, RFC7599 uses CE
for
> Customer Edge.  Customer Premises Equipment is widely abbreviated to
> CPE.  RFC7596, a  Normative Reference, has 'Customer Premises
Equipment
> (CPE)' which I should be used here.
>
> In places, it is 'MAP-E, and MAP-T', elsewhere 'MAP-E or MAP-T'. Does
> feature 'algorithm' mean both are supported or just one, and if one,
how
> can the user tell?
>
> The description clause of 'module ietf-softwire-common' is misleading.
> The introductory sentence of the section accurately describes the
module
> as common definitions but the description clause claims to configure
> Lw4o6, MAP-E and MAP-T which it seems wrong.
>
> 'algorithm' is widely (mis?)used in this I-D.  The Normative Reference
> RFC7597 is much easier to follow since it mostly talks of 'Mapping
> Algorithm' or 'Mapping Rule'.  I think
>       case algorithm {
>         if-feature algorithm;
>         container algo-instances {
>           list algo-instance {
> with
>       grouping algorithm-instance {
> in softwire-common and
>       case algorithm {
>         if-feature algorithm;
>         container algorithm {
>           if-feature algorithm;
> need a different term or terms.  Likewise
>       case binding {
>         if-feature binding;
>         container binding {
>           if-feature binding;
>           list bind-instance {
> for binding.  A widely used, and helpful convention is to have a list
> the plural - interfaces - and entries singular - interface; that would
> help here.  And what does
>           if-feature algorithm;
> add that
>         if-feature algorithm;
> does not?
>
> BR is a well known abbreviation for Border Router; here it used for
MAP
> Border Relay and while RFC7599 says 'A MAP BR may also be referred to
as
> simply a "BR" within the context of MAP.', I think that the context
here
> is wider - the modules are not just MAP - and the term should be 'MAP
> BR' not just 'BR'.
>
> After my previous message
> ietfa.amsl.com.
> gave me a bounce message for
> yong@csnet1.cs.tsinghua.edu.cn>
>
> Overall, I get a slight flavour that this is written by those
intimately
> acquainted with the technology (although not so much with the RFC!)
for
> similar readers.
>
> Tom Petch
>
> ----- Original Message -----
> From: "tom petch" <daedulus@btconnect.com>
> Sent: Friday, September 28, 2018 5:12 PM
>
> > I believe that this I-D needs some admin-type changes to make it
> usable.
> >
> > All three modules import some or all of
> >
> > ietf-inet-types
> > ietf-interfaces
> > iana-if-type
> > ietf-softwire-common
> >
> > These imports should have YANG reference statements identifying the
> > relevant RFC, probably
> >   6991
> >   8343
> >   7244
> >   XXXX
> >
> > and these need to be Normative References for the I-D; 8343 is, 6991
> is
> > not.
> >
> > The first two modules have a sentence mentioning the use of RFC6991;
> > this should mention all the modules referenced, those above and
> > RFC7596
> > RFC7597
> > RFC7599:
> > these last are already Normative References.  A similar sentence is
> > needed for the third module for the RFC that it references.
> >
> > The third module is a bit light on references - I cannot see any!
> >
> > There are three references to RFC XXX- I suspect that RFC XXXX is
> > intended.
> >
> > IANA Considerations references RFC7950 - this is a poor reference
> since
> > all it says is 'Go look at RFC6020' which thus should be the
reference
> > here.
> >
> > Security Considerations starts "The YANG module defined in this
> document
> > ...
> > Give us a clue - there are three of them:-)
> >
> > Appendix A.  Configutation Examples
> >
> > Tom Petch
> >
> > ----- Original Message -----
> > From: "The IESG" <iesg-secretary@ietf.org>
> > To: "IETF-Announce" <ietf-announce@ietf.org>
> > Cc: <softwires@ietf.org>; <softwire-chairs@ietf.org>;
> > <jiangsheng@huawei.com>; <terry.manderson@icann.org>;
> > <draft-ietf-softwire-yang@ietf.org>
> > Sent: Thursday, September 27, 2018 1:06 PM
> >
> > >
> > > The IESG has received a request from the Softwires WG (softwire)
to
> > consider
> > > the following document: - 'YANG Modules for IPv4-in-IPv6 Address
> plus
> > Port
> > > Softwires'
> > >   <draft-ietf-softwire-yang-06.txt> as Proposed Standard
> > >
> > > The IESG plans to make a decision in the next few weeks, and
> solicits
> > final
> > > comments on this action. Please send substantive comments to the
> > > ietf@ietf.org mailing lists by 2018-10-11. Exceptionally, comments
> may
> > be
> > > sent to iesg@ietf.org instead. In either case, please retain the
> > beginning of
> > > the Subject line to allow automated sorting.
> > >
> > > Abstract
> > >
> > >    This document defines YANG modules for the configuration and
> > >    operation of IPv4-in-IPv6 softwire Border Relays and Customer
> > >    Premises Equipment for the Lightweight 4over6, MAP-E, and MAP-T
> > >    softwire mechanisms.
> > >
> > > Editorial Note (To be removed by RFC Editor)
> > >
> > >    Please update these statements within this document with the
RFC
> > >    number to be assigned to this document:
> > >
> > >    o  "This version of this YANG module is part of RFC XXXX;"
> > >
> > >    o  "RFC XXXX: YANG Modules for IPv4-in-IPv6 Address plus Port
> > >       Softwires";
> > >
> > >    o  "reference: RFC XXXX"
> > >
> > >    Please update the "revision" date of the YANG module.
> > >
> > > The file can be obtained via
> > > https://datatracker.ietf.org/doc/draft-ietf-softwire-yang/
> > >
> > > IESG discussion can be tracked via
> > > https://datatracker.ietf.org/doc/draft-ietf-softwire-yang/ballot/
> > >
> > > No IPR declarations have been submitted directly on this I-D.
>
>