pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid...

14
pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring and security workshop April 24, 2014 Arne Øslebø, [email protected] ? ?

Upload: truongkiet

Post on 20-Aug-2019

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC frameworkCampus network monitoring and security workshop April 24, 2014 Arne Øslebø, [email protected]

?

?

Page 2: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

perfSONAR NC - What is it?● Started as an alternative

implementation of the perfSONAR framework

● Evolved into a framework for sharing, correlating and visualizing monitoring data

● Common data model written in YANG– Allows generic clients that can

query all type of MA and MP● NETCONF over SOAP as

transport protocol– RFC4743 (now historic)– Will move to RESTCONF

2

MA MP

LS

MA MA

Client MA MA

MP

Page 3: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Too much data from too many sources

3

Page 4: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

perfSONAR NC vision

perfSONAR NC perfSONAR NC

4

Page 5: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

perfSONAR NC Server Architecture

April 4, 2014 5

PerfSONAR NCdaemon SOAP

SSH

Server

Clients

MAMA MPMP LS

● Implemented MA's– Stager (122 SLOC, 160 XSL)– Mping (137 SLOC, 108 XML)– RRD (113 SLOC, 48 XML)– Raw Netflow (140 SLOC, 83 XML)– Syslog (tutorial) (99 SLOC, 71 XML)– Elasticsearch (early prototype)– Graphite (planned)

NMWG(RRDMA) PerfSONAR UI

Page 6: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Generic data model

6

+--rw perfSONARNC +--ro info +--ro measurementarchives | +--ro mas | +--ro ma | +--ro name | +--ro datasources | +--ro datasource | +--ro name | +--ro obspoints | +--ro timeinfo | +--ro reportsinfo +--rw maqueries

● Contains all information a client needs for querying and presenting data from the MA

...<headers>  <topHeader>    <name>Data1</name>    <data>integer</data>  </topHeader>  <topHeader>    <name>Data2</name>    <data>percent</data>  </topHeader> ...

Page 7: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Report types – single observation point

7

Table

Single table

Matrix (not yet implemented)

Page 8: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Report types – multiple obs. points

8

Global

Overview

Page 9: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

pncweblib – rapid development of specialized web interfaces

9

Appflow (567 SLOC) Mpeg TV (332 SLOC)GWT

Page 10: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

pncweblib - architecture

10

Pncs

PncMA

MAReport

PncVisual

Table Highcharts DataOnly JVectorMap

Page 11: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Correlating data – same type of MAs

11

MA Obs. point Data 1 Data 2

A A1 a1 a2

A A2 a3 a4

B B1 b1 b2

B B2 b3 b4

B B3 b5 b6

C C1 c1 c2

Measurement ArchiveA

Measurement ArchiveB

Measurement ArchiveC

Page 12: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Correlating data – different types of MAs

12

Obs Data1 Data2 Obs Data3 Data4 Obs Data5 Obs Data6

A1 a1 a2 B1 b1 b2 B2 b3 C1 c1

A2 a3 a4 B3 b4 b5 B4 b6 C2 c2

Measurement ArchiveA

Measurement ArchiveB

Measurement ArchiveC

Page 13: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Short demo

13

Page 14: pncweblib - a library for rapid development of web ... · pncweblib - a library for rapid development of web interfaces for use with the perfSONAR NC framework Campus network monitoring

Current status and future plans● Backend

– stable and well documented– http://software.uninett.no/perfsonarnc/– Missing some features

● Matrix reports● Pncweblib

– Stable, when you know how to use it!– Needs better error handling– Missing documentation– Still some missing key features

● Student will work on it during the summer● Public release autumn 2014?

14