SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Destaque

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)
 

Destaque (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