experiences with sdn & opendaylight · pdf fileexperiences with sdn & opendaylight ......

30
OPENDAYLIGHT MINI-SUMMIT DÜSSELDORF, OCTOBER 2014 Experiences with SDN & OpenDaylight Ronald van der Pol <[email protected]>

Upload: lyngoc

Post on 16-Mar-2018

226 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

OPENDAYLIGHT MINI-SUMMIT DÜSSELDORF, OCTOBER 2014

Experiences with SDN & OpenDaylight

Ronald van der Pol <[email protected]>

Page 2: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Overview

•  SURFnet, academic and research networking and the changing environment

•  Building an SDN prototype application with OpenDaylight

•  What we learned

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 2/29

Page 3: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

SURF eScience Services for Research and Higher Education

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

Shared Professional and Educational Services

Scientific Computing & Storage

Commercial ICT Products & Services

National Research & Education Network

3/29

Page 4: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

SURFnet Dutch National Research Network

Nationwide dark fiber infrastructure DWDM & Carrier Ethernet Around 165 connected institutions (universities, university medical centres, research institutes) IPv4/IPv6 unicast/multicast + (dynamic) high speed P2P circuits Federated ID, collaboration, security, wireless services & innovation

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 4/29

Page 5: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

GLIF Worldwide Research Infrastructure

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 5/29

Page 6: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

GLIF European Part

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 6/29

Page 7: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

GLIF Exchange Point in the Netherlands

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 7/29

Page 8: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Changing Environment: SDN

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Network innovation slow because we are dependent on vendors and their roadmaps.

•  Vendors decide which features will be implemented and when.

•  They offer mainstream features that are most requested.

•  However, research networks must be leading in new technology.

•  SDN, open APIs and moving features from routers and switches to the control plane offers NRENs the opportunity to be in control of innovation (again).

8/29

Page 9: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Vertically integrated Closed, proprietary

Slow innovation Small industry

Specialized Operating System

Specialized Hardware

App App App App App App App App App App App

Specialized Applications

Horizontal Open interfaces Rapid innovation

Huge industry

Microprocessor

Open Interface

Linux Mac OS

Windows (OS) or or

Open Interface

(slide by Nick

(slide by Nick McKeown, Stanford University)

Page 10: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Vertically integrated Closed, proprietary

Slow innovation

App App App App App App App App App App App

Horizontal Open interfaces Rapid innovation

Control Plane

Control Plane

Control Plane or or

Open Interface

Specialized Control Plane

Specialized Hardware

Specialized Features

Merchant Switching Chips

Open Interface

(slide by Nick McKeown, Stanford University)

Page 11: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Computing vs Networking

Closed Systems

Closed hardware Workstations + UNIX UNIX System Call API Start of Open Source Software Portable applications

Open Hardware Hypervisor API Portable VMs

1970 1980 1990 2000 2010

Closed Systems

Closed hardware OpenFlow API Open Source Applications Portable applications

clos

ed

open

Source: Ronald van der Pol

Page 12: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Network Innovation at Research Networks

•  With SDN and Open APIs we can work on network innovation again by working on the control plane and networks applications.

•  Cooperate with other research networks and academia.

•  Join large communities in these areas, like OpenDaylight. Work with vendors and other users and service providers.

•  But culture change needed. •  Few or no software developers at NRENs. •  Most are CLI and protocol thinkers, not abstraction and API thinkers. •  Innovation projects usually big isolated projects.

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 12/29

Page 13: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Culture and Organisational Changes

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

innovation prototype production

innovation

operation

GAP

13/29

Page 14: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

SURFnet SDN Goals for 2014

•  Build nationwide SDN testbed with hardware OpenFlow switches and OpenStack mini clouds for NFV

•  Look at all operational aspects of such a network (OAM, monitoring, resilience, centralised versus distributed functions)

•  Write a “real” SDN application to get experience with network programming (what does it take?, which frameworks do exist?, which abstractions are useful? etc)

•  How mature is SDN?

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 14/29

Page 15: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

SURFnet Natiowide OpenFlow Testbed

•  6 Pica8 P5101 Trident II switches

•  Looped multi-stage topology

•  Mini OpenStack cloud at each site for NFV experiments

•  OpenDaylight controlled

•  Best way to slice to be investigated

Groningen

Enschede

Utrecht

Delft

Amsterdam

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 15/29

Page 16: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Write a “Real” Network Application

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  EU funded GN3plus Open Call Project (CoCo).

•  http://www.geant.net/opencall/SDN/Pages/CoCo.aspx

•  October 2013 – March 2015 (18 months).

•  Budget Eur 216K; 16.4 person months.

•  Partners: SURFnet (NL) & TNO (NL) – 50/50 split in effort.

•  Five work packages: •  WP1: use cases & market demand •  WP2: architecture, design & development •  WP3: experimental validation •  WP4: dissimination •  WP5: project management

16/29

Page 17: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Community Connection (CoCo) Prototype

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Goal of CoCo prototype:

•  On-demand multi-domain, multipoint private L2/L3 network prototype.

•  Intended users: closed (eScience) community groups.

•  CoCo instances interconnect users, compute, storage, instruments, etc.

•  Each closed eScience community group can easily setup their own private CoCo instance via web portal without the help of network engineers.

•  Based on OpenFlow & OpenDaylight.

17/29

Page 18: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

CoCo Instance

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 18/29

Page 19: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

CoCo Architecture Choices

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Use as much existing code, frameworks and protocols as possible.

•  Use MPLS labels for aggregation and forwarding in the core.

•  Centralised agent chooses label, no label swapping within domain, no label distribution protocol needed on the data plane.

•  Use BGP messages to exchange information between domains.

•  Use much on the BGP MPLS VPN (RFC 4364) architecture.

•  BGP only used in the control plane. BGP not used for RIB to FIB.

19/29

Page 20: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

CoCo Control, Data and Service Planes

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

customer c1 customer c2

customer c3

domain d4

domain d3domain d1

domain d2

data plane

control plane

CoCo agent a1

CoCo agent a2

CoCo agent a3CoCo agent a4

User/Group&

CoCo InstanceAdministration

Agent

Web Interface

service plane

MPLSMPLS

MPLS

MPLS

OpenFlow OpenFlow OpenFlow OpenFlow

BGPBGP

BGP

BGP

REST

REST REST REST

HTTPS

20/29

Page 21: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

MPLS Forwarding

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

CEPE P PE

PE P PE CE

VPN

customer c1

customer c2domain d1

domain d2

PE P PE

PEdomain d3

CE

customer c3

OF

OF

21/29

Page 22: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

CoCo Data Plane

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Data plane forwarding based on MPLS labels •  Outer MPLS label used to forward to destination PE switch. •  Inner MPLS label identifies CoCo instance.

•  MPLS encapsulation and decapsulation done at PE.

•  At PE the customer traffic is aggregated onto MPLS paths.

22/29

Page 23: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

CoCo Control Plane

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Control plane consists of federated CoCo agents.

•  Each domain runs its own CoCo agent.

•  Tasks CoCo agent: •  inserts MPLS forwarding rules in the core. •  Inserts MPLS encap/decap rules in the PE switches. •  Exchanges information with neighbours via BGP peering model

•  Information exchanged between CoCo agents: •  Customer IP prefixes. •  MPLS label used for CoCo instance. •  Information about end points participating in CoCo (for web portal).

23/29

Page 24: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Project Progress

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  January 2014: workshop with Dutch eScientists to define uses cases

•  June 2014: agreement on architecture

•  September 2014: picked use case (VPNs to interconnect genome sequencers, scientists, storage and compute)

•  October 2014: first single domain prototype based on OpenDaylight

24/29

Page 25: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

First prototype setup

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014 25/29

TopologyPath

Computing

OpenDaylight

CoCo Agent

OpenFlowPluginREST

BGP BGP

REST

REST ClientUse ODL Module? Use ODL Module?

Page 26: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

What have we learned?

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

1.  Limitations in the OpenFlow protocol.

•  We wanted to have a CE – PE service port with QinQ.

•  Campus/enterprise would use 1 dedicated VLAN for the CoCo service. The outer VLAN tag.

•  The inner VLAN tag would be used to map to a VPN instance.

•  But, OpenFlow does not have a feature to match on inner tags.

26/29

Page 27: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

What have we learned?

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

2.  Limitations in hardware.

•  Workaround for the previous problem is multiple tables and apply-action.

•  But the Trident II (probably) does not support this.

•  Some ASICs do not support MPLS (data centre vs transport ASICs).

27/29

Page 28: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

What have we learned?

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

3.  Bugs and unimplemented features.

•  Mininet does not have full MPLS support yet.

28/29

Page 29: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Experiences with OpenDaylight

SDN & OpenFlow World Congress, Düsseldorf, 14 October 2014

•  Lots of progress in one year!

•  We needed OF 1.3, and it took some time to setup an environment with mininet and Hydrogen that worked with OF 1.3.

•  “Old” and “new” OpenFlow plugins and finding the correct documentation.

•  Documentation (up to date!) was hard to find, improved with Helium.

•  But very good support on mailing lists and IRC!

•  Much has improved in Helium!

•  OpenDaylight has a very nice architecture, but also a large learning curve.

29/29

Page 30: Experiences with SDN & OpenDaylight · PDF fileExperiences with SDN & OpenDaylight ... and OpenStack mini clouds for NFV ... mininet and Hydrogen that worked with OF 1.3

Ronal van der Pol [email protected]