SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Floodlight: A Java-based OpenFlow
Controller

            Michael Cohen
               11/11/11
Floodlight Overview



   Floodlight is a completely open, free, Apache-
   licensed Java-based OpenFlow controller.




The Floodlight projected emerged from
Beacon, a project created by David Erickson of
Stanford.
Why Floodlight?
• Java-based (forked from Beacon)

• Apache Licensed
   – A solid foundation for *any* purpose

• Pure java (no OSGI know how required)
   – Eclipse supported but not required

• Dead simple to build and run.
   – “ant” + “java –jar floodlight.jar”

• Tested and hardened in real environments
   – Physical OpenFlow switches and real networks
   – Code included in a commercial product from Big Switch Networks
Floodlight Programming Model
                                 Application
                                                  • Java Event
                                                    Listeners for
 Application    Application
                                                    OpenFlow
                              REST APIs
                              • switch stats        events
    PACKET_IN                 • counter values
    PACKET_OUT                • static flow add
    FLOW_MOD                    /remove
    FLOW_REMOVED
    …
                                                  • Extensible
    SwitchListener
                                                    REST APIs

               Floodlight
               Controller
Floodlight Architecture                                                                     REST APIs


Topology - Tracks links between hosts and
switches                                                           Java Listeners
Device Manager - Tracks devices in the network         Learning                        Static
(MACs, IPs, etc.)                                                       Hub
                                                        Switch                      FlowPusher
Storage - Abstraction layer for storing controller
storage. Memory is used today

Counter Store – Openflow + Floodlight stats

Routing / Forwarding – Core engine for                   Counter       Routing /
                                                                                         Web
storing, calculating paths and installing flows.          Store        Forward

Web - Rest APIs
                                                                         Device
Learning Switch - Example learning switch               Topology                       Storage
                                                                        Manager
application. Can replace Routing / Forwarding

Hub - Example hub application. Can replace           Floodlight
routing / forwarding
Example: A Simple Hub (pseudo-code)
public class Hub {

      public void startup() {
            Add Listener(PACKET_IN);
      }

      public void shutdown() {
            Remove Listener(PACKET_IN);
      }

      public Command receive (…) [
            Setup OFPP_FLOOD action;
            Write action to switch socket;
            return Command.CONTINUE;
      }

      public boolean isCallbackOrdering Preqreq(…) {
            // does anything need to be called before me?
            return False;
      }
}
Building and Running Floodlight
• Build
   – $ cd openflowj; ant;
   – $ cd ../floodlight; ant;


• Run
   – java –jar floodlight.jar



• That’s all there is to it…
Floodlight Roadmap
• Persistent storage

• Multi language support

• Static Flow Addition / Removal

• Richer API layer (both REST and Java event-
  based)
Interested in Learning More?
• Check out the website:
   – http://floodlight.openflowhub.org


• Join the mailing list:
   – http://groups.google.com/a/openflowhub.org/group/f
     loodlight-dev/topics
   – Or just email floodlight-dev@openflowhub.org

• Get the code:
   – http://floodlight.openflowhub.org/display/Floodlight/
     Floodlight+Downloads

Weitere ähnliche Inhalte

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Floodlight OpenFlow Controller overview

  • 1. Floodlight: A Java-based OpenFlow Controller Michael Cohen 11/11/11
  • 2. Floodlight Overview Floodlight is a completely open, free, Apache- licensed Java-based OpenFlow controller. The Floodlight projected emerged from Beacon, a project created by David Erickson of Stanford.
  • 3. Why Floodlight? • Java-based (forked from Beacon) • Apache Licensed – A solid foundation for *any* purpose • Pure java (no OSGI know how required) – Eclipse supported but not required • Dead simple to build and run. – “ant” + “java –jar floodlight.jar” • Tested and hardened in real environments – Physical OpenFlow switches and real networks – Code included in a commercial product from Big Switch Networks
  • 4. Floodlight Programming Model Application • Java Event Listeners for Application Application OpenFlow REST APIs • switch stats events PACKET_IN • counter values PACKET_OUT • static flow add FLOW_MOD /remove FLOW_REMOVED … • Extensible SwitchListener REST APIs Floodlight Controller
  • 5. Floodlight Architecture REST APIs Topology - Tracks links between hosts and switches Java Listeners Device Manager - Tracks devices in the network Learning Static (MACs, IPs, etc.) Hub Switch FlowPusher Storage - Abstraction layer for storing controller storage. Memory is used today Counter Store – Openflow + Floodlight stats Routing / Forwarding – Core engine for Counter Routing / Web storing, calculating paths and installing flows. Store Forward Web - Rest APIs Device Learning Switch - Example learning switch Topology Storage Manager application. Can replace Routing / Forwarding Hub - Example hub application. Can replace Floodlight routing / forwarding
  • 6. Example: A Simple Hub (pseudo-code) public class Hub { public void startup() { Add Listener(PACKET_IN); } public void shutdown() { Remove Listener(PACKET_IN); } public Command receive (…) [ Setup OFPP_FLOOD action; Write action to switch socket; return Command.CONTINUE; } public boolean isCallbackOrdering Preqreq(…) { // does anything need to be called before me? return False; } }
  • 7. Building and Running Floodlight • Build – $ cd openflowj; ant; – $ cd ../floodlight; ant; • Run – java –jar floodlight.jar • That’s all there is to it…
  • 8. Floodlight Roadmap • Persistent storage • Multi language support • Static Flow Addition / Removal • Richer API layer (both REST and Java event- based)
  • 9. Interested in Learning More? • Check out the website: – http://floodlight.openflowhub.org • Join the mailing list: – http://groups.google.com/a/openflowhub.org/group/f loodlight-dev/topics – Or just email floodlight-dev@openflowhub.org • Get the code: – http://floodlight.openflowhub.org/display/Floodlight/ Floodlight+Downloads