Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

35
Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian

Transcript of Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Page 1: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Distributed Networking Intelligence: A New Java

Paradigm

Tal Lavian

Page 2: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture 2

Agenda

Openness - Virtual community development, Domain experts

Architecture and technology concepts Intelligent distributed applications Demos:

— JEND’s JVM’s, ORE

— Java Oplet

— XML on router

Summary

Page 3: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture 3

Vision

Transfer Intelligence to network devices Programmable network devices Virtual community of developers Domain experts bundle Intelligent network devices as part of

their solutions New era of innovation for startups

Page 4: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture

Change the Name of the Game

Openness In the current routing market we have to change the name of the

game It will enable technology leapfrog Programmable devices creates a Paradigm shift Open Architecture is an excellent technology and direction Request: Open Architecture Java appeals to the market & customers

Page 5: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Openness

Page 6: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture

Why an Open Architecture?

Unparalleled customization capabilities Dynamic delivery of new services The network adapts itself to users needs, not the other way

around 3rd party developers - create innovative services and

applications HW & OS independent. can migrate to new HW and SW =>

Investment protection

Page 7: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture

Benefits Network PC-ification Intelligent vs Dumb Devices Open vs Proprietary 1,000,000 Java programmers Revolutionize the network IEEE 1520 - programmable networks: Service Providers,

Enterprises, request programmability

Page 8: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture

Evolution vs. Revolution

HW

Net

Static Net SW

Net SW Intelligence Dynamic

Time

Performance /Enhancement

Log

arit

hmic

Now

10M

100M

1G

10G

Web

E-CommencesXMLLast Mile56k-->10Mb

Page 9: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture 9

The Web changes everything

Large demand bandwidth from web and multimedia applications

Huge LAN bandwidth compared to limited WAN bandwidth

New direction of networked applications

Global village - distributed business and computation environment

More business processes become network-centric and web-centric

Need for programmableIntelligent network

Page 10: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture10

The new networked world

Telephony Telephony ApplicationsApplications

Internet Telephony Firewalls

PushTechnologies

PushTechnologies

MPEG

Protocols &

Standards

Protocols &

Standards

Supply chainmanagementSupply chainmanagement

Multicast

Web TV

More UsersMore UsersNetwork

ComputersNetwork

Computers

Streaming VideoStreaming Video

SearchEnginesSearch

Engines

Richer ContentRicher Content

ExtranetsExtranetsExtranetsExtranets

IP Network

IP Network

emailemail

pop3smtp

voice messaging

E-commerce

Need for Intelligent Network utilizing the network capabilities Today, the network is used as

transparent media

Page 11: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture11

Users need a new kind of ‘netNeed for device programmability:• Distributed apps• E-commerce• Web centric• Business apps

Personal networking Accelerating business velocity Mass customization

Enabled by a new infrastructure

1985 1990 1995 2000 2005

Value

time

WebEmailFile transfer

And a new kind of thinking...

New net

Page 12: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture12

Benefits

Breakaway business strategy for creation of value over network elements

Positioning of open standards versus proprietary designs - market acceptance

Faster TTM for software development Unparalleled support and maintenance capabilities PC-ification - broad adoption

Page 13: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture13

Community Openness Success stories by large community of developers

Net-Based developers’ communities— Linux, GNU, Apache, BSD, X-Windows, Perl, Tk/Tcl— Netscape browser, NFS, JDK, JVM

Linux success: — Compaq, HP, IBM, SUN and SGI— Intel, Sparc64, Alpha, PowerPC

The Web Changes everything

— Java, XML, E-Business

Page 14: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Technology

Page 15: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture15

Technology Concept “Reversed Applets”

OpletsReversed Applets

Java BeansServer

The JVM is in the Device

Web ServerWeb Browser

Applet

The JVM is in the Browser

Technology is based on the concept of Reversed-AppletsTechnology is based on the concept of Reversed-Applets

Page 16: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture16

Why Aren’t The Current Interfaces Sufficient?

There are two main management interfaces to most devices:— SNMP

— CLI

Web/HTTP is typically just a MIB viewer/manipulator— “Collapsed SNMP”

Page 17: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture17

SNMP Is Data Driven SNMP = MIB + side effects + get/set protocol SNMP is not executable

— As defined, you can’t really script it

— You can script things like Perl and have them do SNMP for you

You can only manipulate MIB objects that are supported SNMP apps can’t run on the device itself

— Requires separate server

SNMP requires polling— Eats up net bandwidth

Example: You can’t write a custom CLI login authentication module easily using SNMP

— Perhaps you could with a bunch of traps and such but it would be really ugly

Page 18: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture18

SNMP and CLI Summary

SNMP is not a Turing Machine CLI could be made into a Turing Machine, but the

implementation is ugly and you still couldn’t implement all that you wanted very easily

Page 19: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture19

Desired Solution

Router Run-time

Customer-specific

functionality

VAR provided

functionality

extension functionality

3rd party functionality

Page 20: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture20

Possible Customer/VAR Applications Advanced SNMP monitoring and trap generation

— Eliminate polling, generate custom traps or system log messages

“Pluggable” remote authentication systems— People want different things: LDAP (who’s schema), Security Dynamics, TACACS, etc.

Custom CLI commands or web management screens Custom accounting interface Custom asset management Generated MIB extensions for SNMP Runtime image file distribution for upgrades VARs can add a lot of system value tying things together

Page 21: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture21

Possible Applications

INM can download advanced network management functions dynamically— Might download a diagnosis module after determining a fault

In-field upgrades— New algorithms

— Dynamic downloads via the Internet

Custom “glue” written by different divisions to create a more cohesive solution

Page 22: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture22

NEW

IIOPXML RMI

Op

let

Be

an

Ja

va

Be

an

Ja

va

Be

an

Ja

va

Be

anJa

va

Be

an

ORE Manageable Service Beans

Dynamic ORE Adapters and Oplets

SNMP HTTP

Op

let

Be

an

XM

L B

ea

n

Page 23: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Enabling New Concepts

Page 24: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture24

ApplicationApplicationServersServers

Java MIB API - Proxy Mode

Uses SNMP loopback mechanism to target a remote network element

API can be used to control devices that don’t have an embedded JVM

Router with No JVM

JSNMP APIProxy mode

JVM on PC

Java Oplet

Page 25: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture25

Collaboration with Business Applications New paradigm of distributed applications Network devices collaborating with business applications

JVM

Oracle DBE-CommerceBusiness appsSAP , ERP,Optivity

RMI, XML, CORBAApps

AccelarPassportBayRS

JVM

Apps

Apps Server

Oplet Oplet

Page 26: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture26

Mobile Agents

Jumping Java Beans across the network

Oplet

Oplet

OpletOplet

Oplet

Page 27: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture27

Network Devices Collaboration

Distribution application across network devices

JVM +ORE

JVM +ORE

JVM +ORE

Accelar

Accelar

PassportARN, BLN, BFR, BAC

PBX

JVM +ORE

JVM +ORE RMI, CORBA,XML

Page 28: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture28

Summary

Openness - successfully proven paradigm Domain experts - virtual developers community Allows innovations and added value Dynamic Loading Dynamic agents vs static agents Strong Security New capabilities - XML example An enabling-technology

Page 29: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture29

Appendix A: Strong Security in the New Model

The new concept is secure to add 3rd party code to network devices— Digital Signature— “Certified Oplet”— No access out of the JVM space — No pointers to damage the work — Access only to the published API— Verifier - only correct code can be loaded— Class loader access list

– Different Oplets with different access levels— JVM has run time bounds, type, and executing checking

Page 30: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture30

Old model Security (C/C++)

Old model - Not secure to add 3rd party code— Not recommended to add 3rd party code to network devices— Dangerous, C/C++ Pointers

– Can touch sensitive memory location— Risk: Memory allocations and free

– Allocation without freeing– Free without allocation (core dump !!!! )

Limited security in SNMP

Page 31: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture31

Appendix B: Java SNMP MIB API Portable across a range of network devices

Extendible

Simple and convenient for client use

Consistent with SNMP model

Hides unnecessary SNMP details

Permits optimized access

Re-use MIB documentation

Page 32: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture32

MIB API Generation Most of the Java code is generated automatically ASN.1 MIB definitions are converted into Java classes Documentation and commentary in the MIB definitions is placed

as Javadoc formal comments HTML documentation generated from Javadoc

Page 33: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture33

MIB Objects The MIB data model is structured as a tree API represents MIB groups with Java classes MIB variables are represented with accessor methods Conceptual tables are represented with iterators API converts SNMP data values into standard Java types

Page 34: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture34

JSNMP MIB API Architecture

JavaV irtualM achine

SN M P PD U Layer

Instrum entation& AnnotationLayer

R eal Tim e O perating System

Processor and other H ardware

N ative V ariab le In terface

M IB M ap

Abstract Variab le In terface

C lien t AP I

C lien t B ean

•API uses a MIB Map to dispatch requests to variable access routines•Different parts of the MIB tree can be serviced by different mechanisms•Two main schemes:•An ad hoc interface to the SNMP instrumentation layer•A generic SNMP loopback

Page 35: Open Distributed Networking Intelligence: A New Java Paradigm Tal Lavian.

Open Architecture35

Advantages of MIB map Allows immediate generic implementation of the entire MIB via

the loopback scheme Enables optimized native implementation of key MIB variables

for maximum efficiency Permits definition of pseudo-MIB variables for extending MIB

dynamically Provides site for centralized access management