sdn-enhanced services in enterprises and data...

19
© 2012 IBM Corporation RESEARCH SDN-enhanced Services in Enterprises and Data Centers Anees Shaikh IBM TJ Watson Research Center Collaboration with Mohammad Banikazemi, Salman Baset, Jack Kouloheris, David Olshefski, John Tracey, Guohui Wang

Upload: nguyennguyet

Post on 12-Mar-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

SDN-enhanced Services in Enterprises and Data Centers

Anees Shaikh IBM TJ Watson Research Center

Collaboration with Mohammad Banikazemi, Salman Baset, Jack Kouloheris, David Olshefski, John Tracey, Guohui Wang

Page 2: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

What this talk is about

State of the API / network models in SDN controllers

– ultimately crucial to realize the full promise of SDN

Unexplored use cases for SDN in the data center

– is this considered “SDN Research” ? maybe not, but it should be …

2 DIMACS SDN | December 2012

Page 3: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Does anyone care about network APIs?

Network engineer view

“Vendors offering APIs to network engineers to help them solve their issues is akin to a an auto manufacturer handing a pile of metal and a welding torch to someone who needs a new car”

“Some vendors believe the best approach is to hand off APIs, under the assumption that the network engineers know what they need and (apparently) have time to learn a programming language. The reality is that network engineers don’t have that kind of time” -- “Why are network engineers sick of hearing about SDN?,” Nov 2012, packetpushers.net

Application developer view

Application developers are primarily just users of the network

Little interest or ability to understand details of network operation

– rely on the “network guys”

DevOps model requires more direct ability to influence the operational network

– need for network APIs and tools for developers

(no good blog quotes yet)

3 DIMACS SDN | December 2012

Page 4: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

A reference software-defined networking controller platform

4 DIMACS SDN | December 2012

NETWORK ABSTRACTIONS and APIs logical network models and application APIs

logical – physical translation , arbitration, network-wide services

“drivers” for controlling network devices and capabilities

NETWORK ORCHESTRATION

global network view network runtime state

network “system calls”

OpenFlow controller

virtual overlay

controller

legacy device configuration

middlebox / 3rd party

mgmnt interfaces

network control applications and integration points

multi-tenant virtualization

storage networking

QoS traffic control

network security

enforcement

network DR services

cloud network

provisioning

network control applications

IT service management

Cloud provisioning

Enterprise security

management

network integration services

Page 5: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Where we are

5 DIMACS SDN | December 2012

NETWORK REPRESENTATION

representation of the physical network

limited network state, limited orchestration

OpenFlow as the primary driver (fowarding plane)

NETWORK STATE

LLDP topology counters

OpenFlow controller

virtual overlay

controller

legacy device configuration

middlebox / 3rd party

mgmnt interfaces

network-level applications with legacy equivalents

multi-tenant virtualization

access control

traffic steering

network control applications

load balancing

Page 6: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Current SDN controller APIs

Floodlight – mostly OF protocol wrappers, with some abstractions

– query for switch properties, read per-switch and global flow counters

– insert / delete flow entries • {"switch": "00:00:00:00:00:00:00:01", "name":"flow-mod-1", "cookie":"0",

"priority":"32768", "ingress-port":"1","active":"true",

"actions":"output=2"}

– ACL rules • {"src-ip": "10.0.0.4/32", "nw-proto":"UDP", "tp-src":"5010",

"action":"DENY" }

– Attach to virtual Quantum network • {"attachment": {"id": "NetworkId1", "mac": "00:00:00:00:00:08"}}

– Trema, NOX/POX, Ryu … similar (or fewer) abstractions

Frenetic – programming simplification on top of a standard OF protocol driver

– SQL-like queries for collecting network data

– simplified composition and optimization of application rules

– abstracted topology views (!)

Need APIs that provide alternative models of the network for applications and services

6 DIMACS SDN | December 2012

Page 7: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Example abstract network models for SDN applications

Single virtual switch – policy-based connectivity between physical or virtual machines – use switch-level concepts to describe connectivity and

policies – ports, VLANs, profiles, etc. – switch per tenant view or single large switch for global

policies

– attach high-level rules or policies to logical “port profiles” (ACLs, in/out firewall, traffic marking/policing, etc.)

Annotated network graph – suitable for running variety of graph algorithms – example edge annotations: utilization / avail bw,

reserved bw, buffer occupancy stats, pkt drop stats

– represent full or subset of actual topology (e.g., rack-level topology)

– couple with management tooling to collect link or node metrics

7 DIMACS SDN | December 2012

attach rules to logical port profiles

VM

VM

𝒃𝒊

𝒅𝒊

𝒍𝒊

edge nodes (e.g., vNICs) internal

nodes

Page 8: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Example abstract network models for SDN applications

Tenant connectivity model – multi-tenant virtual network service – service model represents tenant VMs, virtual network

segments, middleboxes, connectivity policies – requires labeling VMs with tenant ids, access user-

defined policies, etc.

Security enforcement model – provides control points for enforcing security actions – model shows applications/OS, VMs, hosts, and control

points (not full topology) – integrates varying levels of application-level visibility

(e.g., from provisioning engine)

8 DIMACS SDN | December 2012

insert virt middlebox in path

VMs belonging to same tenant

host

related VMs / OS types … control points

Page 9: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

What this talk is about

State of the API / network models in SDN controllers

– ultimately crucial to realize the full promise of SDN

Services use cases for SDN in the enterprise data center

– IT service management processes

– application connectivity services

9 DIMACS SDN | December 2012

Page 10: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

SDN progression in the data center

10 DIMACS SDN | December 2012

SDN enablers SDN applications

• industry standard

protocol for SDN

• hardware and

software

enablement

• quickly becoming

a standard feature

on switches

• more OF controller

options

• first production use

case for SDN

• solutions with and

without OpenFlow

• ultimately, a

universal feature

• network-level

automation

• application-level

network services

• services on converged

networks

• integration with

security, provisioning,

disaster recovery, etc.

OpenFlow and

centralized control

multi-tenant

network

virtualization

network services

and network

integration

Page 11: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Migration and workload consolidation

11 DIMACS SDN | December 2012

network configuration

capture

deploy configuration

onto target

7.1.3.8

DB2

Web Server

Web Server

App Svr

App Svr

7.2.3.4 7.2.3.5

7.3.2.4 7.3.2.5

7.5.2.3

LDAP

7.8.3.4

DNS 7.9.3.4

7.3.3.4

7.3.5.4 Firewall rule: allow 7.3.2.4, 7.3.2.5

Firewall rule: allow 7.6.*.*

Firewall rule: allow 7.2.3.4, 7.2.3.5

Page 12: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

prepare / virtualize

application

application component discovery

standardize application for cloud

image remediation and fixups

register app components

in cloud

testing and cutover

Migration and consolidation – IT process view (service transition)

12 DIMACS SDN | December 2012

SDN-enhanced process

• network renumbering

• overlap checking

• VLAN recreation

• middlebox traversal

• firewall rules

• …

• sandbox creation

• traffic mirroring

• access control

• re-integration in prod

• network installation

• connectivity testing

• ext service reachability

Page 13: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

DIMACS SDN | December 2012 13

Security: Closed-loop network reconfiguration

Determine optimal security policies in response to anomalies detected or workload observed

abstract model shows applications/OS, VMs, hosts, and control points (not full topology)

collaboration with IBM CRL, Security Research Dept. at Watson

host

related VMs / app

control points

Network Security Manager

Security Analytics

• Events from VM / host

firewalls (iptables, ebtables)

• Events from VPN, IPS/IDS

appliances

• Integrity management

information from hosts and

guests

reconfiguration actions

event data from network devices

additional events, scan results, patch releases …

Page 14: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

event management

(qualify event)

monitor and detect security

violations

incident diagnosis / escalation

security event

detected

incident resolution (e.g.,

network support)

document security violation

Security management – IT process view (service operations)

14 DIMACS SDN | December 2012

SDN-enhanced process

• redirect flows for further analysis

• deploy additional analysis tools (e.g., honeypots)

• tighten access control

• quarantine to VLAN

• notify patch system

Page 15: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Application connectivity patterns

15 Princeton / CS | November 2012

IPS Web FW App FW DB

broadcast

cluster

storage array

disjoint

LB

Page 16: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Connectivity services for enterprises

Enterprises often have organizational silos between application and network teams – information / requirements exchanged through tickets, email, etc. – iterative process for complex applications

Traditional application teams have little understanding of connectivity, security, or network performance requirements for their applications

– SDN-based connectivity service should not place burden of specifying network details on application deployers

– contrast to self-service cloud model

SDN connectivity service interface should mimic the application network team information exchange – SDN controller and apps assist network team through automation and consistent operations

SDN connectivity application must be populated with semantics and policy information to perform correct configurations – Q: What is the interface for populating this knowledge? Who provides it?

16 DIMACS SDN | December 2012

Page 17: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Example: enterprise connectivity service abstractions

17 DIMACS SDN | December 2012

endpoint • MAC, IP, … • other props inherited from group

group • properties: inet-facing, load-balanced • org: cust service • tier: 1

app-layer connection

app pattern • type: 3-tier webapp

group • properties: load-balanced • org: cust service • tier: 2

group • properties: HADR • org: cust service • storevol: volumeid • tier: 3

Page 18: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Summary: SDN consumption models

SDN promises more seamless integration of the network with IT processes …

but, SDN APIs and abstractions are primarily geared for low-level network control

– more work needed to develop the application interface of the SDN stack

– discussed some examples in various states of experimentation

SDN use cases that matter to non-network experts

– maybe more important than solving problems of correctness, reliability, scalability in SDN protocols and devices

– needs research (this isn’t a marketing problem)

18 DIMACS SDN | December 2012

Page 19: SDN-enhanced Services in Enterprises and Data …dimacs.rutgers.edu/Workshops/SoftwareDefined/Slides/anees.pdfSDN-enhanced Services in Enterprises and Data Centers ... Unexplored use

© 2012 IBM Corporation

RESEARCH

Thank you

19 DIMACS SDN | December 2012