praha, hotel clarion 10. network programming...openflow 1.x protocolonepk api flow management...

57
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Connect 1 1 © 2013 Cisco and/or its affiliates. All rights reserved. Network Programming in a Cisco Open Network Environment Strategy and Overview Praha, Hotel Clarion 10. 11. dubna 2013 T-SDN1/L1 Bruno Klauser Consulting Engineer BN EMEAR CTO Team [email protected]

Upload: others

Post on 26-Dec-2019

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2011 Cisco andor its affiliates All rights reserved Cisco Connect 1 1 copy 2013 Cisco andor its affiliates All rights reserved

Network Programming in a

Cisco Open Network Environment

Strategy and Overview

Praha Hotel Clarion

10 ndash 11 dubna 2013

T-SDN1L1

Bruno Klauser

Consulting Engineer BN EMEAR CTO Team bklauserciscocom

copy 2012 Cisco andor its affiliates All rights reserved 2

a

Announcing Cisco Open Network Environment

Industryrsquos Most Comprehensive Networking Portfolio

Hardware + Software Physical + Virtual Network + Compute

Network

1 Platform

APIs

2 Controllers

And

Agents

3 Virtual

Overlays

Applications

SDN - Controller SW (OpenFlow onePK)

- OpenFlow 1x support

Open Clouds with

Nexus 1000V - Multi-hypervisor

- Multi-service

- Multi-cloud

- Openstack support

One Platform Kit (onePK) - Programmatic APIs for Network

HW (IOS IOS-XR NX-OS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 3

What Is Software Defined Network (SDN)

ldquohellipIn the SDN architecture the control and data

planes are decoupled network intelligence and state

are logically centralized and the underlying network

infrastructure is abstracted from the applicationshelliprdquo

Source wwwopennetworkingorg

What is OpenStack

Opensource software for building public

and private Clouds includes Compute (Nova)

Networking (Quantum) and Storage (Swift)

services

Source wwwopenstackorg

What is Overlay Network

Overlay network is created on existing network

infrastructure (physical andor virtual) using a network

protocol Examples of overlay network protocol are

GRE VPLS OTV LISP and VXLAN

What Is OpenFlow

Open protocol that specifies interactions between

de-coupled control and data planes

Note OF is not mandatory for SDN

Note North-bound Controller APIs are vendor-specific

Note Applicable to SDN and non-SDN networks Note Applicable to SDN and non-SDN networks

Note SDN is not mandatory for network programmability

nor automation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 4

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Cisco Public 5 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 2: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved 2

a

Announcing Cisco Open Network Environment

Industryrsquos Most Comprehensive Networking Portfolio

Hardware + Software Physical + Virtual Network + Compute

Network

1 Platform

APIs

2 Controllers

And

Agents

3 Virtual

Overlays

Applications

SDN - Controller SW (OpenFlow onePK)

- OpenFlow 1x support

Open Clouds with

Nexus 1000V - Multi-hypervisor

- Multi-service

- Multi-cloud

- Openstack support

One Platform Kit (onePK) - Programmatic APIs for Network

HW (IOS IOS-XR NX-OS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 3

What Is Software Defined Network (SDN)

ldquohellipIn the SDN architecture the control and data

planes are decoupled network intelligence and state

are logically centralized and the underlying network

infrastructure is abstracted from the applicationshelliprdquo

Source wwwopennetworkingorg

What is OpenStack

Opensource software for building public

and private Clouds includes Compute (Nova)

Networking (Quantum) and Storage (Swift)

services

Source wwwopenstackorg

What is Overlay Network

Overlay network is created on existing network

infrastructure (physical andor virtual) using a network

protocol Examples of overlay network protocol are

GRE VPLS OTV LISP and VXLAN

What Is OpenFlow

Open protocol that specifies interactions between

de-coupled control and data planes

Note OF is not mandatory for SDN

Note North-bound Controller APIs are vendor-specific

Note Applicable to SDN and non-SDN networks Note Applicable to SDN and non-SDN networks

Note SDN is not mandatory for network programmability

nor automation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 4

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Cisco Public 5 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 3: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 3

What Is Software Defined Network (SDN)

ldquohellipIn the SDN architecture the control and data

planes are decoupled network intelligence and state

are logically centralized and the underlying network

infrastructure is abstracted from the applicationshelliprdquo

Source wwwopennetworkingorg

What is OpenStack

Opensource software for building public

and private Clouds includes Compute (Nova)

Networking (Quantum) and Storage (Swift)

services

Source wwwopenstackorg

What is Overlay Network

Overlay network is created on existing network

infrastructure (physical andor virtual) using a network

protocol Examples of overlay network protocol are

GRE VPLS OTV LISP and VXLAN

What Is OpenFlow

Open protocol that specifies interactions between

de-coupled control and data planes

Note OF is not mandatory for SDN

Note North-bound Controller APIs are vendor-specific

Note Applicable to SDN and non-SDN networks Note Applicable to SDN and non-SDN networks

Note SDN is not mandatory for network programmability

nor automation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 4

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Cisco Public 5 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 4: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 4

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Cisco Public 5 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 5: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Cisco Public 5 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 6: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 6

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 7: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 7

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 8: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 8

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 9: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 9

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 10: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 10

Wireless Controller(s) (WLC etc hellip)

ICT

Opera

tions

Self-Service for Human Users

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

c

Operations

(FCAPS)

6 7 Resource

Allocation

5 Services

(Location Guestnet Onboarding hellip)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 11: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 11

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 12: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 12

ICT

Opera

tions

Inflection Network Programming

Network Survivability Manageability Automation Autonomy

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

What if the lsquoUserrsquo is a Software App

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 13: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 13

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 14: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 14

ICT

Opera

tions

Operational Network Automation

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 15: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 15

ICT

Opera

tions

Operational Network Automation ndash I

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type I Example Embedded Automation Systems

Custom Notifications

Custom Failover Custom Smart Ports

see wwwciscocomgoeem wwwciscocomgoeasy

CDP

MAC

Addr Radius

Server

8021x

LLDP

NMS

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 16: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 16

ICT

Opera

tions

Operational Network Automation ndash II

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Type II Example Preventive and Proactive Automations

Real-Life Network

Workflows

Smart Call Home

Proactive Maintenance see wwwciscocomgosmartcall

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 17: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 17

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 18: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 18

ICT

Opera

tions

Network Survivability Manageability Automation

Virtual Overlay Networks

Business Operations

1

a

b

3

Domain Controllers Domain Controllers

APIs and Agents

5

6 7

c

Inflection Business-Driven Network Automations hellip

2

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 19: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 19

What are Network Programming and SDN

SDN Enables

bull Business Applications to program (parts of) the Network

SDN is Relevant when (in any combination)

bull The Business is Software Centric

bull The Business Demands Automation

bull Network Operations is Highly Mature

SDN Adoption across Markets and Technology Domains

bull 2007 Pro-sumerSMB Market Space

bull 2009 ESMB Routing amp Switching Customizations

bull 2010 Network Compliance and Interop Testing

bull 2012 Software-Defined Data-Center SDDC

bull 2013 SP Network Function Virtualization Connected Industries Cloud-Intelligent Networks hellip

bull hellip

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 20: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 20

Software ndash Network Convergence

Donald Knuth 1974

(Author of ldquoThe Art of Computer Programmingrdquo)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 21: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Who is the Network Programmer ndash 12

Currently Three Main Groups

Network ldquoPonytailsrdquo System ldquoSquare Eyesrdquo New Breed ldquoGeneration Yrdquo

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 22: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Who is the Network Programmer ndash 22 Network ldquoPonytailsrdquo

System ldquoSquare Eyesrdquo

Generation Y

Works for Vendor Partner large Customers ISVSIDev Partner large Customer DevSIISV Partner large Customer

Education Academia NREN

Typical Employers [names omitted] [names omitted]

Atypical Employers [names omitted] [names omitted]

Network IOS Skills

Scripting Skills

Programming Skills

ICT Architectural Comp

SW Engineering Comp

3rdSystem Domain Comp

Typical Tools PuTTY perl expect Visio

mySQL LAMP email wiki

Eclypse JMS TiBCO make perl C

Java Oracle TOAD email wiki

gedit REST xmpp rss XMLXSD

IM social blogs play redmine

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 23: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Cisco Public 23 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 24: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 24

Describing Software Architectures

4+1 View Model

bull Scenarios Use Case Who What and Why Examples Routing-for-(Dollars) Application-Flow-Manipulation Network Slicing SDDC Provisioning CIN hellip

bull Development View SDKs Packages Libraries Tools Examples onePK SDK binaries so Eclipse Debugger IOL hellip

bull Logical View Features Functions Classes Abstractions Examples onePK APIs in C Java Application APIs hellip

bull Process View Architectures Processes Interactions Objects Examples Agents Controllers Thrift IDL Cloud Connectors Sentinels hellip

bull Physical View Deployment Hosting Topology Connectivity Examples Virtual Containers Blades Endpoints L1-2-3 Overlay

See httpsenwikipediaorgwiki4+1_Architectural_View_Model

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 25: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 25

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Development View

Logical View

Network

Programming

Process View

(Software)

Architectures and

Patterns

Physical View

Deployment and

Virtualization

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 26: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 26

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 27: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 27

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 28: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 28

Nexus 1000V

bull Distributed switch

bull NX-OS consistency

VSG

bull VM-level controls

bull Zone-based FW

ASA 1000V

bull Edge firewall VPN

bull Protocol Inspection

vWAAS

bull WAN optimization

bull Application traffic

WAN

Router

Servers

Tenant A ASA

1000V

Cloud

Firewall

Nexus 1000V

VirtualizedCloud Data Center

vWAAS

Cisco Virtual

Security

Gateway

6000+ Customers Shipping Shipping Shipping

CSR 1000V (Cloud Router)

bull WAN L3 gateway

bull Routing and VPN

Limited Availability CQ4rsquo12

Full Availability CQ1rsquo13

Switches

Ecosystem Services

bull Citrix NetScaler VPX virtual ADC

bull Imperva Web App Firewall

Citrix

NetScaler

VPX

Imperva

SecureSphere

WAF Cloud

Services

Router

1000V

Zone A

Zone B

vPath VXLAN

Multi-Hypervisor (VMware Microsoft RedHat Citrix)

2013

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 29: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 29

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 30: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 30

Example Controller Architectures

Open Daylight Controller Provides

bull Open-Source Community-Driven Architecture and Platform for SDN Applications

bull Cisco are

Co-Founder

Platinum Member

Active Steering and Technical Member

bull Initial Controller Download available from 2013-04-08

httpwwwopendaylightorg

httpwikiopendaylightorg

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 31: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 31

Example Controller Architectures

OF onePK onePK

OF

OpenFlow 1x Protocol onePK API

Flow Management Forwarding Logic Device Management

Network Slicing

Applications (Cisco) Applications (Customer) Applications (3rd party)

Northbound API (REST WebSockets OSGi)

Controller built-in Applications

Bu

ilt-

in G

UI fo

r M

an

ag

em

en

t

AppsApplications

Network Troubleshooting

Controller Core Infrastructure

Southbound APIs (onePK OneFlow)

Custom Routing

Cisco ONE Controller

Cisco ONE Controller Provides

bull Platform for generic control functions ndash state consolidation across multiple entities

bull Current Use Cases

Flexible Network Partitioning and Provisioning (ldquoCampus Slicingrdquo)

Network Troubleshooting

Custom Routing

bull Software Product Java Beta 1H CY13

Cisco ONE Controller Anatomy

bull onePK and Openflow support

bull Modular Architectures

bull Extensibility and Manageability (UI and API)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 32: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Example Flexible Monitoring Matrix Solution ndash 12 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Challenge Traditional implementations tend to be inflexible closed expensive

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Matrix

Switch

Static Configuration

Specialized high-density high-throughput Switch

Static rules and configurations

Closed systems limited adaptability tool compatibility

Expensive not scalable

Real-World Example

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 33: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Example Flexible Monitoring Matrix Solution ndash 22 Problem How to build a flexible programmable and cost-effective monitoring matrix solution

Solution Use Network Programming based on Cisco ONE Controller

Public Internet

Analyzer

IDS-Green

Production Network

Tool Ports Network Ports

Agent enabled Nexus 3000 Switches (Openflow)

Cost-effective scalable extensible

Cisco ONE Controller and Matrix Application

Open UI (Controller and Application) and API (Agent and Controller)

Cisco ONE Controller

Matrix App

Open UI and APIs

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 34: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 34

Example Cloud Connectors for ISR G2 and beyond

Cloud Connectors Provide

bull Network-Awareness to Cloud Services

bull Cloud Service-Awareness to Network

bull Improved Quality and Experience

bull Simplified Deployment and Operations

Cloud Connector Anatomy

bull Deployed into Branch on ASRISR

bull Native (in Network OS) or Hosted (on SRE UCS-E Blade)

bull Abstractions on top of Network OS

ASRISR with

Cloud Connectors

Branch Remote Site Edge

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 35: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 35

Delivering Optimal Experience Pervasive Security and Simplified Operations

Branch PrivatePublicHybrid

Management and Policy

3rd Party

Web Security

Cloud

Storage

Collaboration

Survivability

Cloud Connectors

Network Services for Cloud

Visibility Optimization Collaboratio

n App Hosting Security

Cloud Intelligent Platforms

OS

Campus Data Center Cloud

ISR G2 ASR 1K CSR 1KV

Branch Office

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 36: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 36

Cloud Connector ndash a network service that improves the performance security or availability of cloud applications Cisco Cloud Connectors

provide Optimal Experience Pervasive Security and Simplified Operations when utilizing Private Public or Hybrid Clouds over the

WAN or Internet

Cloud Intelligent Platforms

ISR ASR CSR

Visibility Optimization Collaboratio

n App Hosting Security

Cloud

Connector

Branch

Bringing Network Intelligence to the Cloud

PrivatePublicHybrid

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 37: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 37

bull Native Connectors

Hosted Collaboration Solution (ESRST)

WebEx Cloud Connected Audio (CUBE)

ScanSafe Connector

bull Hosted Connectors

Run on UCS-E and use OnePK UC Services or No API

May not always run everything on UCS-E

bull Scripted Connectors

Uses OnePK API Python scripting environment

Rapid Development and Deployment

Takes advantage of Cisco infrastructure (hosting environment to run)

Available Now OnePK and UC

Services (Pi20 July 2012)

Available Now

Development environment by Pi22 (H2 CY13)

See httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 38: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Example Fleet Management and Telemetry Problem Fleet Management and public transport telemetry information

Solution Use an ISR 819 to aggregate and communicate relevant onboard data

2 Aggregate relevant data on 819

using custom Fleet Management

Connector

GPS

Telemetry

Processor

819

1 Provide onboard network via 819

Point of Sales

IP CCTV

Sensors

Passenger

Counters

3 FleetBus state defines use of uplinks

to Fleet Management Center

3G WiFi

Real-World Example

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 39: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 39

Cisco Open Network Environment ndash ONE

Preserve What is Working

bull Resilience Scale Security

bull Functionality and Rich Features

bull Instrumentation

Evolve for New Requirements

bull Operational Simplicity and Automations

bull Programmability and Network-Awareness

bull Upcoming Innovations

Open and Integrated Framework

bull Software Defined Network concepts are a component of the Open Network Environment

bull Existing APIs Agents Controllers and Infrastructure contribute

Open Network Environment

Open Network Environment

Network

Programming

onePK

developerciscocom

CDN Training

Certification

Partners EEM EASy

(Software)

Architectures and

Patterns

Controllers

(ONEOpenflow PoC)

(SBC WLC +++)

CIN CloudConnect

Sentinels Agents

Deployment and

Virtualization

Nexus 1000v

CSR 1000v

VSG and vFWASA

vWAAS vNAM hellip

Cisco Openstack Ed

Blade Hosting

(UCS-E hellip) Virtual

Containers (AirVision

Cat ISR ASR hellip)

Scenarios and Motivations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 40: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 40

Flexible NetFlow

Auto IP SLAmdashdelay jitter packet loss

IP OAMmdashPing Trace Config CLI IP OAMmdashPing Trace BFD ISG per session

8023ahmdashLink monitoring and remote fault indication

8021 agmdashContinuity check L2 ping trace AIS

MPLS OAMmdashLSP ping LSP trace VCCV

EEMmdashEmbedded Event Manager

EVENT-MIBmdashOID-based triggers events or SNMP Set IETF DISMON

EXPRESSION-MIBmdashOID expression-based triggers IETF DISMON

hellip

Config CLImdashdiff logging lock replace rollback

E-LMImdashparameter and status signaling

E-DImdashEnhanced Device Interface CLI Perl IETF Netconf

EMM mdash Embedded Menu Manager

NETCONFmdashIETF NETCONF XML PI

CNS and WSMA TR-069 KRONmdashcommand

scheduler AutoInstallmdashbootstrapping IOSsh mdashIOS Shell SmartInstall Auto SmartPorts hellip

Flexible NetFlowmdash IETF IPFIX

BGP policy accounting ndash includes AS information

Periodic MIB bulk data collection and transfer

hellip

Auto IP SLAmdashdelay jitter loss probability

CBQoS MIBmdashclass-based QoS

NBAR RMON EPC ndash Embedded Packet

Capture ERMmdashEmbedded

Resource Manager GOLDmdashGeneric Online

Diagnosis Smart Call Homemdash

preventive maintenance VidMonmdashVideo Monitoring hellip

Fault Configuration Accounting Performance

Auto Securemdashone-touch device hardening LDP Authmdashmessage authentication Routing AuthmdashMD5 authentication BGP OSPF hellip

Security

Cisco IOSreg Device Manageability Instrumentation (DMI)

Fault Configuration Accounting Performance

Security

Headquarters DC

Device Manageability Instrumentation Has Evolved Significantly

Network Automation and Manageability

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 41: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 41

Embedded Event

Manager

Syslog email

notification

SNMP set

Counter

CLI

Applets

SNMP

get

SNMP

notification

Application

specific

TCL

Policies

Reload or

switch-over

EEM Applets

multi-event-correlation

IOSsh

Policies

Actions

Event Detectors

Syslog

Event

Process

Scheduler

Database

Interface

Descriptor

Blocks

Syslog

ED

Watchdog

ED

Interface

Counter

ED

CLI

ED

OIR

ED

ERM

ED

EOT

ED

RF

ED

none

ED

GOLD

ED

XML

RPC

ED

SNMP

EDs

Remote

bull Notification

Local

bull Notification

bull GetSet

NetFlow

ED

IPSLA

ED

Route

ED

Timer

EDs

bull Cron

bull Count

down

HW

EDs

bull Fan

bull Temp

bull Env

bull

CDP

LLDP

ED

8021x

ED

MAC

ED

Embedded Event Manager (EEM)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 42: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Network Automation Life-Cycle Span

Network Automation spans across full Life Cycle

Operational Era Pre-Operational Era

Does it meet Requirements

Is it built to Specification

Post-Operational Era

How to take out of service

hellip

hellip

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 43: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Example EEM Applets ndash Loops Variables

Problem None in Particular Solution Have fun exploring EEM Applet capabilities

See also httpwww99-bottles-of-beernetlanguage-cisco-ios-embedded-event-manager-applet-2909html

event manager applet 99-bob

description written by bklauser inspired by httpwww99-bottles-of-beernet

event none

action 100 set b 99

action 110 while $b gt 1

action 120 puts $b bottles of beer on the wall $b bottles of beer

action 130 decrement b

action 140 puts Take one down pass it around

action 150 puts $b bottles of beer on the walln

action 160 end

action 170 puts $b bottle of beer on the wall $b bottle of beer

action 180 puts Take one down pass it around

action 190 puts no more bottles of beer on the walln

action 200 puts No more bottles of beer on the wall

action 210 puts no more bottles of beer

action 220 puts Go to the store and buy some more

action 230 puts 99 bottles of beer on the walln

alias exec sing event manager run 99-bob

Setting a Variable

Decrementing a Variable

Referencing a Variable

While Loop ndash

While Loop ndash

Using an Alias to run our Applet

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 44: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Packaging Network Automations Problem Cisco IOS Embedded Automation Systems often include multiple configuration items files checks and procedures ndash how to ensure they are deployed consistently

Solution Cisco EASy provides a simple packaging mechanism and open-source EASy Installer A developer guide is available online to assist with the creation of EASy packages

MyPackagetar

Package Description

Pre-Requisite Verification

Pre-Installation Config

Pre-Installation Exec

Environment Variables

Configuration

Files

Post-Requisite Verification

Post-Installation Config

Post-Installation Exec

Uninstall

+

EASy Installer = Menu Guided Installation

Router easy-installer tftp10111mypackagetar flasheasy

-----------------------------------------------------------------

Configure and Install EASy Package lsquomypackage-103

-----------------------------------------------------------------

1 Display Package Description

2 Configure Package Parameters

3 Deploy Package Policies

4 Exit

Enter option 2

See httpwwwciscocomgoeasy EASy Package guide httptoolsciscocomsquishcEAe3

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 45: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 45

Cisco ONE Platform Kit (onePK)

Any Cisco

Router or

Switch

YOUR

Applications

onePK

C JAVA Program

API Presentation

API Infrastructure

Catalyst Nexus ASR

ISR

onePK IPC Channel

Network Programming

Environment to

bull Innovate

bull Extend

bull Automate

bull Customize

bull Enhance

bull Modify

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 46: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 46

Cisco ONE Platform Kit (onePK)

onePK Provides

bull Abstractions (Service Sets)

bull Programmatic Interfaces (C Java (REST) hellip)

bull Software Development Kit (SDK)

Anatomy of a onePK Application

bull Software Application (currently C and Java)

bull Interfaces and Abstractions (Service Sets)

bull Communication Bus (Thrift IDL)

bull Connected-Apps Agent in Network OS

bull Network OS Features and Embedded Automations Write once run anywhere

Service Set Description Version v605 EFT 20122013

Data Path Provides packet delivery service to application Copy Punt Inject

Policy Provides filtering (NBAR ACL) classification (Class-maps Policy-

maps) actions (Marking Policing Queuing Copy Punt) and applying

policies to interfaces on network elements

Routing Read RIB routes addremove routes receive RIB notifications

Element Get element properties CPUmemory statistics network interfaces

element and interface events

Discovery L3 topology and local service discovery

Utility Syslog events notification Path tracing capabilities (ingressegress

and interface stats next-hop info etc)

Developer Debug capability CLI extension which allows application to

extendintegrate applicationrsquos CLIs with network element

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 47: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 47

Portfolio of API Languages and Abstractions Network Programming with onePK and Embedded Network Automation

Native Network OS Embedded Automation

Event-Expression- MIB

PfR IPSLA Thresholds

Embedded Event

Manager Applets hellip

Advanced Network OS Embedded Scripting

Tcl Python Embedded

Event Manager EASy

hellip

Structured API

onePK C

Object Oriented API

onePK Java

Higher-Level Abstractions

Interfaces

onePK Libraries

REST XMPP Design

Patterns OMNI

Controllers hellip

Choice and Flexibility of Implementation

Network Automation ndash Embedded Automations

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 48: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 48

ICT

Opera

tions

Cisco ONE ndash Current Key Components hellip

Network Survivability Manageability Automation Autonomy

Domain Controllers Domain Controllers

Virtual Overlay Networks

Business Operations

APIs and Agents

APIs and Agents

APIs and Agents

1 4 5

6 7

c

a

b

2 3

onePK

onePK

CloudConnectors

Nexus 1000v CSR 1000v ASA 1000v VSG vWAAS ++

UCS-E Virtual Containers

Cis

co

Op

en

sta

ck

Ed

ition

Openflow

onePK

For Your Reference

Open Daylight Controller

ONE Controller

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 49: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Cisco Public 49 copy 2011 Cisco andor its affiliates All rights reserved

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 50: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 50

References ndash Programmable and Cloud-Intelligent

bull Cisco ONE ndash Open Network Environment httpwwwciscocomgoone

bull Cisco onePK ndash ONE Platform Kit httpwwwciscocomgoonepk

bull Cisco Developer Network httpdeveloperciscocomwebonepk

bull Cisco EASy ndash Embedded Automation Solutions httpwwwciscocomgoeasy

bull Cisco Scripting Community wwwciscocomgociscobeyond

bull Cisco Cloud Connectors ndash Blog httpblogsciscocomborderlessthe-network-is-the-path-to-accelerate-adoption-of-cloud-services

bull Cisco Cloud Connectors ndash Marketplace httpsmarketplaceciscocomcatalogsearchsearch[technology_category_ids]=938

For Your Reference

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 51: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Network Programming Hands-On Lab At CiscoLive Join us for TECNMS-3601 Advanced Network Automation or

1 Walk up to the WISP Labs

2 Book a seat for - Network Automation ndash The Basics - Network Automation ndash Intermediate - Network Automation ndash Advanced - Network Automation ndash Smart Call Home - Network Programming ndash The Basics - Network Programming ndash Intermediate - Network Programming ndash Advanced

Partners via PEC (currently being updated)

1 Navigate to httpwwwciscocomgopec

2 Click on gtLaunch

3 Search for sbquoNetwork Programminglsquo

4 Enjoy

Network Automation

For Your Reference

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 52: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Illustration in the bigger SDN and Automation Context Practical Examples and Hands-on Lab

Master Class Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

Join us for the Network Programming Master Class Series

Where do I start ndash can I do this What are Cisco ONE and onePK anyhow

Step-by-step introduction and adoption strategies Real-Life Examples and Case Studies

How can I successfully use Network Programming What have other Customers and Partners done

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 53: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 53

Device Manageability Instrumentation (DMI) wwwciscocomgoinstrumentation

Embedded Event Manager (EEM) wwwciscocomgoeem

Cisco Beyond ndash EEM Community wwwciscocomgociscobeyond

Embedded Menu Manager (EMM) httptinyurlcomemm-in-124t

Embedded Packet Capture (EPC) wwwciscocomgoepc

Flexible NetFlow wwwciscocomgonetflow and wwwciscocomgofnf

GOLD httpwwwciscocomenUSproductsps7081products_ios_protocol_group_homehtml

IPSLA (formerly SAA formerly RTR) wwwciscocomgoipsla

Network Analysis Module httpwwwciscocomgonam

Network Based Application Recognition (NBAR) wwwciscocomgonbar

Security Device Manager (SDM) httpwwwciscocomgosdm

Smart Call Home wwwciscocomgosmartcall

Web Services Management Agents (WSMA) httptinyurlcomwsma-in-150M

Cisco Configuration Engine (CCE) wwwciscocomgociscoce

Feature Navigator wwwciscocomgofn

MIB Locator wwwciscocomgomibs

References ndash Instrumentation and Automation For Your

Reference

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 54: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2012 Cisco andor its affiliates All rights reserved Cisco Connect 54

Embedded Automation Systems (EASy)

1 Browse and Download EASy Packages wwwciscocomgoeasy

2 Make Sure to also download EASy Installer

3 Browse Other Embedded Automations wwwciscocomgociscobeyond

4 Learn About The Technology Under The Hood wwwciscocomgoinstrumentation wwwciscocomgoeem wwwciscocomgopec

5 Discuss Ask Questions Suggest Answers supportforumsciscocom supportforumsciscomobi

6 Upload your own Examples to CiscoBeyond wwwciscocomgociscobeyond

7 Engage via ask-easyciscocom

For Your Reference

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 55: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

Network Programming and Automation Sustainable Innovation and Differentiation with Cisco Embedded Automation and onePK

What will YOU Program

Network Programming in a Cisco Open Networking Environment hellip

hellip provides Choice and Flexibility of

- APIs and Abstractions

- Architectures

- Deployment Models

hellip closes the gap between Business Applications and Networks

hellip enables Operational Savings and New Opportunities

hellip puts YOU in control

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 56: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2011 Cisco andor its affiliates All rights reserved 56 Cisco Connect 56 copy 2013 Cisco andor its affiliates All rights reserved

Prosiacuteme ohodnoťte tuto přednaacutešku

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost

Page 57: Praha, Hotel Clarion 10. Network Programming...OpenFlow 1.x ProtocolonePK API Flow Management Forwarding Logic Device Management Network Slicing Applications (Cisco) Applications (Customer)

copy 2013 Cisco andor its affiliates All rights reserved Cisco Connect 57

Děkujeme za pozornost