Kalua – A DML for NETCONF

Slides:



Advertisements
Similar presentations
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
Advertisements

XML: Extensible Markup Language
XML Language Family Detailed Examples Most information contained in these slide comes from: These slides are intended.
4 XML Schema.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
Chapter Object-Oriented Practices. Agenda Object-Oriented Concepts Terminology Object-Oriented Modeling Tips Object-Oriented Data Models and DBMSs.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
II. Middleware for Distributed Systems
Object-oriented design CS 345 September 20,2002. Unavoidable Complexity Many software systems are very complex: –Many developers –Ongoing lifespan –Large.
MTEI Methods & Tools for Enterprise Integration
On a Device Information Model for devices in oneM2M
17 Apr 2002 XML Schema Andy Clark. What is it? A grammar definition language – Like DTDs but better Uses XML syntax – Defined by W3C Primary features.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Ontology Alignment/Matching Prafulla Palwe. Agenda ► Introduction  Being serious about the semantic web  Living with heterogeneity  Heterogeneity problem.
The role of metadata schema registries XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN.
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.
Module 7: Object-Oriented Programming in Visual Basic .NET
1 XML Schemas. 2 Useful Links Schema tutorial links:
Dr. Azeddine Chikh IS446: Internet Software Development.
Neminath Simmachandran
CIM and UML Overview Terry Saxton Xtensible Solutions
Session IV Chapter 9 – XML Schemas
Abierman-nanog-30may03 1 XML Router Configs BOF Operator Involvement Andy Bierman
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.
Introduction of PRO WG activities Group Name: TP Source: Shingo Fujimoto, FUJITSU, Meeting Date: Agenda Item:
IVOA Registry videocon 2004/05/13-14 Gerard Lemson1 Model based schema.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
68th IETF – OPS area – XML MIB Modules XML MIB Modules draft-stephan-ops-xml-mib-module-template-00 draft-stephan-ops-xml-mib-module-template-00.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
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.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
XML Schema for Accessing SMIv2 Data Models IETF69 Chicago BOF David Harrington.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Processing of structured documents Spring 2003, Part 3 Helena Ahonen-Myka.
Working with XML Schemas ©NIITeXtensible Markup Language/Lesson 3/Slide 1 of 36 Objectives In this lesson, you will learn to: * Declare attributes in an.
STEP Tutorial: “ Fundamentals of STEP” David Briggs, Boeing January 16, 2001 ® PDES, Inc NASA STEP Workshop step.nasa.gov.
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.
AIXM 5 UML Modelling Conventions. AIXM is GML AIXM is an XML exchange standard based on a subset of GML. Essentially: –AIXM Features are GML features.
XML Validation II Advanced DTDs + Schemas Robin Burke ECT 360.
1 WSDL Web Services Description Language. 2 Goals of WSDL Describes the formats and protocols of a Web Service in a standard way –The operations the service.
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.
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
Connecting Architecture Reconstruction Frameworks Ivan Bowman, Michael Godfrey, Ric Holt Software Architecture Group University of Waterloo CoSET ‘99 May.
PG 1 Framework for Netconf Data Models Netmod BOF – IETF 60 Sharon Chisholm –
Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong
Kalua DML Examples
1 IETF69 BOF XSD for accessing SMIv2 data models Yan Li
COP 4331 – OOD&P Lecture 7 Object Concepts. What is an Object Programming language definition: An instance of a class Design perspective is different.
YANG Background and Discussion: Why we need a new language for NETCONF configuration modeling The YANG Gang IETF 70 Vancouver, Canada.
Static SDO Proposal Main Points/ Next Steps. Goals of specification Not about the algorithm to generate Static SDOs Instead, about how Static SDOs map.
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
4 Copyright © 2004, Oracle. All rights reserved. Validating XML by Using XML Schema.
Model Based Engineering Environment Christopher Delp NASA/Caltech Jet Propulsion Laboratory.
Netconf Notifications Sharon Chisholm Hector Trevino IETF 67 November 2006.
Standard Netconf Content Brainstorming on getting there IETF 70.
Databases and DBMSs Todd S. Bacastow January 2005.
Using DSDL plus annotations for Netconf (+) data modeling
AIXM 5 UML to XSD.
AIXM 5.1 XML Developers' Seminar #2 – Dec 2009
IETF69 BOF XSD for accessing SMIv2 data models
Eugenia Fernandez IUPUI
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
NETCONF Configuration I/F Advertisement by WSDL and XSD
UML to XSD.
Data, Databases, and DBMSs
AIXM 5 UML Modelling Conventions
Design.
Presentation transcript:

Kalua – A DML for NETCONF

Kalua Basics In the first place, Kalua is a DML for NETCONF:  supports the immediate needs of the NETCONF protocol  provides modeling features for... the payload of NETCONF get-/edit(-config) operations NETCONF notifications  uses precedent discussion in RFC 3535 as a guidance But Kalua also...  addresses extensibility and broader applicability  integrates data modeling and information modeling features  aims to support also solutions for different other IETF issues, e.g. in OPS and APPS areas

Kalua Basics (II) XML based language  Basic parsing / generation / editing support available everywhere  No need to learn a new grammar  Basic validation with Kalua XSD Kalua is XSD “Mappable”  Reuses concepts from XSD

Kalua Basics Kalua Model (XML) Kalua Model Schemas (XSD) Kalua Model Schemas (XSD) NETCONF Payload (XML) Metamodel Layer Kalua Schema (XSD) Model Layer Data Layer validates generated from validates

Kalua Features Build-ins based on “XML Schema 1.1 Part 2: Datatypes” Simple-type Modeling:  Restrictions, Enums, Unions and possible combinations Data modeling  Attributes, Structures, Sequences, Type-Defs, … Essential object-oriented modeling  Classes, Inheritance, Relationships, … Modularity  Model import, Multiple model release support Extensibility  Typed annotations

Complex Datatype Modeling Structures:  set of attributes  may use attribute groups  may have a key Sequences:  min & max-length (unbounded)  ordering relevance Type-Defs  Makes a datatype available for reuse double double <sequence minLength=“1” maxLength=“unbounded”> string …

Modules Packages Kalua model elements Own namespace XML mapping support  ns-uri  ns-prefix May import other modules … sdh S7.0 tp … …

Module Releases Identifies a particular release of a module Release is typically tied to NE release Applies to all model elements in the module sdh S7.0 sdh S8.1 sdh S8.1

Attribute Groups Equivalent to attribute groups in XML Schema Bundles attributes Reused by  Structures  Classes  other attribute groups Does not define a type … string … unsignedShort … … …

Classes Blueprints for  network elements or  abstract entities Defines a type Has it’s own identity potentially independent life-cycle Endpoint of relationships May be abstract May use attribute groups … string locId …

Class Inheritance Establishes an “is-a” relationship Reuse of features from base class  attributes  keys  relationships Avoid multiple-inheritance for the sake of reduced complexity … … Location … … …

Reference Relationships Connect a source and a target class Relate instances regardless of their context of use Specify the multiplicity of the relationship (e.g. 1:1, 1:n, n:m) May be read-only May specialize a base relationship … ManagedObject locatedObject Location location 1 …

Calculated Relationships Explicit relationships derived from configuration data Read-only Avoids “informally described” relationships Condition determines related instances Dynamic (re-)evaluation whenever a relationship is queried … $source/remoteLinkId = $target/linkId and $source/remoteTslot = $target/tslot PCM_TP localTP PCM_TP remoteTP …

Typed Annotations Annotations  enhance semantics of existing DML elements  Address new modeling needs Annotation Types  Force correct usage of model extensions  Define annotation properties … class <annotation-property-type name=“OID”> [0-9]+(\.[0-9]+)* …

Thank you! For more information please read: NETCONF Data Modeling Language Requirements Kalua - A Data Modeling Language for NETCONF

Back-UP Slides

Kalua Example: Partial Lock RPC <kalua:module name="NCPL" xmlns:kalua="urn:ietf:params:xml:ns:kalua:1" xmlns:xsi=" xsi:schemaLocation="urn:ietf:params:xml:ns:kalua:1:\Users\kalua\kalua.xsd" xmlns:xsd=" NETCONF partial lock NETCONF partial lock operations urn:ietf:params:xml:ns:netconf:partial-lock:1.0 ncpl 1 IETF urn:ietf:params:xml:ns:netconf:base:1.0 nc kalua:unsignedInt This operation defines the element for partial-lock RPC operation.

Kalua Example: Partial Lock RPC (II) nc:config_name kalua:string lock_id_attribute This operation defines the element for partial-unlock RPC operation. lock_id_attribute

DHCP Example <kalua:module name="DHCP" xmlns:kalua="urn:ietf:params:xml:ns:kalua:1" xmlns:xsi=" xsi:schemaLocation="urn:ietf:params:xml:ns:kalua:1 C:\Users\kalua\kalua.xsd" xmlns:xsd=" DHCP DHCP example, as in C dhcp 1 Nokia Siemens Networks urn:ietf:params:xml:ns:netmod:base ndl int interfaces default-lease-time kalua:int max-lease-time kalua:int

DHCP Example (II) dhcp parent subnet children dynamic-bootp kalua:boolean true ndl:ipAddress ndl:ipAddress

DHCP Example (III) ndl:ipAddress prefix-length kalua:int rangeType max-lease-time kalua:int

DHCP Example (IV) ip-address ndl:ipAddress kalua:dateTime kalua:dateTime mac-address ndl:nsapAddress ip_address kalua:string network prefix_length

DHCP Example (V) dynamic-bootp kalua:boolean true ndl:ipAddress ndl:ipAddress dhcp dhcp_options

DHCP Example (VI) dhcp-options router-list ndl:ipAddress domain-list ndl:ipAddress kalua:int ip-address ndl:ipAddress kalua:string

DHCP Example (VII) $source/interface_filter/interface = $target/ifName subnet filtering_subnet unbounded int:interface filtered_interface unbounded

DHCP Example (VIII) kalua:string name shared_network parent subnet children