[yang-doctors] Fwd: YANG Catalog Latest Developments - October 2017

Benoit Claise <bclaise@cisco.com> Sun, 08 October 2017 21:47 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 C9D4A13486F for <yang-doctors@ietfa.amsl.com>; Sun, 8 Oct 2017 14:47:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 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, URIBL_BLOCKED=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 aIiOfqmImUX7 for <yang-doctors@ietfa.amsl.com>; Sun, 8 Oct 2017 14:47:21 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7ECDB132D45 for <yang-doctors@ietf.org>; Sun, 8 Oct 2017 14:47:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=853163; q=dns/txt; s=iport; t=1507499239; x=1508708839; h=subject:references:to:from:message-id:date:mime-version: in-reply-to; bh=tfinawiMAJ9x0wwdVFq5KRCUxjm8dVi7zXY7l4gbUF0=; b=Gn8cJvOadCmYLUBVkrMDKyEJK9jX6cdz4oTwEY3z7e41GAM51IZ4q0XW R9z0YNecCA99wTA0RundCpLeNaNQeAgxjaJjj+GEbRgJtrsYjMhPwK7lq 4cCTO2EQLfEdzBrjvlrv9N8OU3oC85VZswFa+b5VrJVpAC2QF4baHWTiw Y=;
X-Files: bbogkgoccfdpebem.png : 540709
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CgBABYnNpZ/xbLJq3JXAQCAQIB
X-IronPort-AV: E=Sophos;i="5.42,497,1500940800"; d="png'150?scan'150,208,217,150";a="697895641"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2017 21:47:17 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v98LlFp6013266 for <yang-doctors@ietf.org>; Sun, 8 Oct 2017 21:47:16 GMT
References: <9689d6db-eca9-52f0-7134-c2b6ec6ccfcb@cisco.com>
To: YANG Doctors <yang-doctors@ietf.org>
From: Benoit Claise <bclaise@cisco.com>
X-Forwarded-Message-Id: <9689d6db-eca9-52f0-7134-c2b6ec6ccfcb@cisco.com>
Message-ID: <80ed6b64-454e-955d-a76c-9ae26ea26f80@cisco.com>
Date: Sun, 08 Oct 2017 23:47:14 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <9689d6db-eca9-52f0-7134-c2b6ec6ccfcb@cisco.com>
Content-Type: multipart/alternative; boundary="------------C57A63BDB5D81D6565E2E1FB"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/N1mVJG2RBGevAeuNAPBVId3d11g>
Subject: [yang-doctors] Fwd: YANG Catalog Latest Developments - October 2017
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
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: Sun, 08 Oct 2017 21:47:24 -0000

FYI. More tools for the YANG doctors.

Regards, Benoit


-------- Forwarded Message --------
Subject: 	YANG Catalog Latest Developments - October 2017
Date: 	Sun, 8 Oct 2017 23:00:56 +0200
From: 	Benoit Claise <bclaise@cisco.com>
To: 	announce@yangcatalog.org
CC: 	Joe Clarke (jclarke) <jclarke@cisco.com>, me <bclaise@cisco.com>



Dear all,

On behalf of the full team of dedicated people, we would like to share 
the latest developments on the yangcatalog.org project.

- We added a belongs-to leaf to track parent modules.
Use case: an easy lookup of the name of the module that includes this 
submodule

-  We added lists to track dependents and dependencies for a given module.
Use case: an easy lookup of all dependents (those YANG modules that 
depend on the target module) and dependencies (those YANG modules are 
imported by the target module). This is a key feature for the impact 
analysis tool 
<https://www.yangcatalog.org/yang-search/impact_analysis.php>.

- We simplified the generated-from enumerated values.
Use case: knowing whether a YANG module is generated from a MIB per 
RFC6643, whether a YANG module is generated from platform internal, 
proprietary structure, or code, or whether a YANG module is authored 
manually.

- We refined the type for compilation-result to be an inet:uri.
Use case: we now store the compilation result (from pyang, confdc, 
yangdump-pro, and yanglint) as a separate file, in order to improve the 
performance and readability.

- We added the concept of semantic versioning

Two distinct leaves in the YANG module contains this semver semantic:

the semantic-version leaf contains the value reported as metadata

by a specific YANG module.

the derived-semantic-version leaf is established by examining the

the YANG module themselves.As such, only the YANG syntax, as

opposed to the implementation changes that lead some some semantic

changes.

Use case: we want to understand if two YANG modules (with the same YANG 
module name) are backward compatible.
This is especially important for generated models and openconfig models, 
but might be important for IETF YANG modules as well.
See the discussion on the NETMOD mailing list 
<https://www.ietf.org/mail-archive/web/netmod/current/maillist.html>.

- We reorderedthe « organization »leaf to be with other module keys.
Use case: the YANG module details view 
<https://www.yangcatalog.org/yang-search/module_details.php?module=ietf-interfaces>(which 
starts to be quite complete) combined the metedata in a more logical way.

- All of the above points are documented in our new draft version (-02): 
YANG module for yangcatalog.org 
<https://datatracker.ietf.org/doc/draft-clacla-netmod-model-catalog/>.
This YANG module is used as the foundation for the APIs for yangcatalog.org.

- We improved the YANG impact analysis to quickly be able to determine 
the different impacted standard development organizations, consortia, 
and manufacturers.
See an example here 
<https://www.yangcatalog.org/yang-search/impact_analysis.php?modules%5B%5D=ietf-interfaces&recurse=0&rfcs=1&show_subm=1&show_dir=both>. 
By clicking on an organization, the YANG modules from this organization 
are highlighted. Note that this function is also cumulative.
Next to that, the rim colors expresses that maturity level (INITIAL, 
RATIFIED, ADOPTED), the compilation failure, or the bottleneck for 
ratification.




- We developed a feature to determine the combined email addresses of 
all dependent YANG modules.
Use case: when a YANG module is updated, we proactively want to warn all 
authors of impacted YANG modules (because they import the target module).
As an example, for the ietf-routing YANG module, this produces the 
following list.
{
     "output": {
         "author-email": [
"draft-ietf-mpls-static-yang@ietf.org" 
<mailto:draft-ietf-mpls-static-yang@ietf.org>,
"draft-ietf-mpls-base-yang@ietf.org" 
<mailto:draft-ietf-mpls-base-yang@ietf.org>,
"draft-ietf-ospf-sr-yang@ietf.org" 
<mailto:draft-ietf-ospf-sr-yang@ietf.org>,
"draft-ietf-pim-yang@ietf.org" <mailto:draft-ietf-pim-yang@ietf.org>,
"draft-ietf-bier-bier-yang@ietf.org" 
<mailto:draft-ietf-bier-bier-yang@ietf.org>,
"draft-zhang-bier-te-yang@ietf.org" 
<mailto:draft-zhang-bier-te-yang@ietf.org>,
"draft-ietf-isis-yang-isis-cfg@ietf.org" 
<mailto:draft-ietf-isis-yang-isis-cfg@ietf.org>,
"draft-ietf-teas-yang-rsvp-te@ietf.org" 
<mailto:draft-ietf-teas-yang-rsvp-te@ietf.org>,
"draft-ietf-mpls-mldp-yang@ietf.org" 
<mailto:draft-ietf-mpls-mldp-yang@ietf.org>,
"draft-zhao-pim-igmp-mld-snooping-yang@ietf.org" 
<mailto:draft-zhao-pim-igmp-mld-snooping-yang@ietf.org>,
"draft-ietf-isis-sr-yang@ietf.org" 
<mailto:draft-ietf-isis-sr-yang@ietf.org>,
"draft-acee-rtgwg-yang-rib-extend@ietf.org" 
<mailto:draft-acee-rtgwg-yang-rib-extend@ietf.org>,
"draft-ietf-pim-igmp-mld-yang@ietf.org" 
<mailto:draft-ietf-pim-igmp-mld-yang@ietf.org>,
"draft-ietf-i2rs-fb-rib-data-model@ietf.org" 
<mailto:draft-ietf-i2rs-fb-rib-data-model@ietf.org>,
"draft-ietf-ospf-yang@ietf.org" <mailto:draft-ietf-ospf-yang@ietf.org>,
"draft-ietf-rtgwg-yang-rip@ietf.org" 
<mailto:draft-ietf-rtgwg-yang-rip@ietf.org>,
"draft-ietf-spring-sr-yang@ietf.org" 
<mailto:draft-ietf-spring-sr-yang@ietf.org>,
"draft-ietf-teas-yang-rsvp@ietf.org" 
<mailto:draft-ietf-teas-yang-rsvp@ietf.org>,
"draft-ietf-i2rs-pkt-eca-data-model@ietf.org" 
<mailto:draft-ietf-i2rs-pkt-eca-data-model@ietf.org>,
"draft-ietf-mpls-ldp-yang@ietf.org" 
<mailto:draft-ietf-mpls-ldp-yang@ietf.org>,
"draft-ietf-bfd-yang@ietf.org" <mailto:draft-ietf-bfd-yang@ietf.org>,
"draft-ietf-pim-msdp-yang@ietf.org" 
<mailto:draft-ietf-pim-msdp-yang@ietf.org>
         ]
     }
}

Don't hesitate to provide your feedback on the YANG catalag set of tools 
at info@yangcatalog.org <mailto:info@yangcatalog.org>

Feel free to forward this email.

Subscribe 
<https://www.marcuscom.com/mailman/listinfo/yangcatalog-announce>to 
announce@yangcatalog.org <mailto:announce@yangcatalog.org>to get updates 
about the YANG Catalog.

Regards, Joe and Benoit, on behalf of the team.