Re: AD review of draft-ietf-rtgwg-yang-vrrp-04

Robert Wilton <rwilton@cisco.com> Thu, 21 September 2017 14:23 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FA3F134B6C; Thu, 21 Sep 2017 07:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 RxesPv-rG3bd; Thu, 21 Sep 2017 07:23:51 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C867F134B66; Thu, 21 Sep 2017 07:23:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9157; q=dns/txt; s=iport; t=1506003831; x=1507213431; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=dY+RodOifCRbwYCFfFC26jr5AtA3sEzG5HTsLAoyHeA=; b=mORXxtvEfO97V8mHf3rB3nyfw8mr2AwzISksMuC2CIopDY5QNoX2UnXy CaiS9AohNKlGmiyIvkFUd36a2Ed+DvkJeGWth1cU2LKiW/Lp4hmYzB6dE +s/j6Cr9AMW1+AEbE7kVNlrw0bC8Ak7e78zVeVcpRkMkiPkYBOasmT0FR 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CkAQAeysNZ/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBgm+CPYQdixSQTwkikGuFP4ISCoU7AoRUFgECAQEBAQEBAWsohRkBBSNmCQIOCioCAlcGAQwIAQGKL4lQnWaCJyeKWAEBAQEBAQEBAQEBAQEBAQEBAQEBAR2DK4NTgWQrC4JyiA6CYAWRN49clFiLWIcmjWaHWIE5JgQtgQ0yIQgcFUmFGRyBaD+JdQEBAQ
X-IronPort-AV: E=Sophos;i="5.42,425,1500940800"; d="scan'208,217";a="655814142"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 14:23:48 +0000
Received: from [10.63.23.66] (dhcp-ensft1-uk-vla370-10-63-23-66.cisco.com [10.63.23.66]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v8LENmFA000846; Thu, 21 Sep 2017 14:23:48 GMT
Subject: Re: AD review of draft-ietf-rtgwg-yang-vrrp-04
To: Alia Atlas <akatlas@gmail.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>, draft-ietf-rtgwg-yang-vrrp@ietf.org, Martin Bjorklund <mbj@tail-f.com>
References: <CAG4d1rfh__=NHmiCtDwP-HUG=+As0bCikuOWN9JGLD_sfa=Oqw@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <21abf650-463e-bc0b-0970-01ae9291525d@cisco.com>
Date: Thu, 21 Sep 2017 15:23:48 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <CAG4d1rfh__=NHmiCtDwP-HUG=+As0bCikuOWN9JGLD_sfa=Oqw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------796A6F8C8C13CCA941EB4BD5"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/aGvuLGdi_EmSkc0hrjub7rrjv_4>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Sep 2017 14:23:53 -0000

Hi Alia, authors,

Separately when doing the NMDA conversion on the VRRP module, I noted 
that it is directly augmenting the "/interfaces-state" container (rather 
than "/interfaces-state/interface" directly with "VRRP-global" 
container, which looked a bit odd to me (and broke my conversion tool ;-).

E.g.

   augment /if:interfaces-state:
     +--ro vrrp-global
        +--ro virtual-routers?   uint32
        +--ro interfaces?        uint32
        +--ro statistics
           +--ro discontinuity-datetime? yang:date-and-time
           +--ro checksum-errors?          yang:counter64
           +--ro version-errors?           yang:counter64
           +--ro vrid-errors?              yang:counter64
           +--ro ip-ttl-errors?            yang:counter64

This naively seems like the wrong place to me, and I think that it would 
be better to place this either as a top level "vrrp" container, or 
perhaps put under the routing tree (e.g. 
/routing/control-plane-protocols/vrrp).

I would have thought that putting this directly under 
the/interfaces-state container would mean that the /interfaces-state 
container could hold an interleaved mix of interface list entries and 
the vrrp-global container!?!

E.g. I think that with the model the existing design then this following 
XML would be allowed - cc Martin in case I am wrong :-)

        <interfaces-state
            xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"
            xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">

          <interface>
            <name>eth0</name>
            <type>ianaift:ethernetCsmacd</type>
            <admin-status>down</admin-status>
            <oper-status>down</oper-status>
            ...
          </interface>

          <vrrp-global>
             ....
          </vrrp-global>

          <interface>
            <name>eth1</name>
            <type>ianaift:ethernetCsmacd</type>
            <admin-status>up</admin-status>
            <oper-status>up</oper-status>
            ....
          </interface>

          <interface>
            <name>eth1.10</name>
            <type>ianaift:l2vlan</type>
            <admin-status>up</admin-status>
            <oper-status>up</oper-status>
            ....
          </interface>
      </interfaces-state>

Thanks,
Rob


On 20/09/2017 17:35, Alia Atlas wrote:
> As is customary, I have done my AD review of 
> draft-ietf-rtgwg-yang-vrrp-04. First, I would like to thank the 
> authors, Xufeng, Athanasios, Ravi, Acee,and Mingui, as well as the WG 
> for their work on this draft.  It is clear and well-written.
>
> My one issue is that it does not conform to the NMDA guidelines. I 
> know that the transformation can be done largely programmatically - 
> and Acee & Xufeng are quite familiar with the details.  I've also cc'd 
> Rob Wilton who has some tooling to potentially help.
>
> From the shepherd's report, I understand that there is an 
> implementation. That implies that the existing model should be in the 
> appendix.
>
> I would be delighted to forward this draft to IETF Last Call (and my 
> apologies for the long delay in review) after it has been updated.
>
> Thanks,
> Alia