YANG Catalog - IETF

Transcription

YANG CatalogOps AreaJuly 18, 2017Joe Clarke, Cisco1

Introduction We’re beginning to have a “good” problem with YANG Lots of YANG modules Lots of bodies working on YANG modules Lots of vendors implementing YANG modules Is it sufficient just to have a module developed and implemented? We need an industry-wide, single stop, open catalog and toolchain tohelp YANG consumers, YANG implementors, and YANG authors findand explore available modules2

Yangcatalog.orghttps://yangcatalog.org3

YANG Catalog Overview Set of open source tools YANG Keyword SearchYANG Module Impact AnalysisYANG ValidatorsYANG-compliant Regular Expression ValidatorYANG Modules Exploration (changing soon)YANG Implementation Discovery (coming soon) An REST-like API to fetch per-module metadata and per-vendorimplementation data An authenticated API to upload per-module metadata and per-vendorimplementation data4

Yang SearchKeyword and regexsearchessupportedThe Catalog stores multiplemodule revisions, but onecan choose to only see thelatestSearch By SchemaType (e.g., find allmatching typedefs)Find modules byYANG version5

Search ResultsUnderstand howprolific a module is.Find maturemodules.Quick view of nodedetails.6

Impact AnalysisUnderstand the relationshipof a given module (whatmodules does it affect, whatmodules affect it)Identify modulesthat do notcompile.Showbottlenecks tostandardization7

The YANG Catalog APIDocumented athttps://yangcatalog.org/contribrute.php8

Module Metadata API Structure9

Vendor Implementation Metadata APIStructure10

Retrieving Metadata11

Retrieving Metadata12

YANG Regular Expression ValidatorValidate regexpatterns using YANGand W3C rules.13

Results And Next Steps We have fully integrated IETF and BBF modelsWorking to incorporate MEF modelsWorking with Cisco, Huawei and Juniper to add metadata for their modelsSubmitted draft-clacla-netmod-model-catalog-00 to describe the backingstore for the CatalogEvangelizing YANG Catalog with vendors, SDOs, and customersContinue to develop the yang-catalog.yang modelTake feedback to enhance the Catalog toolsAdd a report for YANG implementation discovery and revamp the YANGexploration module14

Set of open source tools YANG Keyword Search YANG Module Impact Analysis YANG Validators YANG-compliant Regular Expression Validator YANG Modules Exploration (changing soon) YANG Implementation Discovery (coming soon) An REST-like API to fetch per-module metadata and per-vendor implementation data