Re: [Softwires] I-D Action: draft-ietf-softwire-yang-02.txt
Ian Farrer <ianfarrer@gmx.com> Thu, 09 November 2017 13:59 UTC
Return-Path: <ianfarrer@gmx.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 82FE4120454 for <softwires@ietfa.amsl.com>; Thu, 9 Nov 2017 05:59:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.399
X-Spam-Level:
X-Spam-Status: No, score=-5.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 M6Viea__lALb for <softwires@ietfa.amsl.com>; Thu, 9 Nov 2017 05:59:02 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 49D10120046 for <softwires@ietf.org>; Thu, 9 Nov 2017 05:59:02 -0800 (PST)
Received: from hargashouseofribs.lan ([80.159.240.8]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0M1n4s-1f6Olr0C2U-00to98; Thu, 09 Nov 2017 14:58:21 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <87shdpyud3.fsf@igalia.com>
Date: Thu, 09 Nov 2017 14:58:19 +0100
Cc: softwires@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <26D4556C-9A1F-401D-A8A5-2141229484BB@gmx.com>
References: <150937633651.3401.8976291853315482170@ietfa.amsl.com> <87shdpyud3.fsf@igalia.com>
To: Andy Wingo <wingo@igalia.com>
X-Mailer: Apple Mail (2.3273)
X-Provags-ID: V03:K0:qKQlR+qn21b9RoVXuKZrQKk0meZ1AnLHfuyUmSxTlTOI9QrzJOJ yH4xsxRKa6WBGMKy2Uv+UgrhWiyOyxDZlDSEfhwrpMRIkf/zajmUnuJ7kx9HOzb9SV3pUbB 9a3rvwXHXIm+bqksYmK8AD60WHdkB0c6YLM+vufEGxqsqEljwkiGbxekrdhqtifZ04CBNgV bVEaydDAmCQ+azNni3qLQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:XMi9+RFIaMM=:WWa/i13Jbddun4apdvmW0J uk57JG+hb8QRNr+cQhA2UUzTm/8ovatHCwgM9xvE0SnKCY1vdjqzreN/yi5E7slf7oazBbeJN ynY5Nyb4ZrLA8HhIO+ASxnEJNq1PUwojuuD1Zbq2zZszr6wposbL8BfIduvImuMawjG3gmwT5 aW4NqxTWRURwXo3q+WY2d1XXndFYHzGDH3QquNiLA7z4F7L82QEQf3K/ExWwd1KPhoGVbczIT 74xoNpnNz1hQLfa5cDeCO5TLSOc7RY8Jq91PxGPwIi9AdzjQ3ZV86ukY5RocKhvUppZ93rVs9 6vahQGafm8lISZSyVp6853yH/qaQ23Ia34hlbm+F+nDT5QKC+ucwOEjUhBNXJ6/65w61c8DpK qRycu60yOzU7seLrsx1FWiTRvG8W5sxUFfpLT1tjFnjfasj6zXupRYUFMz7yC9M7aeqqiLlJa Ypexcf2SBT0Xl3kFrSEyzREUSB20ZywoxWpvxV4/jNueFAiX46bE2IQVU/ptCUvhwwih9sUUM Zxh0xbBoF0Z1ytXPgQiLP1uiMbiaY144SRzOwiBlLz4QSkcAPVB0k/7kQvaAVumAgLa8ZZCqm WoGqfdHlwoyStna9e75ASwKNmCPvBHKaka3qE/lf5IYs4TwtTNCyFRg4OZncLqGXCqeyUERHa 8kLE0Pp+/ABtsOxk9Zq2tZSYcQ78nYzYJ2BJxhT38j1qv/vSRP7ziKh84iSLiDjeoE3C0ll/G Wyu43A/V+36XyjO4MeJkdkTxyHFBXMBodYQJ22V4ugp0G/R15E1dvBRc9bz/X6vcmrP7kZOtb RECMLeoktHMvYy7UAYiNyWOSBgJBkDcigQRIaRuyQnFLpjeyG0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/D7988UM47IBKzai1XPmrxnDbab0>
Subject: Re: [Softwires] I-D Action: draft-ietf-softwire-yang-02.txt
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 09 Nov 2017 13:59:05 -0000
Hi, Thanks for your comments. Please see inline below. Cheers, Ian > On 8. Nov 2017, at 10:47, Andy Wingo <wingo@igalia.com> wrote: > > Hi, > > On Mon 30 Oct 2017 16:12, internet-drafts@ietf.org writes: > >> Title : A YANG Data Model for IPv4-in-IPv6 Address plus Port Softwires >> Authors : Qi Sun >> Hao Wang >> Yong Cui >> Ian Farrer >> Sladjana Zechlin >> Mohamed Boucadair >> Rajiv Asati >> Filename : draft-ietf-softwire-yang-02.txt >> Pages : 41 >> Date : 2017-10-30 > > I had a look at this for the Snabb lwAFTR and found a few issues. > > 1. "hairpin-ipv4-packets" and "hairpin-ipv4-bytes" need to be state > data, not config data. Consider moving them inside the > "traffic-stat" container. [if - This was an oversight when we moved from ‘config false’ at the leaf level to the container level. The following change fixes it: container traffic-stat { config false; description “traffic-stat”; uses softwire-common:traffic-stat; leaf hairpin-ipv4-bytes { type yang:zero-based-counter64; description “IPv4 packets locally routed between two CEs (hairpinned).“; } leaf hairpin-ipv4-packets { type yang:zero-based-counter64; description “IPv4 bytes locally routed between two CEs (hairpinned).“; } leaf active-softwire-num { type uint32; description “The number of currently active softwires on the lw4over6 (binding) instance.“; } } I’ve also noticed that config false hasn’t been set for the algorithm traffic stats. I’ll fix that as well. > > 2. "dropped-ipv4-bytes", described as counting bytes from dropped IPv4 > fragments, should probably be named "dropped-ipv4-fragment-bytes" or > something. Note there is already "dropped-ipv4-byte" (sic) for > dropped IPv4 bytes as a whole. [if - will fix] > > 3. "dropped-ipv4-bytes" (from (2)), "dropped-ipv4-fragments", > "hairpin-ipv4-packets" (from (1)), and "hairpin-ipv4-bytes" (from > (1)) are plural whereas the rest of the counters are singular. One > or the other should probably be chosen. [if - Will fix] > > 4. The type of "icmpv6-errors-rate" is "uint16". This is probably too > restrictive. [if - I’ll up it to uint32] > > Regards, > > Andy > > _______________________________________________ > Softwires mailing list > Softwires@ietf.org > https://www.ietf.org/mailman/listinfo/softwires
- [Softwires] I-D Action: draft-ietf-softwire-yang-… internet-drafts
- Re: [Softwires] I-D Action: draft-ietf-softwire-y… Andy Wingo
- Re: [Softwires] I-D Action: draft-ietf-softwire-y… Ian Farrer