[Softwires] Review of draft-ietf-softwire-yang-03

Linhui Sun <lh.sunlinh@gmail.com> Fri, 12 January 2018 01:13 UTC

Return-Path: <lh.sunlinh@gmail.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 D81CF120726; Thu, 11 Jan 2018 17:13:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 CQvGdJJ1HOhf; Thu, 11 Jan 2018 17:13:13 -0800 (PST)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 9E2D212D7F6; Thu, 11 Jan 2018 17:13:12 -0800 (PST)
Received: by mail-lf0-x22f.google.com with SMTP id o89so132944lfg.10; Thu, 11 Jan 2018 17:13:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=RyumvRBR02SKrCXzlM+3Z1qYUNW9LBE93D3yAz2EDpA=; b=A0X3czJLrD6QAi0uh62PXspu+eIOj7sCjBcpvgYXONoMG3xO8D7mQIArAloTQc2A0m gKjtOt+w5YNlw8tzdAq1KjYQmwIL0VHz3ionllCQ+Xec5S5RfvN0wy8Qts25SIAw7Wdy nHXeyqRQvVVVNYUf4Lx70oKoN2F7DEl14xdf91l4qcm8aF/ucKO7N/2arz3qJSjVQMpy CmmQRP+EI3IB5PNcMf/X9Ij4MQhej9WnWyJWjHX2WUiujmwxIQCfqXx5UmInfd1y9wc1 ZWh9gU6mb730YpcqmLbFxNG4krShK3VM/VZc/X0oi7RgVfdzthBkqD4cnfQ+3v+3YJb0 3CVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RyumvRBR02SKrCXzlM+3Z1qYUNW9LBE93D3yAz2EDpA=; b=EJHTgZpg7IjWy6ZrdETiy+sqIkDarTG/vFh/yrGyheH9FlTcjHCEWgOkBPB+BV9MIO R/j+OrbZcmINfbbLIGhyUuGtuaOAZDC2I8O4KbQX3CGMITkS8JF34q53nsimw16wagHz hSyS7aWCHCgyjl70eJOoUDiXtf+AGPl1nEv0HE0Y36RCTUkYcXVToIE34+apWErnwBoU 5y9GlBmkrTyP8u2USUd72shct8Lo5U6AwOX0GvY8O8Sa21Hd4tHjHCO6lkvqipkF8gtC vm/I/BJvJeHuZdrbFRbtVe4kBlYSkF23SkcrbWsz48+LDMtT4W8IHJPHbyhjjvznP4+Z OgVA==
X-Gm-Message-State: AKwxytcJ3LiqgDqRm5hyQtqc7yYdUHMeSD/v3BU6yjPDrtyOJuhRG1no IbBQeP/czFqI9Z+P484krTX0MWk+KnWiHPzTm20Y0Q==
X-Google-Smtp-Source: ACJfBosO9HgY9nCF92kvANEbpETyOyHAaAmV5cFUrvjzYQ7azY9Imo3kh1HnQyMhjYIcKIBFyvx2tqEdx0UMELTVt0g=
X-Received: by 10.46.91.93 with SMTP id p90mr216958ljb.114.1515719590591; Thu, 11 Jan 2018 17:13:10 -0800 (PST)
MIME-Version: 1.0
Received: by 10.46.42.131 with HTTP; Thu, 11 Jan 2018 17:12:50 -0800 (PST)
From: Linhui Sun <lh.sunlinh@gmail.com>
Date: Fri, 12 Jan 2018 09:12:50 +0800
Message-ID: <CAO_YprYCc_53_Rm6m_atuZ_a28FcbTB_J+3OOKt6T=wtuZrzig@mail.gmail.com>
To: Softwires WG <softwires@ietf.org>, draft-ietf-softwire-yang@ietf.org
Content-Type: multipart/alternative; boundary="001a114b8d94c6c1b2056289f7bc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/J61LlUfLZjEXQ3IlU7WBkIUYcSw>
Subject: [Softwires] Review of draft-ietf-softwire-yang-03
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: Fri, 12 Jan 2018 01:13:15 -0000

Hi,

I have had a review of the new version of this yang model. The model looks
much better than the previous version and many thanks for the authors'
effort. And from my perspective, I think this model could be further
discussed in the following aspects. Please find my comments in the
following.

1) The common module contains some definition groupings that are only
applicable to the BR module (e.g. binding-entry and port-set), they should
be excluded from the common module.

2) The BR module should also augments ietf-interfaces since they are also a
tunnel endpoint and it is better to be consistent with the CE model. And in
this way, we do not need to declare the redundant br-instance id or name
anymore.

3) There are still some descriptions in the YANG code following the old
version, these should be updated accordingly.

4) The usage of choice statement is not very clear, why do we need to use
the 'case' and 'feature' statements together? It seems that we only need
one of them.

5) It seems that the state parameters of CE module have duplicated node
'name' and 'type' since they have already been defined in the
ietf-interfaces module.

BR,
Linhui