Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong

Slides:



Advertisements
Similar presentations
BAH DAML Tools XML To DAML Query Relevance Assessor DAML XSLT Adapter.
Advertisements

Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
YANG Boot Camp The YANG Gang IETF 71. YANG Boot Camp The YANG Gang IETF 71.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
Copyright © Open Applications Group, Inc. All rights reserved 1 OAGi XML Schema User Report June 21, Michael.
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
SDPL 2003Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
1 Substitution Groups in XML Schemas Tomer Shiran Winter 2003/4 Semester.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
Enabling Grids for E-sciencE ISSGC’05 XML Schemas (XSD) Richard Hopkins, National e-Science Centre, Edinburgh June 2005.
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Document Type Definition.
NETMOD Architecture Phil Shafer IETF 72.
© 2007 Open Grid Forum OGF Modeling Activities DMTF Alliance Partner Symposium Portland, 2007 July 18 Ellen Stokes
Methods For Web Page Design 6. Methods Why use one? What it covers –Possibly all stages Feasibility Analysis Design Implementation Testing –Maybe just.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
SDPL 2002Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
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.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation XML Schema 1 Lecturer.
1 XML Schemas. 2 Useful Links Schema tutorial links:
Dr. Azeddine Chikh IS446: Internet Software Development.
Neminath Simmachandran
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Session IV Chapter 9 – XML Schemas
What is MOF? The Meta Object Facility (MOF) specification provides a set of CORBA interfaces that can be used to define and manipulate a set of interoperable.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
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.
FIMS v1.1 Version numbers in schema Richard Cartwright Quantel July 2013.
XML Schema. Why Schema? To define a class of XML documents Serve same purpose as DTD “Instance document" used for XML document conforming to schema.
An OO schema language for XML SOX W3C Note 30 July 1999.
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,
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
CDDLM Configuration Description Language (CDL) Jun Tatemura NEC Laboratories America GGF13, March
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
27 January Common Resource Model (CRM) snapshot of information to be released as a GGF working doc (OGSA WG / CRM BOF) for the March 2003 GGF meeting.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Kalua – A DML for NETCONF
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Representing Netconf Data Models using Document Schema Definition Languages (DSDL) Rohan Mahy Sharon Chisholm Lada Lhotka IETF 72 - Dublin.
Introduction to XML Schema John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
XML Schema Definition (XSD). Definition of a Schema It is a model for describing the structure and content of data The XML Schema was developed as a content.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
14 October 2002GGF6 / CGS-WG1 Working with CIM Ellen Stokes
Experience with XML Schema Ashok Malhotra Schema Usage  Mapping XML Schema and XML documents controlled by the Schema to object classes and instances.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
Yu, et al.’s “A Model-Driven Development Framework for Enterprise Web Services” In proceedings of the 10 th IEEE Intl Enterprise Distributed Object Computing.
PG 1 Framework for Netconf Data Models Netmod BOF – IETF 60 Sharon Chisholm –
Part 25 E2 EXPRESS/UML Walkthrough Seattle STEP October 2004.
YANG Background and Discussion: Why we need a new language for NETCONF configuration modeling The YANG Gang IETF 70 Vancouver, Canada.
1 Model Driven Health Tools Design and Implementation of CDA Templates Dave Carlson Contractor to CHIO
4 Copyright © 2004, Oracle. All rights reserved. Validating XML by Using XML Schema.
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
SDPL : 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.
Netconf Notifications Sharon Chisholm Hector Trevino IETF 67 November 2006.
Muen Policy & Toolchain
AIXM 5 UML to XSD.
AIXM 5.1 XML Developers' Seminar #2 – Dec 2009
XML Examples AIXM 5 RC2.
XML Schema for WIRED XML Detector Description Workshop
SysML v2 Formalism: Requirements & Benefits
Subscribing to YANG datastore push updates draft-netconf-yang-push-00 IETF #94 Yokohama A. Clemm A. Gonzalez Prieto
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
UML to XSD.
Seminar 3 UML Class Diagram.
XML Examples AIXM 5 RC2.
New Perspectives on XML
Presentation transcript:

Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong

Overall concept NDL (XSD) Netconf Data Definitions (XML) Server XSD Client XSD Server XML (mgmt info as a whole, e.g. on device) Client XML (mgmt info as part of mgmt request) describe, validate describe, validate Option 1: define XSD directly Option 2: map automatically Instance informationHierarchy-based structure XML-based model (more abstract, friendly “shorthand” providing resource-based structure) Non- NETCONF Content

Meta model Entities Managed Resource : the main entity Config Data: a group of (related) configuration data attributes Operational Data: a group of (related) operational data attributes Event Report Properties Key Attribute (instance id) Reference to other MR (child or peer) Configuration Attribute Operational Data Attribute Event Report Action Type Definitions Simple and Enumeration Types Complex Type (limited to sequence & choice) Constraints and Annotations Access, Value Constraints,... Annotations can be used for mapping data managedResource key attribute configData reference Elements/attribute operationalData Elements/attribute action eventReport typeDef

XML Schema Syntax Uses native XML Schema to define NETCONF content. Extends using small set of appInfo tags | appinfo item | | Compliance | Default | | minAccess | | Optional | oper - read | | | | | config –read, write | | maxAccess | | Optional | oper – read | | | | | config - read, write, create and delete| | status | | Optional | current | | appErrors | | Optional | | | eventClass | | Optional | | | infoType | | Mandatory | | | default | | Optional | | | keyref | | Optional | | | mustUse | | Optional | | | unordered | | | | | units | | | | Also possible to derive a client-specific XSD to enable better parsing with less knowledge of NETCONF-specific extensions (mustUse)

DHCP XML Schema configuration

DHCP XML Schema

Data definition syntax Syntax formally defined using XML Schema Native support of meta model More abstracted than XML Schema syntax – not just different syntax Managed Resources, the targets of CRUDX Relationships between them parent/child  maps to instance hierarchies peer  maps to references Config data, operational data Attributes with multiplicities, constraints,...

Reuse Component-based and inheritance-based model reuse Operational data, Configuration data Groupings of managed resource properties Assemble Managed Resources from existing config data and operational data definitions Promotes component-based data definitions Library data definitions intended for reuse Inheritance support for Managed Resources, Config Data, Operational Data Some limitations, e.g. no restrictions of existing definitions Designed to get inheritance’s best but discourage models that are too deep and fine-grained This is what you would standardize on Implementation data definitions to describe actual implementations Implement the definitions from library packages This essentially defines compliance, version variations between different vendor implementations

Library Definitions

Library Definitions.. continued

Reuse of Library managedResource Definitions

Strengths of the proposal Meets agreed requirements XSD, XML allow leveraging of off-the-shelf tools Simple yet powerful model for reuse Assemble managed resources from config and operational data building blocks Extend definitions from libraries Unique compliance model No separate compliance statements Implementation data definitions implement library data definitions A “Happy Medium” proposal Combine strengths of domain-specific languages with ubiquitous XML/XSD technology Leverage the best of object models while remaining rooted in component- and module-based management information definitions Allow for different model insertion points, giving users an option to define XSD models directly, or to define models (still XML-based) at a higher level of abstraction

BACKUP

configData managedResource key ndLib / ndImpl enumerationType operationalData action reference attribute eventAttribute configData operationalData simpleType complexType eventReport typeDef configDataDef managedResourceDef operationalDataDef eventReportDef condition constraint assert properties Contraints Proposal Metamodel – NDD Constructs

Alternative: Reuse of Library configData Definitions

NDD to XSD Translation NDD package => XSD package MR, CD, OD => complexType + element For server-xsd: sequence For client-xsd: sequence of choice References and Attributes => complexType elements

Original annotated-dhcp-instance.xml Using dhcp-options XSD complexType extension

Derived dhcp-options using complexType extension (object extension) Base (library) dhcp-options complexType

Global element to be used in ‘any’ extension Base dhcp-options complexType