Re: [yang-doctors] [netmod] review of draft-ietf-pim-yang-03.txt

Benoit Claise <bclaise@cisco.com> Mon, 24 October 2016 12:46 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F139129581; Mon, 24 Oct 2016 05:46:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.952
X-Spam-Level:
X-Spam-Status: No, score=-14.952 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, 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 HsQ-tHnCl_vi; Mon, 24 Oct 2016 05:46:40 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5F9741294BB; Mon, 24 Oct 2016 05:46:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10170; q=dns/txt; s=iport; t=1477313199; x=1478522799; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=YtqYutU7e6z71BCTmFBMfbt/Z74knfbbzYICgtkonps=; b=G+fjj+q5Dmz1WgnT1/O6k0mtBI4TKA94Lf7jY6MwljbHe0xv9l2LftM1 1E95skVGUDoBv2cRweQHsvwfryd4Jdk+lVuVuznzQQYTyEjl3YUQ0zffY lQL5Yp2hq73TKg7KSAt13oncXxVF/APN/mOuOhx8L9Pw+y7IDltWmJvi9 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADBABUAg5Y/xbLJq1cGgEBAQECAQEBAQgBAQEBgnQ2AQEBAQF1KlONNJZ8jymFFoIHHAEKhTBKAoI9FAECAQEBAQEBAWIohGMBAQMBAQEBawQHBQsLDjgnMAYBDAYCAQGIRggOwXkBAQEBAQEBAQEBAQEBAQEBAQEBAQEXBYY9gX0IglCKJgWaFJATiXKGEIkxh1YeNlAGCIUEPDQBiEABAQE
X-IronPort-AV: E=Sophos;i="5.31,542,1473120000"; d="scan'208,217";a="646601118"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2016 12:46:32 +0000
Received: from [10.60.67.85] (ams-bclaise-8914.cisco.com [10.60.67.85]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u9OCkVtS000737; Mon, 24 Oct 2016 12:46:31 GMT
To: Dean Bogdanovic <ivandean@gmail.com>, draft-ietf-pim-yang.all@ietf.org
References: <184F8F67-44F1-47F5-B661-31917DF19E6D@gmail.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <7607a47c-7edc-8cd1-0193-55533bdd0829@cisco.com>
Date: Mon, 24 Oct 2016 14:46:31 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <184F8F67-44F1-47F5-B661-31917DF19E6D@gmail.com>
Content-Type: multipart/alternative; boundary="------------3A6E3B63C0529FA189BFEA5E"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/oTSApawpMPULwIZgkWt9Fwf9IDI>
Cc: YANG Doctors <yang-doctors@ietf.org>, netmod WG <netmod@ietf.org>
Subject: Re: [yang-doctors] [netmod] review of draft-ietf-pim-yang-03.txt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Oct 2016 12:46:42 -0000

Dean,

Thanks.
As this is part of the early YANG doctor process, let me copy the YANG 
doctors, WG chairs, and ADs (as described at 
https://www.ietf.org/iesg/directorate/yang-doctors.html)

Regards, Benoit

> Authors,
>
> I don’t have deep knowledge of PIM, so if some protocol specifics 
> haven’t been modeled right, I missed them. For application comparison, 
> was looking at  Juniper PIM configuration. The modules are using 
> draft-ietf-netmod-routing-cfg as base, and follows the 
> routing-instance-centric model, hence didn’t have problems mapping it 
> to Junos PIM config style. The model design by using base module and 
> build for each specific variant a separate module is a good approach, 
> as it enables simpler application of the modules by vendors and users.
>
> Throughout the draft authors are using abbreviations (many of them not 
> widely known) and the terminology section is not complete for PIM.  It 
> would be good to write them out when first time used in the text
>
> example,
>
> the configuration for PIM-SM that is not relevant for an SSM-only implementation is collected in an ASM container.
>
> Same thing is in the YANG module descriptions
>
> enum new-dr {
>             description
>               "A new DR was elected on the connected network.";
>           }
>           enum new-df {
>             description
>               "A new DF was elected on the connected network.";
>           }
>
> DR and DF should be spelled out in the description
>
> Make the descriptions in the code consistent, like in following example
> typedef pim-mode {
>         type enumeration {
>           enum none {
>             description
>               "PIM is not operating.";
>           }
>           enum ssm {
>             description
>               "Source-Specific Multicast (SSM) with PIM Sparse Mode.";
>           }
>           enum asm {
>             description
>              "Any Source Multicast (ASM) with PIM Sparse Mode.";
>           }
>
>
> Why are the PIM related RFC not listed in the introduction section, as 
> there are clearly relations between the model and PIM related RFCs
>
> In chapter 2.2, why are you stating vendors will augment with required 
> restrictions, but features might be added
>
> It is expected that vendors
>     will augment the model with any specific restrictions that might be
>     required.  Vendors may also extend the features list with proprietary
>     extensions.
>
> It is expected that vendors will augment the model with any specific 
> extensions and restrictions needed to adapt it to their vendor 
> specific implementation.
>
> In chapter 3.1 bullet 2, the chapter finishes with statement
>
> which does not make sense for PIM.
>
> It would be nice to explain why does it not make sense for PIM. Why is 
> there only 1 instances of PIM per VRF
>
> From YANG perspective, the authors followed recommendations in the 
> draft-ietf-netmod-rfc6087-bis-08
>
> Hope this helps
>
> Dean
>
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod