SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
An Efficient Distributed
Implementation of One Big Switch
Nanxi Kang
Princeton University
in collaboration with Zhenming Liu, Jennifer Rexford, David Walker
One Big Switch Abstraction
2
H1
H2
H3
H1 H2
H1
H3
From H1, dstIP = 0* => go to H2
From H1, dstIP = 1* => go to H3
Endpoint policy
e.g, Firewall, Load Balancer
Routing policy
e.g, Shortest path routing
H1 H2
H3
Automatic Rule Placement
Challenges of Rule Placement
3
H1 H2
H1
H3
H1 H2
H3
...
...
...
...
...
#rules >10k
TCAM size =1k ~ 2k
Automatic Rule Placement
Contributions
• Design a new rule placement algorithm
• Stay within rule capacity of switches
• Minimize the total number of installed rules
• Handle policy update incrementally
• Evaluation on real and synthetic data
4
Contribution
• Design a new rule placement algorithm
• Stay within rule capacity of switches
• Minimize the total number of installed rules
• Handle policy update incrementally
• Evaluation on real and synthetic data
4
• Enforce routing policy
• install rules on switches to forward packets
• Enforce endpoint policy
• topology as multiple paths: an ordered list of switches
• Solve paths separately
Topology = {Paths}
H1
H2
H3
H1 H2
H1
H3
H1
H2
H1
H3
5
Model shared switches
• Multiple paths share the same switch
• Split shared rule capacity over paths
• Paths have different demands for total rule capacities
• Linear Programming
6
H1
H2
H3
Place rules over a path
• How to place rules over a path ?
7
R1: (srcIP = 0*, dstIP = 00*),
permit
R2: (srcIP = 01, dstIP = 1* ),
permit
R3: (srcIP = *, dstIP = 11*),
deny
R4: (srcIP = 11*, dstIP = * ),
permit
Map rule to rectangle
0
0
0
1
1
0
11
0
00
11
0
11
srcI
P
dstIP
8
R1: (0*,
00),P
R2: (01,
1*),P
R3: (**,
11),D
R4: (11,
**),P
R5: (10,
0*),P
R6: (**,
0
0
0
1
1
0
11
0
00
11
0
11
R
1
srcI
P
dstIP
Map rule to rectangle
0
0
0
1
1
0
11
0
00
11
0
11
srcI
P
dstIP
9
R1: (0*,
00),P
R2: (01,
1*),P
R3: (**,
11),D
R4: (11,
**),P
R5: (10,
0*),P
R6: (**,
C = 4
0
0
0
1
1
0
11
0
00
11
0
11
R
1
R4
R
3
R2
R5
srcI
P
dstIP
Cover a rectangle
R1: (0*, 00)
R2: (01, 1*)
R3: (**, 11)
R4: (11, **)
R5: (10, 0*)
R6: (**, **)
q: (**,1*)
• Overlapped rules:
R2, R3, R4, R6
• Internal rules:
R2, R3
0
0
0
1
1
0
11
0
00
11
0
11
R
1
R4
R
3
R2
R5
10C = 4
Install rules in first switch
R1: (0*, 00)
R2: (01, 1*)
R3: (**, 11)
R4: (11, **)
R5: (10, 0*)
R6: (**, **)
q: (**,1*)
0
0
0
1
1
0
11
0
00
11
0
11 R’4
R
3
R2
R2: (01,
1*)
R3: (**, 11)
R’4: (11,
1*)
R’6: (**,
1*)
0
0
0
1
1
0
11
0
00
11
0
11
R
1
R4
R
3
R2
R5
11
Rewrite policy
qfwd: (**,
1*)
R1: (0*,
00)
R4: (11, **)
R5: (10,
0*)
R6: (**, **)
0
0
0
1
1
0
11
0
00
11
0
11
R
1
R4
R5
q
Bypass everything in q
12
R1: (0*, 00)
R2: (01, 1*)
R3: (**, 11)
R4: (11, **)
R5: (10, 0*)
R6: (**, **)
q: (**,1*)
0
0
0
1
1
0
11
0
00
11
0
11
R
1
R4
R
3
R2
R5
Summary
• Contribution
• An efficient rule placement algorithm
• Support for incremental update
• Evaluation on real and synthetic data
• Path: 8-hop, 14k rules, <1.9k rules/switch
• Graph:100 switches, 0.5s(LP) + 0.5s ~
9s(Path)
• Future work
• Integrate with real-time SDN systems
• Combine with policy checking and verification13
Related Work
• Single switch optimization
• TCAM Razor
• “Compressing Rectilinear Pictures and Minimizing Access
Control Lists”
• Distributed switch optimization
• vCRIB
• Algorithm assumes control over routing
• Palette
• Enforce the whole network-wide policy on every path
31

Weitere ähnliche Inhalte

Andere mochten auch

Nashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
Nashorn: JavaScript that doesn't suck - Tomer Gabel, WixNashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
Nashorn: JavaScript that doesn't suck - Tomer Gabel, WixCodemotion Tel Aviv
 
Boletín jornada libreta militar abril 18
Boletín jornada libreta militar abril 18Boletín jornada libreta militar abril 18
Boletín jornada libreta militar abril 18unidos44
 
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27sifexol
 
Employer Branding 2.0 synergieeffekt
Employer Branding 2.0 synergieeffektEmployer Branding 2.0 synergieeffekt
Employer Branding 2.0 synergieeffektsynergie-effekt.net
 
Asterix i obelix guiu
Asterix i obelix guiuAsterix i obelix guiu
Asterix i obelix guiuDavid
 
INÉS ROSALES Boletín Informativo Nº 10
INÉS ROSALES Boletín Informativo Nº 10INÉS ROSALES Boletín Informativo Nº 10
INÉS ROSALES Boletín Informativo Nº 10Inés Rosales
 
Gezeitenkonzerte | Programm 2013
Gezeitenkonzerte | Programm 2013Gezeitenkonzerte | Programm 2013
Gezeitenkonzerte | Programm 2013Wibke Heß
 
Diapositiva i administracion por valores
Diapositiva i administracion por valoresDiapositiva i administracion por valores
Diapositiva i administracion por valoresEduardo De La Cruz
 
Presentación tudomus.com
Presentación tudomus.com Presentación tudomus.com
Presentación tudomus.com Carlos Lopez
 
Caro Barajas (Flamenco Dancer)
Caro Barajas (Flamenco Dancer)Caro Barajas (Flamenco Dancer)
Caro Barajas (Flamenco Dancer)Peninsula Flamenca
 
Lorenzo Martínez - Cooking an APT in the paranoid way [RootedSatellite Valen...
Lorenzo Martínez  - Cooking an APT in the paranoid way [RootedSatellite Valen...Lorenzo Martínez  - Cooking an APT in the paranoid way [RootedSatellite Valen...
Lorenzo Martínez - Cooking an APT in the paranoid way [RootedSatellite Valen...RootedCON
 
201411 Foro Solar UNEF Autoconsumo
201411 Foro Solar UNEF Autoconsumo201411 Foro Solar UNEF Autoconsumo
201411 Foro Solar UNEF AutoconsumoJorge Morales
 
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale Markenführung
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale MarkenführungFashion und Lifestyle - TWT Agentur-Vorstellung für digitale Markenführung
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale MarkenführungTWT
 
Samsungmobile in bangladesh report
Samsungmobile in bangladesh reportSamsungmobile in bangladesh report
Samsungmobile in bangladesh reportnusratjahan56
 
How Users Can Get their Digital Driving License & Vehicle Registration from D...
How Users Can Get their Digital Driving License & Vehicle Registration from D...How Users Can Get their Digital Driving License & Vehicle Registration from D...
How Users Can Get their Digital Driving License & Vehicle Registration from D...Amit Ranjan
 

Andere mochten auch (18)

Nashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
Nashorn: JavaScript that doesn't suck - Tomer Gabel, WixNashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
Nashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
 
Boletín jornada libreta militar abril 18
Boletín jornada libreta militar abril 18Boletín jornada libreta militar abril 18
Boletín jornada libreta militar abril 18
 
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27
BIBLIA CATOLICA, NUEVO TESTAMENTO, CARTA A LOS FILIPENSES, PARTE 12 DE 27
 
Quienes Somos
Quienes SomosQuienes Somos
Quienes Somos
 
Employer Branding 2.0 synergieeffekt
Employer Branding 2.0 synergieeffektEmployer Branding 2.0 synergieeffekt
Employer Branding 2.0 synergieeffekt
 
Asterix i obelix guiu
Asterix i obelix guiuAsterix i obelix guiu
Asterix i obelix guiu
 
INÉS ROSALES Boletín Informativo Nº 10
INÉS ROSALES Boletín Informativo Nº 10INÉS ROSALES Boletín Informativo Nº 10
INÉS ROSALES Boletín Informativo Nº 10
 
Gezeitenkonzerte | Programm 2013
Gezeitenkonzerte | Programm 2013Gezeitenkonzerte | Programm 2013
Gezeitenkonzerte | Programm 2013
 
Diapositiva i administracion por valores
Diapositiva i administracion por valoresDiapositiva i administracion por valores
Diapositiva i administracion por valores
 
Maria resume current2015
Maria resume current2015Maria resume current2015
Maria resume current2015
 
Presentación tudomus.com
Presentación tudomus.com Presentación tudomus.com
Presentación tudomus.com
 
Micromplex 2015
Micromplex  2015Micromplex  2015
Micromplex 2015
 
Caro Barajas (Flamenco Dancer)
Caro Barajas (Flamenco Dancer)Caro Barajas (Flamenco Dancer)
Caro Barajas (Flamenco Dancer)
 
Lorenzo Martínez - Cooking an APT in the paranoid way [RootedSatellite Valen...
Lorenzo Martínez  - Cooking an APT in the paranoid way [RootedSatellite Valen...Lorenzo Martínez  - Cooking an APT in the paranoid way [RootedSatellite Valen...
Lorenzo Martínez - Cooking an APT in the paranoid way [RootedSatellite Valen...
 
201411 Foro Solar UNEF Autoconsumo
201411 Foro Solar UNEF Autoconsumo201411 Foro Solar UNEF Autoconsumo
201411 Foro Solar UNEF Autoconsumo
 
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale Markenführung
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale MarkenführungFashion und Lifestyle - TWT Agentur-Vorstellung für digitale Markenführung
Fashion und Lifestyle - TWT Agentur-Vorstellung für digitale Markenführung
 
Samsungmobile in bangladesh report
Samsungmobile in bangladesh reportSamsungmobile in bangladesh report
Samsungmobile in bangladesh report
 
How Users Can Get their Digital Driving License & Vehicle Registration from D...
How Users Can Get their Digital Driving License & Vehicle Registration from D...How Users Can Get their Digital Driving License & Vehicle Registration from D...
How Users Can Get their Digital Driving License & Vehicle Registration from D...
 

Mehr von Open Networking Summits

CORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a DatacenterCORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a DatacenterOpen Networking Summits
 
[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4Open Networking Summits
 
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...Open Networking Summits
 
Software Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile WorkplaceSoftware Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile WorkplaceOpen Networking Summits
 
Software Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal TechnologiesSoftware Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal TechnologiesOpen Networking Summits
 
Spreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use casesSpreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use casesOpen Networking Summits
 
Ranges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlowRanges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlowOpen Networking Summits
 
On the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDNOn the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDNOpen Networking Summits
 
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...Open Networking Summits
 
ESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDNESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDNOpen Networking Summits
 
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATIONSDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATIONOpen Networking Summits
 
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANsSoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANsOpen Networking Summits
 
RadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access NetworksRadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access NetworksOpen Networking Summits
 
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing ProtocolsEnabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing ProtocolsOpen Networking Summits
 

Mehr von Open Networking Summits (20)

CORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a DatacenterCORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a Datacenter
 
[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4
 
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
 
Learnings from Carrier SDN Deployments
Learnings from Carrier SDN DeploymentsLearnings from Carrier SDN Deployments
Learnings from Carrier SDN Deployments
 
Software Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile WorkplaceSoftware Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile Workplace
 
Application Driven SDN
Application Driven SDNApplication Driven SDN
Application Driven SDN
 
Software Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal TechnologiesSoftware Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal Technologies
 
NFV & SDN Customer Deployments
NFV & SDN Customer DeploymentsNFV & SDN Customer Deployments
NFV & SDN Customer Deployments
 
Automation of end-to-end QOS
Automation of end-to-end QOSAutomation of end-to-end QOS
Automation of end-to-end QOS
 
Building a Digital Telco
Building a Digital TelcoBuilding a Digital Telco
Building a Digital Telco
 
Spreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use casesSpreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use cases
 
BeHop : SDN for Dense WiFi Networks
BeHop : SDN for Dense WiFi NetworksBeHop : SDN for Dense WiFi Networks
BeHop : SDN for Dense WiFi Networks
 
Ranges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlowRanges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlow
 
On the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDNOn the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDN
 
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
 
ESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDNESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDN
 
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATIONSDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
 
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANsSoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
 
RadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access NetworksRadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access Networks
 
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing ProtocolsEnabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing Protocols
 

Kürzlich hochgeladen

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Kürzlich hochgeladen (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

An Efficient Distributed Implementation of One Big Switch

  • 1.
  • 2.
  • 3. An Efficient Distributed Implementation of One Big Switch Nanxi Kang Princeton University in collaboration with Zhenming Liu, Jennifer Rexford, David Walker
  • 4. One Big Switch Abstraction 2 H1 H2 H3 H1 H2 H1 H3 From H1, dstIP = 0* => go to H2 From H1, dstIP = 1* => go to H3 Endpoint policy e.g, Firewall, Load Balancer Routing policy e.g, Shortest path routing H1 H2 H3 Automatic Rule Placement
  • 5. Challenges of Rule Placement 3 H1 H2 H1 H3 H1 H2 H3 ... ... ... ... ... #rules >10k TCAM size =1k ~ 2k Automatic Rule Placement
  • 6. Contributions • Design a new rule placement algorithm • Stay within rule capacity of switches • Minimize the total number of installed rules • Handle policy update incrementally • Evaluation on real and synthetic data 4
  • 7. Contribution • Design a new rule placement algorithm • Stay within rule capacity of switches • Minimize the total number of installed rules • Handle policy update incrementally • Evaluation on real and synthetic data 4
  • 8. • Enforce routing policy • install rules on switches to forward packets • Enforce endpoint policy • topology as multiple paths: an ordered list of switches • Solve paths separately Topology = {Paths} H1 H2 H3 H1 H2 H1 H3 H1 H2 H1 H3 5
  • 9. Model shared switches • Multiple paths share the same switch • Split shared rule capacity over paths • Paths have different demands for total rule capacities • Linear Programming 6 H1 H2 H3
  • 10. Place rules over a path • How to place rules over a path ? 7 R1: (srcIP = 0*, dstIP = 00*), permit R2: (srcIP = 01, dstIP = 1* ), permit R3: (srcIP = *, dstIP = 11*), deny R4: (srcIP = 11*, dstIP = * ), permit
  • 11. Map rule to rectangle 0 0 0 1 1 0 11 0 00 11 0 11 srcI P dstIP 8 R1: (0*, 00),P R2: (01, 1*),P R3: (**, 11),D R4: (11, **),P R5: (10, 0*),P R6: (**, 0 0 0 1 1 0 11 0 00 11 0 11 R 1 srcI P dstIP
  • 12. Map rule to rectangle 0 0 0 1 1 0 11 0 00 11 0 11 srcI P dstIP 9 R1: (0*, 00),P R2: (01, 1*),P R3: (**, 11),D R4: (11, **),P R5: (10, 0*),P R6: (**, C = 4 0 0 0 1 1 0 11 0 00 11 0 11 R 1 R4 R 3 R2 R5 srcI P dstIP
  • 13. Cover a rectangle R1: (0*, 00) R2: (01, 1*) R3: (**, 11) R4: (11, **) R5: (10, 0*) R6: (**, **) q: (**,1*) • Overlapped rules: R2, R3, R4, R6 • Internal rules: R2, R3 0 0 0 1 1 0 11 0 00 11 0 11 R 1 R4 R 3 R2 R5 10C = 4
  • 14. Install rules in first switch R1: (0*, 00) R2: (01, 1*) R3: (**, 11) R4: (11, **) R5: (10, 0*) R6: (**, **) q: (**,1*) 0 0 0 1 1 0 11 0 00 11 0 11 R’4 R 3 R2 R2: (01, 1*) R3: (**, 11) R’4: (11, 1*) R’6: (**, 1*) 0 0 0 1 1 0 11 0 00 11 0 11 R 1 R4 R 3 R2 R5 11
  • 15. Rewrite policy qfwd: (**, 1*) R1: (0*, 00) R4: (11, **) R5: (10, 0*) R6: (**, **) 0 0 0 1 1 0 11 0 00 11 0 11 R 1 R4 R5 q Bypass everything in q 12 R1: (0*, 00) R2: (01, 1*) R3: (**, 11) R4: (11, **) R5: (10, 0*) R6: (**, **) q: (**,1*) 0 0 0 1 1 0 11 0 00 11 0 11 R 1 R4 R 3 R2 R5
  • 16. Summary • Contribution • An efficient rule placement algorithm • Support for incremental update • Evaluation on real and synthetic data • Path: 8-hop, 14k rules, <1.9k rules/switch • Graph:100 switches, 0.5s(LP) + 0.5s ~ 9s(Path) • Future work • Integrate with real-time SDN systems • Combine with policy checking and verification13
  • 17.
  • 18. Related Work • Single switch optimization • TCAM Razor • “Compressing Rectilinear Pictures and Minimizing Access Control Lists” • Distributed switch optimization • vCRIB • Algorithm assumes control over routing • Palette • Enforce the whole network-wide policy on every path 31