NETCONFish: Speaking the network language Leonidas Poulopoulos GRNET NOC TNC2013 Maastricht, Netherlands, 3-6 June 2013 config = “

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

PWG F2F Mtg June 2008 WIMS-CIM WG What's a Prototype Proxy Printer Provider Rick Landau Dell, CTO Office 2007/06/25 v0.1.
XML-based Network Management Rob Enns
Proposal: Model-Driven SAL for the OpenDaylight Controller
YANG Boot Camp The YANG Gang IETF 71. YANG Boot Camp The YANG Gang IETF 71.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
Apache Struts Technology
SOAP.
CIS 375—Web App Dev II SOAP.
SOAP SOAP is a protocol for accessing a Web Service. SOAP stands for Simple Object Access Protocol * SOAP is a communication protocol * SOAP is for communication.
Implementing a Highly Available Network
NetML Network Markup Language Ivan Santarelli Alexandra Bellogini
Application of XML Schema in Web Services Security Sridhar Guthula W3C XML Schema 1.0 User Experiences
WPSM Programming Language A simple language that transform simple data structure into complex xML format Wai Y. Wong Peter Chen Seema Gupta Miqdad Mohammed.
Client-server interactions in Mobile Applications.
Introduction to SNMP AfNOG 11, Kigali/Rwanda.
Firewall on Demand A multidomain approach Leonidas Poulopoulos, Yannis Mitsos – GRNET NOC Firewall on Demand workshop TF-MSP meeting.
Struts 2.0 an Overview ( )
SNMP (Simple Network Management Protocol)
W3af LUCA ALEXANDRA ADELA – MISS 1. w3af  Web Application Attack and Audit Framework  Secures web applications by finding and exploiting web application.
VoiceXML Builder Arturo Ramirez ACS 494 Master’s Graduate Project May 04, 2001.
Windows Internet Connection Sharing Dave Eitelbach Program Manager Networking And Communications Microsoft Corporation.
Smart Home Design Based On Voice Recognition
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Netconf for Peering Automation APRICOT 2015 Tom Paseka.
NETMOD Architecture Phil Shafer IETF 72.
Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems and emergencies in the network (router.
CSCI 6962: Server-side Design and Programming Web Services.
Abierman-nanog-30may03 1 XML Router Configs BOF Operator Involvement Andy Bierman
© Hitachi, Ltd All rights reserved. NETCONF Configuration I/F Advertisement by WSDL and XSD Hideki Okita, Tomoyuki Iijima, Yoshifumi Atarashi, Ray.
Introduction of PRO WG activities Group Name: TP Source: Shingo Fujimoto, FUJITSU, Meeting Date: Agenda Item:
Abierman-netconf-mar03 1 NETCONF BOF 56th IETF San Francisco, California March 17, 2003 Discussion: Admin:
Accada – Open Source EPC Network Prototyping Platform Christian Floerkemeier Christof Roduner SAP October 2006.
Syslog (1) The purpose of syslog is to write system messages to a log The purpose of syslog is to write system messages to a log Syslog messages can include.
N ETWORK C ONFIGURATION Prepared by: Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco IOS Threat Defense Features.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Verified Network Configuration. Verinec Goals Device independent network configuration Automated testing of configuration Automated distribution of configuration.
1 Quick Overview Overview Network –IPTables –Snort Intrusion Detection –Tripwire –AIDE –Samhain Monitoring & Configuration –Beltaine –Lemon –Prelude Conclusions.
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,
All Rights Reserved Copyright © 2005,Hitachi.Ltd. Experience of implementing NETCONF over SOAP ( draft-iijima-netconf-soap-implementation-01) Monday, November.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
1 Web Services Web and Database Management System.
Protocol for I2RS I2RS WG IETF #89 London, UK Dean Bogdanovic v0.1.
Configuring AAA requires four basic steps: 1.Enable AAA (new-model). 2.Configure security server network parameters. 3.Define one or more method lists.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
REST By: Vishwanath Vineet.
All Rights Reserved Copyright © 2007,Hitachi.Ltd. Experience of implementing NETCONF over SOAP ( draft-iijima-netconf-soap-implementation-02) Monday, July.
N ETWORK C ONFIGURATION Prepared by: Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker.
Created by Jan Medved I2RS Related/Relevant Yang Models Currently in Use March 2014 Robert Varga, Anton Tkacik, Jan Medved.
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 –
EWS Redesign Business Case A look at creating a reports client for new or small market participants.
GDML “Geometry Description Markup Language” by Daniele Francesco Kruse University of Rome “Tor Vergata” European Organization for Nuclear Research.
Netconf Schema Query Mark Scott IETF 70 Vancouver December 2007
YANG Background and Discussion: Why we need a new language for NETCONF configuration modeling The YANG Gang IETF 70 Vancouver, Canada.
Automating Legacy Network Devices
Automated provisioning of Ethernet OAM in CarrierEthernet networks: the case of GRNET Leonidas Poulopoulos Michalis Mamalis Stauros.
Networks ∙ Services ∙ People GEANT Information & Infrastructure Security Team TNC16 – Networking Conference Introduction DDoS at GÉANT Prague.
ServerTemplate TM Deep Dive: Configuration for Multi-Cloud Environments Tim Miller Sr. Director ServerTemplate TM Development Cary Penniman Sr. Software.
L25 - PlantPAx Process Application Development Lab I
Convergence of Network Management Protocols
Team MITRE Sentinel Final Presentation
Viewbiquity HTML5 Tom Shafron Developer’s Blog CEO, Viewbiquity
NETCONF Configuration I/F Advertisement by WSDL and XSD
Chapter 8: Monitoring the Network
67th IETF meeting netconf WG
Edge Recorder Client
Object Oriented Design
Presentation transcript:

NETCONFish: Speaking the network language Leonidas Poulopoulos GRNET NOC TNC2013 Maastricht, Netherlands, 3-6 June 2013 config = “ ” presentation = Presentation(config) presentation.present()

Structure snmpget SNMP.management NETCONF from ncclient import * nxpy=Developing.onTopOf.NETCONF def examples(*args, **kwargs) class Use_Cases(object) return

SNMP.oid Since 1999 v1,v2,v3 Wide deployment Perfect for get, walk BUT snmp-set  v1,v2 no security MIB bindings – SNMPv2- SMI::enterprises

SNMP complimentary XML messages SSH v2 Close to device configuration Big “players” support it

ncclient

NETCONF in action HANDSHAKE Get Config Req RESPONSE Connect

ncclient get_config() ncclient – Python NETCONF client Connect RESPONSE Get Config Req

NETCONF

ncclient edit_config()

Was that XML??? NETCONF – XML knowledge – Careful very be syntax errors with  GET – XML parsing EDIT/SET – XML building Often, no reusable source code Susceptible to errors TIME TIME TIME

From “Other issues I faced appear to be due to my lack of understanding of the Python XML library I was using. Handling of namespaces in tags was the problem.”

That’s what we want Python ONLY! Reusable Open Source Extendable Focus on app dev Ultimate goal: Translate from XML to Python and vice-versa NO XML

Network XML Python Proxy nxpy Open source Used in: – Firewall on Demand ( – GRNET pilot AutoBAHN TP

nxpy Developer’s Shelter

Features Juniper configuration parts – Interfaces Units – Vlans – Routing Options Flow XML, JSON export Reconciliation made easy Extends easily

App Info Flow

Under the hood Getters Setters XML – Parsing – Building Write ONCE Use FOREVER

Source code snapshot

Diff

AddSomeComplexity.now() FlowSpec rule Block Attack

Isn’t that FoD??

AutoBAHN TP

from future import features Parse device configuration schema – Juniper 12.1R5.5 ~ 18MB Generate Python Proxy classes on the fly BGP reconciliation tool – Apply once/day – Check – Alert

All in one place nxpy: ncclient: FoD: Where to find us: GRNET NOC: GRNET:

Questions ?

THANK YOU Leonidas Poulopoulos GRNET NOC