interactive programming for dynamic network probes · interactive programming for dynamic network...

14
Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies

Upload: others

Post on 16-Apr-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Interactive Programming for

Dynamic Network Probes ─ A Use Case for POF Data Plane

Haoyu Song, Huawei Technologies

Page 2: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Service Provider’s Pain Point

Lack of real

states, so the service provider’s capability of

effective and efficient network monitoring and

optimization is limited

Lack of real-time and full visibility of network

states, so the service provider’s capability of

effective and efficient network monitoring and

optimization is limited

Page 3: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Control Loop in SDN

Data Analytics Data Analytics

& Decision

Making

Controller

Network Data Plane

What data to collect ─ observability •For routing

•For traffic engineering

•For security

•For health monitoring, trouble shooting &

fault diagnosis

What changes to make ─ controllability •FIB

•ACL

•Other configurations, e.g., TM

•Refined ways to collect data

•New packet processing functions

Page 4: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Ideal & Reality

Ultimate Visibility:

Any time, any where

•Limited available mechanisms

•Limited data plane resource

•Unpredictable data needs

•Limited control-data bandwidth

Ultimate

Programmability:

Any time, any thing

•Only changes on flow entry and some

preset configurations are real time

•Behavior programming is either

impossible or incurs long latency

Page 5: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

How to close the gap

Cover every possible function at design time

Reprogram the data plane when change is needed

Support real time interactive data plane programming

Page 6: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Open Programmable Data Plane

NOS

function

Box w/ fixed

function ASIC

Gen 1

Decouple

•Hide heterogeneity

•Application reuse

•Hide heterogeneity

•Application reuse

APP

programmable

Box with

programmable

Chip

Gen 2

Config. time

Programming

•Custom application

•One size fits all

•Custom application

•One size fits all

APP

programmable

Box with

programmable

Chip

Gen 2+

Runtime Interactive

Programming

•Real time & on demand

•Interactive & stateful

•Real time & on demand

•Interactive & stateful

Page 7: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Protocol Oblivious Forwarding

Abstract IR

High Level High Level

Language

Compile

Standard OF-based

Configuration &

Runtime interface

Programmable

Chips/Devices

Runtime

Apps

static dynamic

2012 2013 2014 2015

OpenFlow 1.3 release

POF project

kickoff

POF debut

@ SDN Summit

P4 paper published

POF paper published

@ SIGCOMM

OF-PI whitepaper

published @ ONF

Join P4

consortium

POF PoC demo @ONS

POF Open

Source

ONF PIF WG founded P4 Consortium founded PIF presented

@ ONS

OCP Networking kickoff

2016

demo P4 on POF

@ P4 Workshop POF WAN field trial

POF App Demo

@ ONS

Custom

action

Custom

action match key

paramete

r pointer

dynamically loaded entry

dynamically loaded entry

match key paramete

r pointer

dynamically loaded entry

dynamically loaded entry Custom

action

Custom

action

dynamically

resource

dynamically

shared

resource

POF

FIS

Page 8: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Software-based

deployment

Runtime interactive

reprogramming

Agility

Match-action

pipeline

Match on anything

Customized

Function

Flexibility

Same device,

multiple purpose

Upgrade on

software only

Open ecosystem

Low Cost

What POF Promises

Page 9: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Dynamic Data Analytics on POF

Interactive Programmable

Device (POF-enabled)

Runtime (control &

reconfig.)

Config. (e.g. P4)

POF Interface

Data Analytics App

SDN

Controller

(e.g.,

ONOS,

ODL)

SDN

Controller

(e.g.,

ONOS,

ODL)

Interactive Programmable

Device (POF-enabled)

Runtime (control &

reconfig.)

Config. (e.g. P4)

POF Interface

Data Analytics App

SDN

Controller

(e.g.,

ONOS,

ODL)

compile compile

disseminate disseminate

configure configure collect collect

analyze analyze

present present

dynamic transactional query dynamic transactional query

big data analytics big data analytics

POF-based Networks

Page 10: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Dynamic Network Probes

• In-band stateful processing ─ control-data plane bandwidth efficiency

• Dynamic resource allocation ─ data plane resource efficiency

State

Transitio

n

IN IN OUT OUT

FEEDBACK FEEDBACK

State

Transitio

n

IN OUT

FEEDBACK • Prototyped on NP-based NE40E platform

• Live demo in Huawei’s ONS booth

Page 11: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Applications Using the Probes

QoEQoE •Flow jitter, latency

measurement

•Packet drop rate

•Application analysis

SecuritySecurity •DDoS detection

•Deep packet inspection

•Stateful flow monitor

Customer Customer

CareCare

•Customer statistics

•Flow tracing

•Root cause analysis

OptiOpti--

mizationmization

•Load estimation

•Traffic matrix calculation

•Elephant flow identification

Page 12: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Challenges

•Interactive Programming Language & Compiler •Deployment safety guarantee

•Parallel task orchestration

•High level data analytics primitives

•Chip Architecture •Flexible pipeline

•Hitless in-service update

Page 13: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Summary

Build on top of POF, dynamic probe provides unprecedented

• POF is the most advanced open programmable data plane

technology

• Support interactive programming – agile & flexible data plane

• Build on top of POF, dynamic probe provides unprecedented

network visibility • Mine value form network data in real time – killer application

addressing key customer pain point

Page 14: Interactive Programming for Dynamic Network Probes · Interactive Programming for Dynamic Network Probes ─ A Use Case for POF Data Plane Haoyu Song, Huawei Technologies . Service

Copyright©2015 Huawei Technologies Co., Ltd. All Rights Reserved.

The information in this document may contain predictive statements including, without limitation, statements regarding the future financial and

operating results, future product portfolio, new technology, etc. There are a number of factors that could cause actual results and developments to

differ materially from those expressed or implied in the predictive statements. Therefore, such information is provided for reference purpose only

and constitutes neither an offer nor an acceptance. Huawei may change the information at any time without notice.

Thank you