Troubleshooting for Intent-based Networking Joon-Myung Kang and - - PowerPoint PPT Presentation

troubleshooting for intent based networking
SMART_READER_LITE
LIVE PREVIEW

Troubleshooting for Intent-based Networking Joon-Myung Kang and - - PowerPoint PPT Presentation

Open Networking Summit 2017 Troubleshooting for Intent-based Networking Joon-Myung Kang and Mario A. Snchez Hewlett Packard Labs Intent-based Networking Policy Graph Abstraction and Demo Troubleshooting and Demo QnA 2 Software-Defined


slide-1
SLIDE 1

Troubleshooting for Intent-based Networking

Joon-Myung Kang and Mario A. Sánchez Hewlett Packard Labs

Open Networking Summit 2017

slide-2
SLIDE 2

Intent-based Networking Policy Graph Abstraction and Demo Troubleshooting and Demo QnA

2

slide-3
SLIDE 3

Software-Defined Networking

Application Plane (SDN Apps) Control Plane

(OpenDaylight, ONOS, etc.)

Infrastructure (Data) Plane

(Cloud/IT/SDN/NFV)

Open APIs Program Languages Abstraction

SDN Northbound Interfaces Infrastructure Control Interfaces

Vendor specific Low-level specifics Manual operations …

3

slide-4
SLIDE 4

Software-Defined Networking

Application Plane (SDN Apps) Control Plane

(OpenDaylight, ONOS, etc.)

Infrastructure (Data) Plane

(Cloud/IT/SDN/NFV)

Open APIs Program Languages Abstraction

SDN Northbound Interfaces Infrastructure Control Interfaces

Vendor specific Low-level specifics Manual operations …

4

slide-5
SLIDE 5

Intent-based Networking

Application Plane (SDN Apps) Control Plane

(OpenDaylight, ONOS, etc.)

Infrastructure (Data) Plane

(Cloud/IT/SDN/NFV)

INTENT North Bound Interface

Infrastructure Control Interfaces

− Application Plane says “What” (doesn’t care how) − Control Plane reasons “How” (doesn’t care why)

Intent

− “what”, not “how” (non-prescriptive) − Is portable − Is universal − Is compose-able − Is invariant − Is scale-able

Source: Dave Lenrow, “Intent As The Common Interface to Network Resources,” Intent Based Network Summit 2015 ONF Boulder: Intent NBI

Intent

“I want my headache to stop”

Prescription

“Give me two aspirins”

5

slide-6
SLIDE 6

Intent-based Networking

Examples

WEB/Gold/Working Hour No connect/Wireless Configure new guest WiFi

6

slide-7
SLIDE 7

Intent-based Networking

Examples

WEB/Gold/Working Hour No connect/Wireless

INVISIBLE

Configure new guest WiFi

7

slide-8
SLIDE 8

Intent-based Networking

Open Source Efforts

– ONF Open Source SDN Boulder

– Define Intent North Bound Interface (NBI) – http://opensourcesdn.org/projects/project-boulder-intent-northbound-interface-nbi/ – https://community.opensourcesdn.org/wg/IntentNBI/dashboard

– OpenDaylight NIC

– Network Intent Composition – Manage and direct network services and network resources based on the given “Intent” – https://wiki.opendaylight.org/view/Network_Intent_Composition:Main

– ONOS Intent Framework

– Allows applications to specify their network control desires in form

  • f policy rather than mechanism (Intent)

– https://wiki.onosproject.org/display/ONOS/Intent+Framework

ONF Intent NBI – Definition and Principles, Draft Version 6, Sep. 2016 https://wiki.opendaylight.org/view/Network_Intent_Composition:Graph

8

slide-9
SLIDE 9

Policy Graph Abstraction (PGA)

PGA overview Troubleshooting for Intent-based Networking

9

slide-10
SLIDE 10

PGA is Real

Public resources

ACM SIGCOMM 2015 London, UK

Research Paper and Demo Running System and Open Source Contributions

OpenStack Summit 2015, 2016 OpenDaylight Summit 2015, 2016

10

slide-11
SLIDE 11

Policy Management in Practice

11

slide-12
SLIDE 12

Policy Graph Abstraction (PGA)

Mktg&Cmp-B &Normal Engg&Cmp-A &Normal HTTP Web& Cloud DNS DB& Cloud Remedy Service Engg&Cmp-A &Qn Mktg&Cam-B &Qn Ping,SSH HTTP monitor SQL, monitor sync, monitor monitor DNS DNS

* *

BC BC BC LB FW BC LB FW DPI DPI BC BC

graph composition

Quarantined

Remedy Service

Policy sources Graph abstraction Unified, conflict-free policy graph Deploy

12

slide-13
SLIDE 13

PGA Example

− Label namespace across cloud services and network, capturing overlap vs. disjoint relations between labels 13

CPU Utilization > 90% <= 90%

slide-14
SLIDE 14

PGA Example

− Label namespace across cloud services and network, capturing overlap vs. disjoint relations between labels

− 4 individual input policies

(a) Departments admin

Engg. Mktg Ping,SSH Cloud

monitor

Quarantined Remedy Service *

(b) Application admin (d) Cloud operator (c) SDN app: HPE Net Protector

Campus Cloud *

*

HTTP

Empl Web

SQL

sync DB LB Normal DNS

DNS

(a) Enterprise IT admin

DPI FW BC BC

Cmp-A

Mktg

Empl App Web Campus DB Net Protector Status Normal Qn Tenant Location

Engg: Campus-A Mktg: Campus-B Application: Cloud Empl: Net protector

Engg

Label Namespace

Label Mappings

disjoint

Cloud

Cmp-B

14

slide-15
SLIDE 15

PGA Example

− 4 individual input policies − Label namespace across cloud services and network, capturing overlap vs. disjoint relations between labels

− Proactive, automatic composition − Scalable algorithm: 13 mins to compose 20K ACL + service chain policies

(a) Departments admin

Engg. Mktg Ping,SSH Cloud

monitor

Quarantined Remedy Service *

(b) Application admin (d) Cloud operator (c) SDN app: HPE Net Protector

Campus Cloud *

*

HTTP

Empl Web

SQL

sync DB LB Normal DNS

DNS

(a) Enterprise IT admin

DPI FW BC BC

Mktg&Cmp-B &Normal Engg&Cmp-A &Normal HTTP Web& Cloud DNS DB& Cloud Remedy Service Engg&Cmp-A &Qn Mktg&Cam-B &Qn Ping,SSH HTTP monitor SQL, monitor sync, monitor monitor DNS DNS

* *

BC BC BC LB FW BC LB FW DPI DPI BC BC

compose

Cmp-A

Mktg

Empl App Web Campus DB Net Protector Status Normal Qn Tenant Location

Engg: Campus-A Mktg: Campus-B Application: Cloud Empl: Net protector

Engg

Label Namespace

Label Mappings

disjoint

Cloud

Cmp-B

15

slide-16
SLIDE 16

PGA

Current status

PGA implementation and impact

− PGA model, composition, deployment, and tool to convert ACL policy configuration to PGA intent specification − PGA prototype for OpenStack (Juno ~ Newton) − PGA Intent APIs and graph compiler contributed to ODL/NIC Beryllium release − Troubleshooting for intent based policy management − Conflict detection − Composition correctness verification − Intent addition/modification/deletion

16

slide-17
SLIDE 17

Live Demo

PGA Basic Operations

17

slide-18
SLIDE 18

PGA Demo

18

slide-19
SLIDE 19

Troubleshooting

With Intent-based Networking

slide-20
SLIDE 20

Network debugging/troubleshooting a difficult task

Picture sources: http://simplearchitectures.blogspot.com/2013/08/addressing-data-center-complexity.html http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Data_Center/ServerFarmSec_2- 1/ServSecDC/8_NIDS.html

WEB

NO CONNECT

Picture source: http://www.ntstn.com/category/troubleshooting/network- troubleshooting

Policy Network ping traceroute tcpdump SNMP sflow

slide-21
SLIDE 21

Systematic troubleshooting

–Know intent of the operator –Check network behavior against operator intent

Intent-based networking

–Policy is a first-class citizen –Intent explicitly expressed at policy layer –Forwarding semantics explicitly defined –Code compiles policy description into lower-level configuration

Difficult to achieve in legacy networks Opportunity to rethink network debugging

slide-22
SLIDE 22

Intent-based Networking

Application Plane (SDN Apps) Controller Plane

(OpenDaylight, ONOS, etc.)

Infrastructure (Data) Plane

(Cloud/IT/SDN/NFV)

INTENT North Bound Interface Infrastructure Control Interfaces

– Control Apps

– Specify routing/access control policies

– Logical view

– Simplified/abstract representation of network

– Physical view

– One-to-one correspondence with the physical network

– Controller’s job to configure the network devices (OpenFlow)

slide-23
SLIDE 23

Intent-based Networking

Application Plane (SDN Apps) Controller Plane

(OpenDaylight, ONOS, etc.)

Infrastructure (Data) Plane

(Cloud/IT/SDN/NFV)

INTENT North Bound Interface Infrastructure Control Interfaces

– Control Apps

– Specify routing/access control policies

– Logical view

– Simplified/abstract representation of network

– Physical view

– One-to-one correspondence with the physical network

– Controller’s job to configure the network devices (OpenFlow)

  • Each layer performs one piece of translation process
  • Every layer should correctly map to every other layer
  • Most errors in SDN are mistranslations between layers
slide-24
SLIDE 24

Checking network behavior against intent

–Early debugging tools for OpenFlow-enabled networks –Ndb, OFRewind, NetSight, netwatch, netshark, nprof… –Easier to discover the source of network problems

[Faulty device firmware, inconsistent flow rules, faulty routing…]

–Testing and verification complement network troubleshooting and debugging [Loop freedom, black holes, performance of OpenFlow switches…]

Too low level!

slide-25
SLIDE 25

Knowing the operator’s intent

Does the Actual Network Behavior Match the Policy? –If NO… Match the symptoms to responsible system component –If YES… The policy itself is the problem, a human must resolve the discrepancy –If unwanted behavior persists & all state layers are equivalent:

–The configured policy must not match the operator’s intent

slide-26
SLIDE 26

Troubleshooting System

Composed graph

User/App1 User/App2 User/Appn

User Intents Input graphs

Infrastructure Controllers

PGA Results

Metadata

GUI

Query

Query Examples – Reachability/Connectivity checking

– Can A talk to B?

– Security vulnerability or Risk assessment – Addition/removal/edition correctness

Troubleshooting System

slide-27
SLIDE 27

Troubleshooting Examples

Reachability –Can A talk to B?

–What EPG do nodes belong to? –Is there an edge connecting both EPGs? –What security groups should be checked? –What middleboxes should be checked?

slide-28
SLIDE 28

Troubleshooting example

Troubleshooting network connectivity (reachability)

(a) Departments admin

Engg. Mktg Ping,SSH Cloud

monitor

Quarantined Remedy Service *

(b) Application admin (d) Cloud operator (c) SDN app: HP Net Protector

Campus Cloud *

*

HTTP

Empl Web

SQL

sync DB

LB

Normal DNS

DNS

(a) Enterprise IT admin

DPI FW BC BC

Mktg&Cmp-B &Normal Engg&Cmp-A &Normal HTTP Web& Cloud DNS DB& Cloud Remedy Service Engg&Cmp-A &Qn Mktg&Cam-B &Qn Ping,SSH HTTP monitor SQL, monitor sync, monitor monitor DNS DNS

* *

BC BC BC LB FW BC LB FW DPI DPI BC BC

compose

Cmp- A

Status Tenant Empl App

Mktg

Web DB Campus Cloud Net Protector Normal Qn Location

Engg: Campus-A Mktg: Campus-B Application: Cloud Empl: Net protector

Cmp- B Eng g

Label Namespace

Label Mappings

disjoint

web Engg client HR site

slide-29
SLIDE 29

Troubleshooting example

Intent addition/modification/removal

(a) Departments admin

Engg. Mktg Ping,SSH Cloud

monitor

Quarantined Remedy Service *

(b) Application admin (d) Cloud operator (c) SDN app: HP Net Protector

Campus Cloud *

*

HTTP

Empl Web

SQL

sync DB

LB

Normal DNS

DNS

(a) Enterprise IT admin

DPI FW BC BC

Mktg&Cmp-B &Normal Engg&Cmp-A &Normal HTTP Web& Cloud DNS DB& Cloud Remedy Service Engg&Cmp-A &Qn Mktg&Cam-B &Qn Ping,SSH HTTP monitor SQL, monitor sync, monitor monitor DNS DNS

* *

BC BC BC LB FW BC LB FW DPI DPI BC BC

Cmp- A

Status Tenant Empl App

Mktg

Web DB Campus Cloud Net Protector Normal Qn Location

Engg: Campus-A Mktg: Campus-B Application: Cloud Empl: Net protector

Cmp- B Eng g

Label Namespace

Label Mappings

disjoint

compare

29

slide-30
SLIDE 30

Troubleshooting example

Risk Assessment

Indicator may be composed using different data points: e.g. # of compromised hops; # of network functions traversed, etc. What if a host from “Web&Cloud” is compromised? What EPGs might be able to reach host ‘x’ (through intermediate host compromise)?

slide-31
SLIDE 31

Troubleshooting Demo

Marketing Employee Campus Admin 10.10.20.1

Connectivity Problem Intent edition

Remote desktop connection

slide-32
SLIDE 32

PGA and Troubleshooting Demo

32

slide-33
SLIDE 33

Summary

–Intent-based Networking is beneficial to simplify network control & management

33

slide-34
SLIDE 34

Summary

–Intent-based Networking is beneficial to simplify network control & management –Policy Graph Abstraction (PGA) is one of the well-defined intent-based management framework and we presented possible troubleshooting examples

34

slide-35
SLIDE 35

Summary

–Intent-based Networking is beneficial to simplify network control & management –Policy Graph Abstraction (PGA) is one of the well-defined intent-based management framework and we presented possible troubleshooting examples –Intent-level troubleshooting can help to easily do troubleshooting network problems

35

slide-36
SLIDE 36

Summary

–Intent-based Networking is beneficial to simplify network control & management –Policy Graph Abstraction (PGA) is one of the well-defined intent-based management framework and we presented possible troubleshooting examples –Intent-level troubleshooting can help to easily identify network problems –What’s next

– More More More practical experiences from network operators/administrators/developers…

36

slide-37
SLIDE 37

Thank you

joon-myung.kang@hpe.com mario.ant.sanchez@hpe.com

37