The NMWG Framework
description
Transcript of The NMWG Framework
![Page 1: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/1.jpg)
The NMWG Framework
A (very) brief introduction
Raphael Dourado
13/04/2012 1
![Page 2: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/2.jpg)
Introduction
• There are a lot tools for network measurement...• ... but it’s necessary a standardized way for
representing all of these information
• Thus, the NMWG schema goal is to define “an extensible system for storing and processing performance information in distributed environments”
13/04/2012 2
![Page 3: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/3.jpg)
Basic Principles
• There is a clear separation of “time-varying, monitoring data” from “infrequently changing metadata”– It helps in making the system scalable– Differs from earlier approaches because the separation
here is explicit– Also helps in normalizing the measurement layout
The separation between Data and Metadata
13/04/2012 3
![Page 4: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/4.jpg)
Basic Principles
• Although it’s not a “brand new” idea, there are two updates– The use of WebService-friendly IDS (URI instead of OID)– The schemas are arranged in a way so that the “required”
elements are minimized
• These improvements allows “new measurements to easily and independently extend the basic framework”
The use of XML as the data exchange format
13/04/2012 4
![Page 5: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/5.jpg)
A Simple ExampleData/Metadata in a traceroute measurement
Data
Metadata
13/04/2012 5
![Page 6: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/6.jpg)
A Simple Example
• Metadata– Tool used (Windows’ “tracert”)– Source host (Raphael’s PC)– Destination host (cin.ufpe.br)– Parameters (-h 15)
• Data– IP address and elapsed time of each network probe
Data/Metadata in a traceroute measurement
13/04/2012 6
![Page 7: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/7.jpg)
The NM-WG Base Schema
Message
Metadata Data
Subject
EventType
Parameters
CommonTime
Datum
13/04/2012 7
![Page 8: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/8.jpg)
The NM-WG Base Schema
• Subject– The physical or logical
entity being described
• Ex.:– “ICMP latency from A to B”
Metadata Section
Message
Metadata Data
Subject
EventType
Parameters
CommonTime
Datum
Subject
13/04/2012 8
![Page 9: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/9.jpg)
The NM-WG Base Schema
• EventType– The name of the aspect
being measured (the characteristic)
• Ex.:– “ICMP latency from A to B”
Metadata Section
Message
Metadata Data
Subject
EventType
Parameters
CommonTime
Datum EventType
13/04/2012 9
![Page 10: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/10.jpg)
The NM-WG Base Schema
• Parameters– The way in which the data
is being gathered
• Ex.:– “ICMP latency from A to B,
when using 100 byte packets”
Metadata Section
Message
Metadata Data
Subject
EventType
Parameters
CommonTime
DatumParameters
13/04/2012 10
![Page 11: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/11.jpg)
The NM-WG Base Schema
• CommonTime– A flexible way to represent
time
• Datum– The actual measurement
data
Data Section
Message
Metadata Data
Subject
EventType
Parameters
CommonTime
Datum
13/04/2012 11
![Page 12: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/12.jpg)
The NM-WG Base SchemaPiecing together
When you use 100 byte packets, Host A to Host B ICMP latency is 100ms.
Metadata - Parameters Metadata - Subject
MetaData - EventType Data
13/04/2012 12
![Page 13: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/13.jpg)
Example Messages (OWAMP Request)
Met
adat
a
13/04/2012 13
![Page 14: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/14.jpg)
Example Messages (OWAMP Response)
.
.
.
.
.
.13/04/2012 14
![Page 15: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/15.jpg)
Examples of Schema Definition
1513/04/2012
• NMWG schemas are usually defined using the RELAX-NG language
• This is an example of OWD definition in RELAX-NG– http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/
schema/rnc/owd.rnc
• Here are more examples– http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/
schema/rnc/
![Page 16: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/16.jpg)
Extending the Base Schema
• Yes!• More information can be found at– “NMWG Schema Developers Guide”, section 5
http://www-didc.lbl.gov/NMWG/devguide.pdf
And also at http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/doc/devguide/devguide.pdf, section 6 (newer version, but worse explanation)
It is possible?
13/04/2012 16
![Page 17: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/17.jpg)
References
• Zurawski, Jason et. al. A Scalable Framework for Representation and Exchange of Network Measurements. TridentCom, 2006.
1713/04/2012
![Page 18: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/18.jpg)
THANK YOU!QUESTIONS?
13/04/2012 18
![Page 19: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/19.jpg)
Backup Slides
13/04/2012 19
![Page 20: The NMWG Framework](https://reader035.fdocuments.us/reader035/viewer/2022070411/5681487b550346895db5837c/html5/thumbnails/20.jpg)
• Since NMWG uses XML for data representation, it is necessary a XML schema language– The chosen language was RELAX-NG
13/04/2012 20