17
SEBA-in-a-Box SEBA with PONSIM and Mininet Andy Bavier / ONF December 1, 2018

SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

SEBA-in-a-BoxSEBAwithPONSIMandMininet

AndyBavier/ONF

December1,2018

Page 2: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Ahigh-levelviewofSEBA

RG

RG

RG

ONU

ONU

ONU

OLT

OLT

Agg switch BNG

DHCP server

Internet

VOLTHA

ONOS

NEM Provider-specific workflows and policies, FCAPS, configuration

Abstract OLT + ONUs into a logical switch

Program subscriber flows into VOLTHA and agg switch, process EAPOL, relay DHCP packets

Kafka events

Add C-tag Add S-tag Forward on

S-tag Strip tags

Page 3: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Loweringthebarthroughvirtualization●  Emphasis:integrate&operateinproductionenviron●  Butsuppose

○  ApotentialpartnerwantstogetstartedwithSEBA○  ASEBAdeveloperwantstorunbasicE2Etestsonhiscode○  TheQAteamneedstorunintegrationtestsperpatchset

●  Purchasing/managing/installingHWcouldbeabottleneck●  NotmuchvalueinrealHWfortheseusers●  WithvirtualHW,couldrunSEBAinasingleserverorVM●  Goodenoughformuchdevelopment/testing/evaluation

3

Page 4: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

SEBA-in-a-Box●  LeveragePONSIMandMininet

○  VOLTHA’sPONSIMmodulevirtualizestheRG/ONU/OLT○  UseMininettovirtualizetheaggswitch/BNG/DHCPserver

●  Fast:Installsin10minutes○  Downloadspre-builtDockerimagesfromDockerHub

●  Easy:Downloadarepoandrun“make”○  Setsupasingle-nodeK8Scluster,VOLTHA,ONOS,XOS,Mininet

●  Lightweight:runinaVM(onEC2oralaptop)○  m1.largeVMonEC2:8GBRAM,2vCPUs,10cents/hour

●  Customizable:UselocalcopiesofHelmcharts,Dockerimages

4

Page 5: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

SEBA-in-a-BoxDataplane

5

RG

172.18.0.x

ONU

Linux bridge: PON0

OLT

Mininet

Linux bridge: PON1

gRPC Agg

switch BNG

(DHCP)

S/C-tags: 222/111

NNI UNI

172.18.0.10

ONOS

C-tag:111

1. Upstream topology emulated in Mininet

3. EAPOL and DHCP packets trapped to ONOS at OLT

2. CNI “bridge” plugin for L2 connectivity

Page 6: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

“Demo”outline

6

●  Inspect:○  K8Spodsinvolthaanddefaultnamespaces○  DevicesinONOSandVOLTHA○  Bridges:pon0andpon1○  XOSGUI:AttWorkflowDriverServiceInstance

●  InsideRG:○  Run802.1xauthentication,AWAITING=>APPROVED○  RunDHCPclient,getIPaddress○  [email protected]

Page 7: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Kubernetespods-“voltha”namespace

7

PONSIM pods

Page 8: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Kubernetespods-“default”namespace

8

Loads SiaB-specific TOSCA into XOS

Page 9: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

DevicesinONOSandVOLTHA

9

Agg switch (OVS in Mininet)

VOLTHA logical device

UNI port

Page 10: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Linuxbridges:pon0andpon1

10

Page 11: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

XOSGUI-beforesubscriberauth

11

Page 12: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

802.1xAuthentication

12

Page 13: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

XOSGUI-aftersubscriberauth

13

Page 14: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

RunDHCPclient

14

Erase K8S-assigned address

Don’t worry about this!

Page 15: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

XOSGUI-afterDHCP

15

Page 16: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

PingtoBNGworksnow

16

Page 17: SEBA-in-a-BoxDec 01, 2018  · DHCP server Internet VOLTHA ONOS VOLTHA and agg switch, process NEM Provider-specific workflows and policies, FCAPS, configuration Abstract OLT + ONUs

Summary

●  SiaBisarealSEBApodwithvirtualhardware●  Goodon-rampforthecommunity

○  AbouthalfthequestionsonSlackareincontextofSiaB○  =>SiaBisdoublingSEBA’spopularity

●  CommunitycontributionstoSiaB○  UserealOpenFlowswitch+serverinsteadofMininet○  SupportformultipleONUs/RGs(inprogress)

https://guide.opencord.org/profiles/seba/siab.html

17