19
JUNOS SPACE SDK SEPTEMBER 2011 Alan B. Stokol Director, Tools + Developer Experience

Junos Space SDK: Unlocking Data for Developers

Embed Size (px)

DESCRIPTION

Learn how Junos Space SDK unlocks critical data through Open APIs. Developers can now use network data in their applications. This presentation walks through features & functionality of the Junos Space SDK>

Citation preview

Page 1: Junos Space SDK: Unlocking Data for Developers

JUNOS SPACE SDKSEPTEMBER 2011

Alan B. StokolDirector, Tools + Developer Experience

Page 2: Junos Space SDK: Unlocking Data for Developers

2 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

Opportunity for Across-the-network Innovation

Opportunity for On-device Innovation

Opportunity for Network End-point Innovation

JUNIPER PROGRAMMABLE NETWORK PLATFORMS

Network Application Layer

User Application Layer

Network DeviceLayer

Page 3: Junos Space SDK: Unlocking Data for Developers

3 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

Assets Data

ValueAction

Networking Devices, Servers, Databases, Applications etc.

CREATE

GENERATE

INSI

GH

TA

FFECTS

FilterCorrelateCombine

ConfigureProvisionDynamic Policy

InventoryHistoryReal-time

JUNOS SPACE SDKUNLOCK THE POWER OF THE NETWORK

Page 4: Junos Space SDK: Unlocking Data for Developers

4 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

PROGRAMMABLE

POWERFUL

FLEXIBLE

Topo

logy

JUNOS SPACEPROGRAMMABLE NETWORK APPLICATION PLATFORM

APPLICATIONS

Juniper Apps 3rd Party Apps

Network Activate ● Route Insight Virtual Control ●

Service Now … others

OSS ● BSS ● Green/Energy ● End-user Forensics Adapters (MTOSI, OneAPI) ● …

others

Network Interface (DMI)

Junos Space RESTful Web Service

JUNOS SPACE PLATFORM

Con

figur

atio

n

Inve

ntor

y

Scr

ipts

Dev

ices

Eve

nts

Dis

cove

ry

Jobs

Use

rs

UI

Wid

gets

Device & Network Abstractions

Infrastructure

Open NetworkApplicationPlatform

Page 5: Junos Space SDK: Unlocking Data for Developers

5 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

APP

CH

OIC

ES

EXTENSIONNATIVE

PLATFORM HOSTED EXTERNAL

STANDALONE INTEGRATION

OPEN FOR APPLICATIONS & INTEGRATIONApplication and services platform to address real-world challenges

APIs

InfrastructureServices

Device & Network Abstraction

Services

Page 6: Junos Space SDK: Unlocking Data for Developers

6 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

Dev

ice

Mgm

t

Dev

ice

& N

etw

ork

inve

ntor

y

Con

fig M

gmt

S/W

Imag

e M

gmtCONFIGURATION

MGMT SERVICE

Modify device configuration using Change Requests

Configuration Templates

Archive Configurations

using Configuration Files

NETWORK & DEVICE

INVENTORY SERVICE

Discover devices in the network

Network & Device inventory

Logical and Physical inventory

DEVICE MGMT SERVICE

Archive raw and expanded device

configurations

Fetch Device Syslog

Execute CLI commands via NetConf RPC

SCRIPT MGMT SERVICE

Archive Junoscripts on Space

Upload and execute scripts on

devices

Execute Op Scripts, Event Scripts and Commit Scripts

DEVICE SOFTWARE

MGMT SERVICE

Archive Device Software

Manage software versions on devices

Upload software to one or more

devices

USER MGMT. & AUTHENTICATIO

N

Create, Read, Update and Delete

operations on Users

Manage User Roles & Capabilities

User Authorization and Authentication (includes external

authentication)

JOB MANAGEMENT

List of active and completed jobs

Determine status of job execution including Job

Details

Ability to create new Jobs and cancel a

running job

APP LIFE CYCLE MANAGEMENT

Manage Applications

installed on Space

Specify and Configure run time

parameters for applications

Control Application Lifecycle

TAGGING & FILTERING

Create, Read, Update and Delete application defined

Tags

Associate tags with objects defined in your applications

Search and Filter using Tags

API DISCOVERY

Discover the services exposed

by the platform

Discover the services exposed by applications

Read the meta data associated with the

services

INFRASERVICES APIs

DEVICE & NETWORK

ABSTRACTION SERVICES APIs

JUNOS SPACE API GROUPS

Page 7: Junos Space SDK: Unlocking Data for Developers

7 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

ANATOMY OF THE JUNOS SPACE SDK

Plug-in for Eclipse

New Application

EJB to REST

Module definition

Application packaging

and licensing

Logging & Debugging

Chainsaw Logger

Static Analysis

using PMD

UI Builder

Drag & Drop UI

Components

Space UI Components

Platform Simulator

Debug and test

applications

Qualify apps on Space platform

Device Simulator

Junos compatible

device simulation

Scale testing

Docs & Support

App developer

guide

API reference guide

Sample applications

Developer community and forums

1 2 3 4 5 6

Page 8: Junos Space SDK: Unlocking Data for Developers

8 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

BUILDINGDeveloper Workflow

CertificateJunos Space SDK Developer Support

Signed Application Package

APIs, Simulators, Test + Build Environment

Application Binary

AND DEPLOYING APPS

Download & Install Junos Space SDK

Developer Code

Installs app onSpace Platform

System Administrator Workflow

Page 9: Junos Space SDK: Unlocking Data for Developers

9 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

Junos Space Simulator

Simulated Devices

Junos Space

SDK Plug-in

for Eclipse

UI Builder for

Junos Space

DEVELOPMENT ENVIRONMENTAll you need is one laptop.

Host OS

Junos Space IDE

Application

Simulated Devices

Application UIJunos Space

VM HostBrowser

Eclipse

Page 10: Junos Space SDK: Unlocking Data for Developers

10 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

WHAT IS IT IN FOR ME AS A DEVELOPER?

RESTful Web-service access to the

network

Language independent application

development & integration

Ability to dynamically extend the

application platform

Page 11: Junos Space SDK: Unlocking Data for Developers

11 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

HOW DO I BECOME A DEVELOPER?

Register Market

ProductizeDevelop

• Enroll in to the Developer Ecosystem

• Install the Junos Space SDK

• License and Package my Application

• Jointly market my Application to customers

• Become part of application catalog

• Using the Junos Space SDK Developer Tools and Junos Space RESTful Web services

Page 12: Junos Space SDK: Unlocking Data for Developers

12 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

KEY FEATURES 11.2

Page 13: Junos Space SDK: Unlocking Data for Developers

13 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

New in 11.2

KEY FEATURES (APIS)PLATFORM INFRASTRUCTURE SERVICES

API Discovery ServiceDiscover the services exposed by the

platform

Discover the services exposed by applications

Read the meta data associated with the services

Page 14: Junos Space SDK: Unlocking Data for Developers

14 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

KEY FEATURES (APIS)NETWORK & DEVICE ABSTRACTION

New in 11.2

Network & Device Inventory Service

Discover devices in the network

Network & Device inventory

Logical and Physical inventory

Page 15: Junos Space SDK: Unlocking Data for Developers

15 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

KEY FEATURES (TOOLS)

Wizards

New Application

EJB to REST

Module definition

Application packaging and licensing

Page 16: Junos Space SDK: Unlocking Data for Developers

16 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

USE CASE – ENERGY MGMT

Page 17: Junos Space SDK: Unlocking Data for Developers

17 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

ENTERPRISE ENERGY MANAGEMENT FROM JOULEX

Interactive and drill-down reporting through JouleX interface

Administrator sets business rules;

Junos Space does the rest

Automate IT energy management Monitor, report energy usage Set Green IT business rules

SOLUTION

3

Retrieve IT resource power

consumption

Power down ports, devices - reduce energy usage

APPROACH

2

Use SDK to leverage Junos Space network intelligence for network device energy utilization.

Lack of standards for power management leads to system under-utilization, energy waste, higher carbon emissions.

CHALLENGE

1

NETWORK

Page 18: Junos Space SDK: Unlocking Data for Developers

18 Copyright © 2010 Juniper Networks, Inc. www.juniper.net

Junos Space Platform

IMPLEMENTING JOULEX ENERGY MANAGER (JEM)

Platform

DMI/NetConf

API Native Apps

JouleX JEM ApplicationEXTENSIONNATIVE

PLATFORM HOSTED EXTERNALSTANDALONEINTEGRATION

/device-management/devices

/device-management/devices/{device id}                                 

/device-management/devices/{device id}/exec-rpc             

Retrieve all devices managed by Junos Space

Get info for a single device managed by Junos Space

RPC call to single device to get the power usage information. RPC for EX82xx: <get-power-budget-information> RPC for other Junos devices <get-environment-pem-information>

111

1

11

1

2

3

1

2

3

Page 19: Junos Space SDK: Unlocking Data for Developers