Top Banner
SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy
27

1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

Dec 16, 2015

Download

Documents

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: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

1confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

SDN For RealGiacomo Bernardi, CTONGI SpA, Italy

Page 2: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

2confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Who am I?

NGI is an Italian Fixed Wireless Access (FWA) carrier.

Dual-play services from 10Mbps

to 1Gbps, also as white-label

wholesale.

Currently 130,000 customers,

on 1,200 radio towers

in North and Central Italy.

Each month:

• 4,500 new customers

• ~100 new towers

Page 3: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

3confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

The shocking news

Our network is a single L2 domain!• …indeed, it is a single

broadcast and PVST+ domain.

If we don’t take action, we’d very soon hit a brick wall!

Page 4: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

4confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

A “particular” network

Virtually all of our backhaul is wireless (only ~60 DWDM links)

Thanks to volume discounts on hardware and frequency licensing, the incremental cost for new microwave PTP link is low:• As a consequence, we often link two towers just because they are

in line-of-sight.

We ended up with a link/POP ratio of 2.1, and a network diameter of 27 hops.

We are still very inefficiently exploiting our high mesh factor!

Page 5: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

5confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

What’s off the shelf?

We summoned “The Vendors”:

Their proposed network architectures were based on static pseudowires over IGP protocol, or with some sort of network automation to provide redundancy.

Suboptimal because:

1. They cannot exploit multipath-load balacing• and we have a lot of multi-path!

2. They don’t scale• a single OSPF Area 0 with 10,000 routers?

3. We would be forced to segment the network in regions that wouldn’t easily communicate

Page 6: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

6confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Is networking so special?

Page 7: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

7confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Yeah, let’s reinvent the wheel!

We agreed with an OEM to build our own “tower router” in a few thousand units.

Page 8: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

8confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Yeah, let’s reinvent the wheel!

16GB RAM4x DDR3 controllers

128GB SSD storage

Extensive hardwaremonitoring

Low-power: ~150W in the worst scenario we tested, typical ~90W

Page 9: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

9confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Yeah, let’s reinvent the wheel!

Dual DC or AC PSU USB/RS232

16x 10M/100M/1G RJ45

8x 100M/1G SFP

2x 1G/10G SFP/SFP+

Only 40cm deep. All cabling on the front side.

Page 10: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

10confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 11: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

11confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 12: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

12confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 13: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

13confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 14: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

14confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 15: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

15confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Testing the wheel

We brought the first prototypes to a lab for EMC, Safety, Environmental and IEEE-1613 testing.

Page 16: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

16confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Managed to ensure error-free operation in -15C/+75C environment, and in presence of EMI fields of up to 180V/m. Yeah!

Testing the wheel

Page 17: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

17confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Managed to ensure error-free operation in -15C/+75C environment, and in presence of EMI fields of up to 180V/m. Yeah!

Testing the wheel

Page 18: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

18confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Managed to ensure error-free operation in -15C/+75C environment, and in presence of EMI fields of up to 180V/m. Yeah!

Testing the wheel

Page 19: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

19confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

We even had the device and its packaging tested.

Testing the wheel

Page 20: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

20confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Software architecture

It currently runs Linux 3.10.55.

Main software stack components:• OpenVSwitch 2.10, which we tested with up to 1M flow rules• Quagga/Zebra for BGP and OSPF • PPP daemon• DHCP relay• BFD for ensuring link are bidirectional (this is often a problem with

FDD microwave links) • Nodejs

Page 21: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

21confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

The SDN controller

We have been experimenting with Opendaylight and Floodlight, but are still questioning their adoption.

The real value of a SDN controller is the implementation of the business logic which, almost by definition, is scenario-specific.• The rest is mere housekeeping (e.g., topology discovery) and

protocol serialization.

Our current strategy is to develop a light-weight OpenFlow1.3 controller in Nodejs• Integrated in our home-made NMS.• We extensively run Nodejs in production already (Radius, DHCP,

Syslog, misc).

Page 22: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

22confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Multipath on steroids

We operate an almost-completely wireless network:• Our FDD links guarantee low latency (~200μs/link OWD)• But their network capacity may vary with changes in modulation

Roughly 75% of our traffic is “delay unaware”, i.e. the user’s experience doesn’t degrade with small (e.g., < 10ms) increase in latency.

In case of regional unexpected saturation, we can route part of such traffic over a slightly longer path.• …and we have many of those paths!• Classification does not need to be perfect, and can be tweaked.

Page 23: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

23confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

The new network topology

Area 1 Area 2

Core Ring

ABRABR ABR

ABR

LDP LDP

LDP

LDP

Page 24: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

24confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

If you feel in a somewhat similar situation (and you aren’t a direct competitor of

NGI…) please do get in touch.

[email protected]

Thank you!

Page 25: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

25confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Backup slides

Page 26: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

26confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Functional principles

Each POP is assigned a globally unique 4-digit ID.

An MPLS label is constructed using this scheme

For example label “210133” indicates the uplink “delay aware” traffic from POP ID 133.

Number ofdigits

Function Details

1 Traffic direction 1 = uplink2 = downlink

1 Traffic type 1 = realtime2 = delay aware3 = delay unaware

4 POP ID Right-aligned with zeros padding

Page 27: 1 confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69 SDN For Real Giacomo Bernardi, CTO NGI SpA, Italy.

27confidential document - copyright © 2004 NGI s.p.a.Giacomo Bernardi, NGI SpA – RIPE 69

Functional principles

The controller maintains (quasi-)real-time knowledge of:• The network topology,• Current usage of each backhaul link,• Current capacity of each backhaul link.

For each POP:1. It determines which ABR to use,2. It calculates a “main” and a “backup” paths from the choosen ABR to the

POP, ensuring they are as diversified as possible.3. It deploys the necessary OpenFlow forwarding rules on all the intermediates

POP in order to implement the main and backup paths.4. On each node of the main path, an additional rule with lower priority is

deployed to re-route traffic back to the last branching point.

OpenFlow matching is done on igress port + MPLS label.

Fast-reroute is implemented by having BFD invalidate the OpenFlow rules that egress to an “invalid” interface. Lower-priority rules will automatically match.