Representing Netconf Data Models using Document Schema Definition Languages (DSDL) Rohan Mahy Sharon Chisholm Lada Lhotka IETF 72 - Dublin.

Slides:



Advertisements
Similar presentations
Project Proposal Anton Tkacik, Lukas Sedlak
Advertisements

A centre of expertise in digital information management UKOLN is supported by: XML and the DCMI Abstract Model DC Architecture WG Meeting,
YANG Boot Camp The YANG Gang IETF 71. YANG Boot Camp The YANG Gang IETF 71.
Can schemas help SVG interwork with other markup vocabularies? MURATA Makoto (FAMILY Given) International University of Japan XHTML XForms SVG XML Events.
ISO DSDL ISO – Document Schema Definition Languages (DSDL) Martin Bryan Convenor, JTC1/SC18 WG1.
Introducing the Specifications of the MEF
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI.
Lecture 15 XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name.
NETMOD Architecture Phil Shafer IETF 72.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
Interoperability in Information Schemas Ruben Mendes Orientador: Prof. José Borbinha MEIC-Tagus Instituto Superior Técnico.
November 1, 2006IU DLP Brown Bag : Fall Data Integrity and Document- centric XML Using Schematron for Managing Text Collections Dazhi Jiao, Tamara.
Abierman-nanog-30may03 1 XML Router Configs BOF Operator Involvement Andy Bierman
© Hitachi, Ltd All rights reserved. NETCONF Configuration I/F Advertisement by WSDL and XSD Hideki Okita, Tomoyuki Iijima, Yoshifumi Atarashi, Ray.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
Abierman-netconf-mar03 1 NETCONF BOF 56th IETF San Francisco, California March 17, 2003 Discussion: Admin:
SDPL 2005Notes 2.5: XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
Resource Description Framework (RDF) Course: Electronic Document Team member: Ding Feng Ding Wei Wang Ling Date:
XSDL & Relax : 2 new schema languages for XML Rajasekar Krishnamurthy.
YANG in a Nutshell The YANG Gang IETF 71. YANG has... A reasonable self-contained specification A focus on readers and reviewers Text-based , patch,
I2RS draft-rfernando-yang-mods.txt I2RS Yang Extensions draft-rfernando-yang-data-mods R.Fernando, P.Chinnakannan, M.Madhayyan, A.Clemm.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
PG 1 Netconf Data Model Netmod BOF – IETF 60 Sharon Chisholm – Randy Presuhn -
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
1 Complex Types and Typed Instance Identifiers IETF #76 NETMOD WG
Dictionary based interchanges for iSURF -An Interoperability Service Utility for Collaborative Supply Chain Planning across Multiple Domains David Webber.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
DSDL
1 SIPPING Working Group IETF 74 Dale Worley Martin Dolly Dan Petrie Profile Datasets draft-ietf-sipping-profile-datasets-03.
Standards for digital encoding Tomaž Erjavec Karl-Franzens-Universität Graz Tomaž Erjavec Lecture 2: TEI.
David Orchard W3C Lead BEA Systems Web service and XML Extensibility and Versioning.
Copyright 2004 John Cowan 1 Infinite Diversity in Infinite Combinations why one schema language is not enough John Cowan.
Abierman-netconf-mar07 1 NETCONF WG 68 th IETF Prague, CZ March 19, 2007.
XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name value pair;
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
PG 1 Framework for Netconf Data Models Netmod BOF – IETF 60 Sharon Chisholm –
Netconf Event Notifications IETF 66 Sharon Chisholm Hector Trevino
Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong
IETF #73 - NETMOD WG session1 NETMOD WG IETF 73, Minneapolis, MN, USA November 20, David Harrington David Partain.
Netconf Schema Query Mark Scott IETF 70 Vancouver December 2007
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
YANG Data Model for IPv4-in-IPv6 Softwire draft-sun-softwire-yang November 2014 Q. Sun, H. Wang, Y. Cui, I. Farrer (presenter), M. Boucadair.
YANG Background and Discussion: Why we need a new language for NETCONF configuration modeling The YANG Gang IETF 70 Vancouver, Canada.
XML Extensible Markup Language
LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML th International.
I2rs Requirements for NETCONF IETF 93. Requirement Documents
Netmod Netconf Data Modeling Sharon Chisholm Nortel
Netconf Notifications Sharon Chisholm Hector Trevino IETF 67 November 2006.
YANG Modelling and NETCONF Protocol Discussion
YANG Roque Gagliano.
Using DSDL plus annotations for Netconf (+) data modeling
YANG Hackathon Achievements
Subscribing to YANG datastore push updates draft-netconf-yang-push-00 IETF #94 Yokohama A. Clemm A. Gonzalez Prieto
NETCONF Configuration I/F Advertisement by WSDL and XSD
Sharon Chisholm Netconf Phase 2 Musing Sharon Chisholm
LegalRuleML Metamodel
NETCONF Base Notifications for NMDA
Comparison of NMDA datastores draft-ietf-netmod-nmda-diff-00
Joe Clarke (presenting)
Factory default Setting draft-wu-netmod-factory-default-01
NMDA Q & A draft-dsdt-nmda-guidelines &
Post WG LC NMDA datastore architecture draft
Evolution of the Subscription & Event Notification Drafts IETF #98 Chicago Eric Voit 28-Mar-2017 DRAFT Authors on at least 1 drafts Andy Bierman Alexander.
NETMOD Agenda and WG Status
YANG Instance Data for Documenting Server Capabilities
Handling YANG Revisions – Discussion Kickoff
NETMOD Versioning Design Team Update
Schema version selection Reshad Rahman (presenting), Rob Wilton
Presentation transcript:

Representing Netconf Data Models using Document Schema Definition Languages (DSDL) Rohan Mahy Sharon Chisholm Lada Lhotka IETF 72 - Dublin

Outline What is DSDL? Scope of DSDL for NETCONF Overview Drafts Vocabularies Used Next Steps Open Issues

What is DSDL? DSDL = Document Schema Definition Languages ( Family of standards ISO/IEC DSDL uses a modular approach to schema languages Part 1: Overview Part 2: RELAX NG – regular-grammar-based validation Part 3: Schematron – rule-based validation Part 4: NVDL – Namespace-based Validation Language Part 5: DTLL – Data Type Library Language Part 6: Path-based integrity constraints Part 7: CRDL – Character Repertoire Description Language Part 8: DSRL – Document Schema Renaming Language Part 9: Datatype- and Namespace-aware DTDs Part 10: Validation management

Scope of DSDL for NETCONF Human-friendly Language (Yang)‏ Tool-friendly Language (DSDL for NETCONF)‏ NETMOD Requirements (as determined by WG)‏ Vanilla DSDL The goal is a theoretical two-way mapping of features, and a real non-lossy one- way mapping.

Overview A layered approach leveraging existing DSDL technologies Off-the-shelf tools/libraries can be immediately used for validation, instance editing and transformations (XSLT)‏ The smarter the tool/library, the more semantics can be validated or processed but even baseline tools can do useful work The mapping uses 3 parts of the DSDL standard (ISO/IEC 19757), two standard annotation vocabularies and several new NETMOD-specific annotations A software tool is available that translates most of YANG semantics Output is an annotated RELAX NG schema

draft-mahy-canmod-dsdl-02 Reworked to fit into NETMOD framework, rather then as a proposal to CANMOD BOF Made some tweaks to make mapping from yang easier (infoType, for example) Started section mapping to yang; As yang is a moving target, does not go into excruciating detail yet. Points to –lhotka for container mapping Identified some points requiring NETMOD-level discussion Most of which have been raised on mailing list; rest coming soon

draft-lhotka-yang-dsdl-map-00 New individual draft summarizing the experience from implementing YANG->DSDL translator – plugin for pyang application Very complementary to -mahy draft It tries to formulate principles that the WG mapping draft should state It contains a section describing mapping details for each YANG statement.

Vocabularies Used RELAX NG – grammatic constraints, datatypes Schematron – semantic constraints, user-specified rules (must statement in YANG)‏ DSRL – default values of leaf nodes Dublin Core terms – module metadata (author, revision,...)‏ RELAX NG DTD compatibility annotations – YANG description and reference. NETMOD-specific annotations – few new attributes attached to RELAX NG.

Next Steps The implementation revealed several issues that have to be resolved (preferable in Dublin); some of them may require changes or clarifications in YANG. Finish the chartered DSDL mapping draft (due in September 08). It will be based on merging two existing individual drafts: draft-mahy-canmod-dsdl-02 draft-lhotka-yang-dsdl-map-00 Update the implementation: alignment with the draft implement mappings of YANG extension mechanisms

Major Open Issues Handling of rpc and notification YANG allows multiple root nodes, XML just one. (For a complete list of issues, visit the NETMOD session on Friday)‏

rpc and notification YANG modules describe the contents of agent configuration datastores, with two exceptions: rpc specifies signature of a new NETCONF RPC method. notification defines a NETCONF notification. Options: 1.Generate separate schemas for the configuration data tree, RPCs and notifications. 2.Work with a „conceptual tree“ that harbors the three types of content in different subtrees.

Multiple Root Nodes YANG allows for multiple root nodes, but well- formed XML document must have exactly one. Options: 1.Remove this possibility from YANG – „conceptual tree“ (again) – multiple root nodes of the YANG module will appear under an artificial root node.

Backup Conceptual tree

Example Conceptual Tree...main configuration data tree......rpcs......notifications...