1 IETF69 BOF XSD for accessing SMIv2 data models Yan Li

Slides:



Advertisements
Similar presentations
Management Information Base for Version 2 of the Simple Network Management Protocol Presented by Zhou Ji (MIB for SNMPv2) By SNMPv2 Working Group.
Advertisements

YANG Boot Camp The YANG Gang IETF 71. YANG Boot Camp The YANG Gang IETF 71.
Managing XML and Semistructured Data Lecture 12: XML Schema Prof. Dan Suciu Spring 2001.
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:
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
CSE 636 Data Integration XML Schema. 2 XML Schemas W3C Recommendation: Generalizes DTDs Uses XML syntax Two documents: structure.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
XML Simple Types CSPP51038 shortcourse. Simple Types Recall that simple types are composed of text-only values. All attributes are of simple type Elements.
XML Schema Matthias Hauswirth. Agenda 4 W3C Process 4 XML Schema Requirements 4 The Specifications 4 Schema Tools.
SMI MANAGEMENT INFORMATION WITHIN MANAGED SYSTEMS MUST BE REPRESENTED AS: SCALARS TABLES (= TWO DIMENSIONAL ARRAYS OF SCALARS) THE SNMP PROTOCOL CAN ONLY.
COMP4690, by Dr Xiaowen Chu, HKBU
 Existing and future SNMP MIBs represent a tremendous source of network management value, both as data models and – when realized via SNMP agents -- as.
SNMP Management Information
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.
IS432 Semi-Structured Data Lecture 3: XSchema Dr. Gamal Al-Shorbagy.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Dr. Azeddine Chikh IS446: Internet Software Development.
1 Goals and objectives (1 slide only) Project(s): MIB Ad hoc, involves EMS-NMS (MEF 7.1) Purpose of the contribution: Provide the rationale behind starting.
Network Management8-1 Chapter 8: Network Management Chapter goals: r introduction to network management m motivation m major components r Internet network.
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
SMI to XSD Translations IETF70 David Harrington. Agenda The Need The Approaches Comparisons.
Abierman-nanog-30may03 1 XML Router Configs BOF Operator Involvement Andy Bierman
NetConf Data Model draft-adwankar-netconf-datamodel-01.txt Sandeep Adwankar.
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:
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.
Internet Standard Management Framework
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,
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
XML Schema for Accessing SMIv2 Data Models IETF69 Chicago BOF David Harrington.
SNMP Simple Network Management Protocol A Standard Protocol for Systems and Network Management.
Kalua – A DML for NETCONF
Summary of the SMIng WG The Next Generation Structure of Management Information.
Primer on XML Schema CSE 544 April, XML Schemas Generalizes DTDs Uses XML syntax Two parts: structure and datatypes Very complex –criticized –alternative.
CITA 440 Week 6 SNMPv1. Internet SNMP Management Internet Engineering Task Force (IETF) –1990SNMPv1 –1996SNMPv2 –1998SNMPv3 Internet documents: –Request.
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
SMI STRUCTURE OF MANAGEMENT INFORMATION RFC 1155: SMIv1
111 © 2006, Cisco Systems, Inc. All rights reserved. OSPF-MTR-MIB-IETF OSPFv2 MIB for Multi Topology Routing (MTR) Namita Rawat Rashmi Shrivastava David.
Lecture 2 Recap.
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 –
IP Over InfiniBand Working Group Management Information Bases 55th IETF Atlanta Sean Harnedy InfiniSwitch Corporation
Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong
Kalua DML Examples
Lec 2: Infrastructure of Network Management Part1 from : Computer Networking: A Top Down Approach 6 th edition – Chapter 9 1 Organized by: Nada Alhirabi.
IPFIX MIB Status Managed Object for IP Flow Export A Status Report Thomas Dietz Atsushi Kobayashi
1 SNMPv2 by Behzad Akbari Fall 2008 In the Name of the Most High.
SMIng 55th IETF Chair: David Durham. Agenda Agenda bashing; All; 5 mins. Status update; Chair; 15 mins. Charter & milestone revision discussion; Chair;
YANG Background and Discussion: Why we need a new language for NETCONF configuration modeling The YANG Gang IETF 70 Vancouver, Canada.
Manajemen Jaringan, Sukiswo ST, MT 1 SNMP Management Information Sukiswo
The Structure of Management Information (SMI) Naming OIDs, Defining OIDs SNMP Operations Hamdamboy Urunov, a Ph.D. Researcher student. Special Communication.
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
YANG Modelling and NETCONF Protocol Discussion
YANG Roque Gagliano.
Simple Network Management Protocol
Using DSDL plus annotations for Netconf (+) data modeling
SNMP.
Lec7: SNMP Management Information
IETF69 BOF XSD for accessing SMIv2 data models
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Author1 ( 1), Author2 ( 2), Author3 ( 3),… Affiliation
Dept. of Computer Science and Engineering
NETCONF Configuration I/F Advertisement by WSDL and XSD
THE DATATYPES OF XML SCHEMA A Practical Introduction
NMRG Report Improving/Enhancing SNMP and SMI
Getting to Know Model-Driven Management With the YANG Catalog
Standards, Models and Language
Presentation transcript:

1 IETF69 BOF XSD for accessing SMIv2 data models Yan Li

2 Outline Datatypes for Netconf Data Models Using Smidump to Convert MIB to XSD Accessing MIBs using NETCONF

3 Datatypes for Netconf Data Models Using Smidump to Convert MIB to XSD Accessing MIBs using NETCONF

4 Background RFC 4181 “Guidelines for Authors and Reviewers of MIB Documents” lists an initial set of commonly used Textual Conventions. Their semantics and syntax could be reused by NETCONF and other XML-based management protocols

5 Mapping of Datatypes and Textual Conventions SMI / TCXSD TruthValueBoolean Enumerated INTEGERString (with an enumeration constrain) Numeric Integer (Integer32, Counter, Gauge) Integer and its derivant (int, unsignedInt, long, unsignedLong) Timeticks, TimeInterval, TimeStamp Duration DateAndTimedateTime String (OctetString, DisplayString) String and its derivant Address (IpAddress, MacAddress, InetAddress) String (with a specific pattern)

6 Mapping of Datatypes and Textual Conventions (cont.) SMI / TCXSD BITSA list of enumerated string OBJECT IDENTIFIER anyURI String representing an XPath expression

7 Open Issues Is the EnabledStatus (P-BRIDGE-MIB) needed? SNMP-Specific TCs - TestAndIncr - RowStatus - StorageType

8 Next Step Discuss case by case to identify which TCs are needed.

9 Datatypes for Netconf Data Models Using Smidump to Convert MIB to XSD Accessing MIBs using NETCONF

10 Mapping of Datatypes Used by Smidump SMI / TCXSD Integer32int OctetStringhexBinary (with restriction of length) Unsigned32, Counter32, Gauge32 unsignedInt Counter64unsignedLong Enumerated INTEGERNMTOKEN (with restriction of enumeration) TimeTicks, TimeStampunsignedInt TimeIntervalint DateAndTimeString (with a specific pattern)

11 Mapping of Datatyes Used by Smidump (cont.) SMI / TCXSD OBJECT IDENTIFIERstring (with restriction of length and pattern) BITSA list of enumerated NMTOKEN (The list is restricted by maxLength)

12 Structure of the XML Instance Documents invented by Smidump Smidump invents a "flattened" structure of the XML instance documents | +-- | +--A container of scalar elements (one or more) | | | +--scalar objects | +--An instance of table entry (one or more) | +--columnar objects

13 Example of IF-MIB … … … …

14 The Output XSD of Smidump read-only current … 255a

15 Datatypes for Netconf Data Models Using Smidump to Convert MIB to XSD Accessing MIBs using NETCONF

16 Motivation There is no data model for NETCONF, even a data modeling language at this time. But operators expect device vendors support NETCONF right now. What data models should device vendors provide? The proprietary data models impair interoperability between devices and applications from different vendors. Actually it is another version of CLI. The standard data models for NETCONF are destined to replace the proprietary data models in the near future. So device vendors will gain little return from developing proprietary data models There is a need for standard data models for transiting toward NETCONF, the SMI MIB is an alternative - SMI MIB is widely used for a long time, there are over 200 standard MIB modules -There is an open source tool, libsmi, which can convert SMI MIB into XSD conveniently A standard approach for accessing MIB may be used by not only NETCONF, but other XML-based NM protocols as well.

17 Approach for Accessing MIB Use the XSD converted by smidump as data model Add a capability for NETCONF The capability contains two SNMP- specific operations -, has a optional “max-repetitions” attribute for retrieving table entries. -, has a optional “operation” attribute for creating or deleting a table entry.

18 Example of <rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:mib="urn:ietf:params:xml:ns:netconf:mib:1.0"> <snmp-data xmlns=" <context ipaddr=" " port="830" community="public" time=" T08:08:08Z">

19 Example of <rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:mib="urn:ietf:params:xml:ns:netconf:mib:1.0"> <snmp-data xmlns=" <context ipaddr=" " port="830" community="public" time=" T08:08:08Z"> <ifStackEntry ifStackHigherLayer="1" ifStackLowerLayer="2" mib:operation="create"/>

20 Open Issues vs. Should the “max-repetitions” attribute be inherited from SNMP? Is the set functionality needed?

21 Thank You Questions? Contact info Yan Li –