Top Banner
SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald van der Pol <[email protected]>
26

Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Aug 03, 2018

Download

Documents

dinhdien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016

Experiences with OpenDaylight Service Function Chaining (SFC)

Ronald van der Pol <[email protected]>

Page 2: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Overview

•  About SURFnet •  Service Function Chaining (SFC)

•  OpenDaylight SFC Proof of Concept

•  What we learned

FOSDEM, Brussels, 31 January 2016

Page 3: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

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

FOSDEM, Brussels, 31 January 2016

Page 4: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

GLIF Worldwide Research Infrastructure

FOSDEM, Brussels, 31 January 2016

Page 5: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

GLIF European Part

FOSDEM, Brussels, 31 January 2016

Page 6: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Service Function Chaining (SFC)

FOSDEM, Brussels, 31 January 2016

SFC is an architecture to steer network traffic through one or more virtual network functions. SFC components: •  The Service Function (SF) is the NFV software application.

•  The Service Function Chain (SFC) defines an ordered set of Service Function (SF) types. Defines what type of SF, not which specific instance of that SF.

•  The Service Function Forwarder (SFF) is responsible for forwarding network traffic to and from Service Functions.

•  The Service Function Path (SFP) is a level of indirection between SFC and RSP.

•  A Rendered Service Path (RSP) defines the specific SF and SFF instances defined in a SFC.

Page 7: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Example

FOSDEM, Brussels, 31 January 2016

Picture by NTT

Page 8: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

OpenDaylight SFC Proof of Concept

FOSDEM, Brussels, 31 January 2016

We wanted to learn more about NFV and SFC: •  How does it work? •  What can it do? •  What is the maturity of the Open Source implementations? •  Can it be useful in the SURFnet network? We decided to get hands-on experience with it and build a proof of concept to be shown at SuperComputing 2015 in Austin, TX, USA.

We chose the OpenDaylight SFC implementation as a base for our PoC. We chose to show 4K streaming video between the Netherlands and the USA because video is always a good way to show high performance networking.

Page 9: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

High Level Concept of the PoC

FOSDEM, Brussels, 31 January 2016

We decided to steer the 4K streaming video through Service Functions that did video transcoding. Our transcoding SFs were: •  Add logo in the top left corner •  Add text in the top right corner •  Mirror the image •  Put the image upside down •  Convert from colour to greyscale

All done live on a 3 Gbit/s uncompressed 4K video stream. SFFs were 40 Gbit/s hardware OpenFlow switches. High speed (we need to be ready for 40/100 Gbit/s in the academic/scientific envirionment) SFs were placed in clouds in Europe, so the 3 Gbit/s traffic was sent between the USA and Europe using the dedicated research network infrastructure.

Page 10: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

4K Sender & Receiver

FOSDEM, Brussels, 31 January 2016

Sender (SC15-master) 10GE NIC Design DeckLink 4K Extreme JVC GY-HMQ10 camera Ultragrid sender (UHD uncompressed) Receiver (SC15-slave) 10GE NIC GeForce GTX 970 Panasonic TX 55CX700E screen Ultragrid receiver

Page 11: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Pica8 P5101 40G OpenFlow Switches

FOSDEM, Brussels, 31 January 2016

Page 12: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Clouds Used

FOSDEM, Brussels, 31 January 2016

•  SURFnet OpenStack testbed @ Amsterdam •  SURFsara HPC cloud @ Amsterdam •  Okeanos @ Greece •  Cloud Sigma @ Switserland •  Microsoft Azure @ Amsterdam

Page 13: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

OpenFlownetwork

OpenFlowcontroller

GraphicalUserInterface

WorldwideNetworkFunctionVirtualization

UHDDisplayUHDCamera

GerbenvanMalenstein&MigieldeVos11-november2015

SFF

SF

SF

SF

SFF

SFF

FOSDEM, Brussels, 31 January 2016

Page 14: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

SC15 Live Traffic Monitoring

FOSDEM, Brussels, 31 January 2016

Page 15: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

SC15 Booth

FOSDEM, Brussels, 31 January 2016

Page 16: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

OpenDaylight SFC OpenFlow

FOSDEM, Brussels, 31 January 2016

Page 17: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Our Experiences

FOSDEM, Brussels, 31 January 2016

Each new Rendered Service Path uses a new VLAN ID. (latest VLAN ID + 100) Counts to infinity. Tuning needed to get 3 Gbit/s throughput. MTU 9000 on all interfaces, including all OpenStack internal bridges. Service Function IP and MAC addressing needed tweaking. Receiving application needs to think it is getting traffic from the sending application, not one of the virtual network functions. (next slides) OpenDaylight uses multiple tables. Nice, but did not work on our hardware OpenFlow switches. (next slides)

Page 18: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Address Tweaking

FOSDEM, Brussels, 31 January 2016

Ultragrid 4k streaming video application uses UDP, so no (TCP) sequence numbers. Good! Usually application cares about IP tuple (src/dst IP+port). SF must be transparent. Our application did not care. Good! But Service Function cares about destination MAC and IP. Packets have MAC and IP of final receiver. Tweaking needed.

Page 19: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

MAC Rewriting

© Ericsson

foreach service function

ServiceFunctionForwarder

ServiceFunction

Camera Display

Classifyanddeterminecurrenthop

SMAC=screenMACDMAC=SFMAC

SMAC=SFMACDMAC=screenMACSMAC=cameraMAC

DMAC=screenMACSMAC=cameraMACDMAC=screenMAC

SMAC=cameraMACDMAC=screenMAC

FOSDEM, Brussels, 31 January 2016

Page 20: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Service Function Addressing

DNAT Redirect specific traffic to localhost by rewriting destination IP address Outgoing traffic will not have the spoofed address Transparent proxy support Make non-local sockets work •  Redirect packets for destination address to a local socket •  Allow application to use non-local IP to transmit

FOSDEM, Brussels, 31 January 2016

Page 21: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

OpenFlow 1.3 Pipeline

FOSDEM, Brussels, 31 January 2016

table0

table1

tablen

ExecuteAction

Set

packet in packet outIngressPort

ActionSet = {}

ActionSet

Packet +IngressPort +

metadata Packet

ActionSet

Page 22: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

OpenDaylight SFC Table Use

FOSDEM, Brussels, 31 January 2016

Table 0, Transport Ingress Table 1, Path Mapper Table 2, Next Hop Table 10, Transport Egress

Page 23: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Broadcom ASIC Pipeline (simplified)

FOSDEM, Brussels, 31 January 2016

ingressport

ingressTCAM

egressport

packet in packet out

FIB

MACtable

executeaction

set

Page 24: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Possible Solutions

FOSDEM, Brussels, 31 January 2016

Table Type Patterns •  Switch tells controller about its pipeline capabilities •  Extra complexity in the controller

More suitable OpenFlow hardware •  Network Processors (NoviFlow) •  FPGAs (Corsa)

Protocol IndePendent Packet Processing (P4) •  Driven by Nick Feamster and Jennifer Rexford (Princeton) •  Define your pipeline and send it to the switch •  Currently mostly software switches, some work on hardware

Page 25: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Conclusions

FOSDEM, Brussels, 31 January 2016

Many Open Source projects working on NFV/SFC. Good! But takes a lot of time to keep up with all the new developments. OpenDaylight SFC was already quite usable (2H2015). Very helpful developer community. Focus seems on OVSDB, less on hardware OpenFlow switches. Interesting to see how we get the 40/100 Gbit/s performance we need to be prepared for. (we are also evaluating DPDK) We need a better understanding of how addressing of Service Functions is handled. OPNFV? Tacker?

Page 26: Experiences with OpenDaylight Service Function Chaining … · SDN AND NFV DEVROOM, FOSDEM, BRUSSELS, JANUARY 2016 Experiences with OpenDaylight Service Function Chaining (SFC) Ronald

Ronal van der Pol [email protected]