Troubleshooting for Intent-based Networking
Joon-Myung Kang and Mario A. Sánchez Hewlett Packard Labs
Open Networking Summit 2017
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
Open Networking Summit 2017
2
Application Plane (SDN Apps) Control Plane
(OpenDaylight, ONOS, etc.)
Infrastructure (Data) Plane
(Cloud/IT/SDN/NFV)
SDN Northbound Interfaces Infrastructure Control Interfaces
3
Application Plane (SDN Apps) Control Plane
(OpenDaylight, ONOS, etc.)
Infrastructure (Data) Plane
(Cloud/IT/SDN/NFV)
SDN Northbound Interfaces Infrastructure Control Interfaces
4
Application Plane (SDN Apps) Control Plane
(OpenDaylight, ONOS, etc.)
Infrastructure (Data) Plane
(Cloud/IT/SDN/NFV)
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
WEB/Gold/Working Hour No connect/Wireless Configure new guest WiFi
6
WEB/Gold/Working Hour No connect/Wireless
Configure new guest WiFi
7
– 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
– 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
9
ACM SIGCOMM 2015 London, UK
Research Paper and Demo Running System and Open Source Contributions
OpenStack Summit 2015, 2016 OpenDaylight Summit 2015, 2016
10
11
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
− Label namespace across cloud services and network, capturing overlap vs. disjoint relations between labels 13
CPU Utilization > 90% <= 90%
− 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
− 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
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
17
18
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
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)
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)
–The configured policy must not match the operator’s intent
Composed graph
User/App1 User/App2 User/Appn
User Intents Input graphs
PGA Results
Metadata
Query
Query Examples – Reachability/Connectivity checking
– Can A talk to B?
– Security vulnerability or Risk assessment – Addition/removal/edition correctness
–What EPG do nodes belong to? –Is there an edge connecting both EPGs? –What security groups should be checked? –What middleboxes should be checked?
(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
web Engg client HR site
(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
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)?
Marketing Employee Campus Admin 10.10.20.1
Connectivity Problem Intent edition
Remote desktop connection
32
33
34
35
– More More More practical experiences from network operators/administrators/developers…
36
37