Professional Documents
Culture Documents
Development of An Ietf Standard Methodology For Converting SNMP Mibs To XML Documents Via XSD
Development of An Ietf Standard Methodology For Converting SNMP Mibs To XML Documents Via XSD
Agenda
Problem/Opportunity Description
Expected Beneficiaries & Benefits
Background (Prague, Chicago, Vancouver)
Illustration of Technical Approach
Planned Deliverables
Datatypes Requirements and Mappings
Problem/Opportunity Recap
Next Steps
Q&A
3-December-2007
Nata
3-December-2007
Nata
Network Operators:
Network Users:
3-December-2007
Nata
Background:
From MIB2RMDL to XSDMI
draft-li-natale-smi-datatypes-in-xsd-00.txt
XML-oriented consumer groups asking for alignment in
the March 2008 time frame
3-December-2007
Nata
Managed
Entity
Info
Model
Proposed
IETF O&M
work
SNMP
SNMP
Agent
Mgmt
Service
MIB
???
SMI
???
3-December-2007
Nata
Mgmt
Endpoint
Decisions
about
supported
artifacts
needed
here.
SNMP
SNMP
Agent
Mgmt
Service
MIB
SMI
Proposed
IETF O&M
work
XML
XSD
This is the
target XSDMI
solution.
Mgmt
Endpoint
SNMP
SNMP
Agent
Mgmt
Service
MIB
Mgmt
Endpoint
???
XML
Proposed
IETF O&M
work
SMI
3-December-2007
???
IETF
Standard
Conversion
Methodology
XSD
Nata
Non-IETF
Conversion
Methodology
Artifacts
supported
here will
drive the
non-IETF
conversion.
Documents:
Tools
(Optional):
Similar to XML2RFC
Reference implementations
MIB to XML
XML to SNMP Gateway
3-December-2007
Nata
3-December-2007
Nata
<xs:simpleType name="TimeTicks">
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
<xs:simpleType name="Integer32">
<xs:restriction base="xs:int"/>
</xs:simpleType>
<xs:simpleType name="Counter64">
<xs:restriction base="xs:unsignedLong"/>
</xs:simpleType>
<xs:annotation>
<xs:simpleType name="Unsigned32">
<xs:documentation>
<xs:restriction base="xs:unsignedInt"/>
Mapping of "additional" SMIv1 datatypes from RFC
1155.
</xs:simpleType>
<xs:simpleType name="Counter32">
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
<xs:simpleType name="Gauge32">
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
</xs:documentation>
</xs:annotation>
<xs:simpleType name="Counter">
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
<xs:simpleType name="Gauge">
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
3-December-2007
Nata
10
<xs:simpleType name="OctetString">
<xs:restriction base="xs:hexBinary">
<xs:maxLength value="65535"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Opaque">
<xs:restriction base="xs:hexBinary"/>
</xs:simpleType>
<xs:simpleType name="IpAddress">
<xs:restriction base="xs:string">
<xs:pattern value=
"((0|1[0-9]{0,2}|2([0-4][0-9]?|5[0-5]?|[6-9])?|[3-9][0-9]?)\.){3}
(0|1[0-9]{0,2}|2([0-4][0-9]?|5[0-5]?|[6-9])?|[3-9][0-9]?)"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ObjectIdentifier">
<xs:restriction base="xs:string">
<xs:pattern value=
"[0-2](\.[1-3]?[0-9])(\.(0|([1-9]\d*))){0,126}"/>
</xs:restriction>
</xs:simpleType>
3-December-2007
Nata
11
Recap:
Illustration of the Target Environment
XML-based
Manager
Res
Model
MIB
2
RMDL
RMDL
- SNMP
Proxy
SNMP
Manager
MIB
Mgmt
Endpoint
SNMP
Agent
3-December-2007
Nata
12
3-December-2007
Nata
13
Next Steps
draft-li-natale-smi-datatypes-in-xsd-00.txt
-01 update to be posted following Vancouver
draft-romascanu-netconf-datatypes-02.txt
is a primary source
draft-li-mib-convert-00.txt
Output from XML option of
http://www.ibr.cs.tu-bs.de/projects/libsmi/smidump.html
3-December-2007
Nata
14
3-December-2007
Nata
15