SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
ktds openflow controller
October 17, 2012 Version 1.0
Contact :
Seung Jae Lee, Assistant Manager, sDSP Team ktds, sjlee7373@kt.com
Mi Ju Lee, Assistant Manager, sDSP Team ktds, ruby@kt.com
ktds
Controller
1. About Controller
5. Demonstration
4. Scenario
2. NOX tutorial
3. ktds controller
목차
Open Flow Projects
Name Language Platform(s) License Original Author
OpenFlow C Linux
OpenFlow
License
Stanford/Nicira
NOX Python, C++ Linux GPL Nicira
POX Python Any GPL
Floodlight Java Any Apache-licensed
BigSwitch,
based on Beacon
Beacon Java
Win, Mac,
Linux,
Android
GPL (core)
David Erickson
(Stanford)
RouteFlow C++, Python Linux Apache CPqD (Brazil)
Maestro Java
Win, Mac,
Linux
LGPL Zheng Cai (Rice)
Trema Ruby, C Linux GPL NEC
MORE…
• NOX Classic
 NOX was programmable in C++ and Python
• NOX [NEW fork]
 C++ Only
 Remove Python from NOX: “New”NOX
• POX
 Python only
 Build a new platform in pure Python
 Target Linux, Mac OS, and Windows
 Good for research
NOX & POX CONTROLLER
About NOX & POX
4
• NOX was the first SDN controller
• Linux
• C++ and Python
• Component system
• Event-based programming model
• OpenFlow interface
• Packet construction/dissection libraries
• Applications:
Forwarding (reactive), topology discovery, host tracking,…
NOX
• A Java-based OpenFlow Controller(forked from Beacon)
• Apache Licensed
• REST API
• Pure java(no OSGI know how required)
• Dead simple to build and run
• Tested and hardened in real environmets
Physical OpenFlow switches and real networks
Code included in commercial product from Big Switch Networks
Floodlight
About NOX & Floodlight
5
Setup
1. Download VirtualBox
https://www.virtualbox.org/wiki/Downloads
2. $ unzip OpenFlowTutorial-101311.zip
3. http://www.openflow.org/wk/index.php/OpenFlow_Tutorial
NOX Tutorial
6
Developing a Network Topology
Customizing by MININET
Developing a custom controller
Run NOX controller
./nox_core –v –I ptcp: pyswitch
Example Controllers
Basic NOX Controller
~/noxcore/src/nox/coreapps/examples/pyswitch.py
https://github.com/noxrepo/nox-classic/blob/destiny/src/nox/coreapps/examples/pyswitch.py
8
OS, Kernel ARCHITECTURE LANGUAGE PART LAYER
NOX GUI
NOX CONTROLLER APPLICATION
NOX I/F
NOX CONTROLLER COMPONENT
OPEN FLOW PROTOCOL
(SERVER)
OPEN FLOW VISOR
OPEN FLOW PROTOCOL
MININET
USER I/F
ENVI
LINUX
UBUNTU 11.10
JAVA 1.6
PERL
PYTHON 4.7
LINUX
UBUNTU 11.10
PERL
PYTHON 4.7
Open Flow Over TCP/IP
Open Flow Over TCP/IP
PROTOCOL
CONTROL
DATA PLAN
CONTROL
GUIJAVA, Python
C, C++, Python
JAVA
C ,PERL
C ,PERL
C++ Python
Python
C, C++, Python
ON Controller
Nox 0.9.1
Switch, Router
KTDS Architecture
9
1. Displays and Refresh Network status
2. Display NOX Console log
3. Show Switch status (Flow , table, Aggregate statistics)
4. FlowManager
A. Add/Del/Change Flow Table
B. Get Switch info
C. Get Flow table list
D. Profile list
5. Flow Trace
6. OpenFlow Switch Specification Version 1.0.0
ktds Open Flow Controller Support
10
1. Test 환경구성 (MININET) 3 hosts – 4 switch topology
2. Ping test
A. H1 ping H7
B. H2 ping H7
3. Packet 경로 및 Flow table 확인
4. Change H2 <-> H7 path by Flow modification
5. ADD Flow table on Switch 3 (change outport! Which IP is H2)
6. Check H2 ping H7 ping status!
7. Add flow table on switch 5, and switch 6
8. Now ping works!
We will change Data path by Flow modification
Test Scenario
11
H1 : 10.0.0.1
S4
S5
S6
1
2
4
3
S3
1 2
2
21
1
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
3 hosts – 4 switch topology
H2 : 10.0.0.2
H7 : 10.0.0.7
3
12
H1 : 10.0.0.1
S5
S4
S6
1
2
3
4
S3
1 2
2
21
1
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
H1 ping H7
H2 : 10.0.0.2
H7 : 10.0.0.7
3
13
H1 : 10.0.0.1
S5
S4
S6
1
2
3
4
S3
1 2
2
21
1
3
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
H2 ping H7
H2 : 10.0.0.2
H7 : 10.0.0.7
14
H1 : 10.0.0.1
S5
S4
S6
1
2
3
4
S3
1 2
2
21
1
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
Add Flow on Switch 3
H2 : 10.0.0.2
H7 : 10.0.0.7
ADD
FLOW
( IP : 10.0.0.2 inport: 2 outport 4 ->3)
3
15
H1 : 10.0.0.1
S5
S4
S6
1
2
3
4
S3
1 2
2
21
1
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
H2 PING H7
H2 : 10.0.0.2
H7 : 10.0.0.7
ADD
FLOW
ADD
FLOWADD
FLOW
3
16
H1 : 10.0.0.1
S5
S4
S6
1
2
3
4
S3
1 2
2
21
1
3
Open Flow Protocol
controller Openflow GUI
NOX
Controller
OpenFlow
Vitual
Network
OpenFlow
NOX GUI
OpenFlow
H2 PING H7
H2 : 10.0.0.2
H7 : 10.0.0.7
ADD
FLOW
ADD
FLOWADD
FLOW
17
Demonstration
www. ktds.co.kr

Mais conteúdo relacionado

Mais de NAIM Networks, Inc.

Mais de NAIM Networks, Inc. (20)

[이동식 원격 데이터센터 컨퍼런스] SDDC 구축 사례와 원격 데이터센터 적용의 필요성-인천유시티 이상호 차장
[이동식 원격 데이터센터 컨퍼런스] SDDC 구축 사례와 원격 데이터센터 적용의 필요성-인천유시티 이상호 차장[이동식 원격 데이터센터 컨퍼런스] SDDC 구축 사례와 원격 데이터센터 적용의 필요성-인천유시티 이상호 차장
[이동식 원격 데이터센터 컨퍼런스] SDDC 구축 사례와 원격 데이터센터 적용의 필요성-인천유시티 이상호 차장
 
[이동식 원격 데이터센터 컨퍼런스] 이동식 원격 데이터센터의 군 활용-국방대 권태욱 교수
[이동식 원격 데이터센터 컨퍼런스] 이동식 원격 데이터센터의 군 활용-국방대 권태욱 교수[이동식 원격 데이터센터 컨퍼런스] 이동식 원격 데이터센터의 군 활용-국방대 권태욱 교수
[이동식 원격 데이터센터 컨퍼런스] 이동식 원격 데이터센터의 군 활용-국방대 권태욱 교수
 
Sdn and Security
Sdn and SecuritySdn and Security
Sdn and Security
 
SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)
 
ONK2015-Jive:SDN/NFV Based Enterprise IoT Management Solution
ONK2015-Jive:SDN/NFV Based Enterprise IoT Management SolutionONK2015-Jive:SDN/NFV Based Enterprise IoT Management Solution
ONK2015-Jive:SDN/NFV Based Enterprise IoT Management Solution
 
9th SDN Expert Group Seminar - Session4
9th SDN Expert Group Seminar - Session49th SDN Expert Group Seminar - Session4
9th SDN Expert Group Seminar - Session4
 
9th SDN Expert Group Seminar - Session3
9th SDN Expert Group Seminar - Session39th SDN Expert Group Seminar - Session3
9th SDN Expert Group Seminar - Session3
 
9th SDN Expert Group Seminar - Session2
9th SDN Expert Group Seminar - Session29th SDN Expert Group Seminar - Session2
9th SDN Expert Group Seminar - Session2
 
9th SDN Expert Group Seminar - Session1
9th SDN Expert Group Seminar - Session19th SDN Expert Group Seminar - Session1
9th SDN Expert Group Seminar - Session1
 
고신뢰 네트워크사업-클라우드와 SDN 보안
고신뢰 네트워크사업-클라우드와 SDN 보안고신뢰 네트워크사업-클라우드와 SDN 보안
고신뢰 네트워크사업-클라우드와 SDN 보안
 
OVNC 2015-SDN 해외 활용사례 (일본): O3 Project : User-oriented SDN for WAN
OVNC 2015-SDN 해외 활용사례 (일본): O3 Project : User-oriented SDN for WANOVNC 2015-SDN 해외 활용사례 (일본): O3 Project : User-oriented SDN for WAN
OVNC 2015-SDN 해외 활용사례 (일본): O3 Project : User-oriented SDN for WAN
 
OVNC 2015-High performance Network Function Virtualization & VNF acceleration
OVNC 2015-High performance Network Function Virtualization & VNF accelerationOVNC 2015-High performance Network Function Virtualization & VNF acceleration
OVNC 2015-High performance Network Function Virtualization & VNF acceleration
 
OVNC 2015-SDN을 이용한 IoT 환경 단말보안
OVNC 2015-SDN을 이용한 IoT 환경 단말보안OVNC 2015-SDN을 이용한 IoT 환경 단말보안
OVNC 2015-SDN을 이용한 IoT 환경 단말보안
 
OVNC 2015-Service Provider SDN with Cloud Transformation
OVNC 2015-Service Provider SDN with Cloud TransformationOVNC 2015-Service Provider SDN with Cloud Transformation
OVNC 2015-Service Provider SDN with Cloud Transformation
 
OVNC 2015-성공적인 Customer Optimized Datacenter 구축 방안
OVNC 2015-성공적인 Customer Optimized Datacenter 구축 방안OVNC 2015-성공적인 Customer Optimized Datacenter 구축 방안
OVNC 2015-성공적인 Customer Optimized Datacenter 구축 방안
 
OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안
OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안
OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안
 
OVNC 2015-서비스 에지 가상화를 위한 NFV/SDN 플랫폼
OVNC 2015-서비스 에지 가상화를 위한 NFV/SDN 플랫폼OVNC 2015-서비스 에지 가상화를 위한 NFV/SDN 플랫폼
OVNC 2015-서비스 에지 가상화를 위한 NFV/SDN 플랫폼
 
OVNC 2015-차세대 데이터센터 아키텍처, 애플리케이션 중심 인프라스트럭처 ACI
OVNC 2015-차세대 데이터센터 아키텍처, 애플리케이션 중심 인프라스트럭처 ACIOVNC 2015-차세대 데이터센터 아키텍처, 애플리케이션 중심 인프라스트럭처 ACI
OVNC 2015-차세대 데이터센터 아키텍처, 애플리케이션 중심 인프라스트럭처 ACI
 
OVNC 2015-THE NEW IP - Open Networking Architecture with SDN & NFV
OVNC 2015-THE NEW IP - Open Networking Architecture with SDN & NFVOVNC 2015-THE NEW IP - Open Networking Architecture with SDN & NFV
OVNC 2015-THE NEW IP - Open Networking Architecture with SDN & NFV
 
OVNC 2015-Software-Defined Networking: Where Are We Today?
OVNC 2015-Software-Defined Networking: Where Are We Today?OVNC 2015-Software-Defined Networking: Where Are We Today?
OVNC 2015-Software-Defined Networking: Where Are We Today?
 

Último

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Último (20)

The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 

1st SDN Interest Group Seminar - Session3 (121017)

  • 1. ktds openflow controller October 17, 2012 Version 1.0 Contact : Seung Jae Lee, Assistant Manager, sDSP Team ktds, sjlee7373@kt.com Mi Ju Lee, Assistant Manager, sDSP Team ktds, ruby@kt.com
  • 2. ktds Controller 1. About Controller 5. Demonstration 4. Scenario 2. NOX tutorial 3. ktds controller 목차
  • 3. Open Flow Projects Name Language Platform(s) License Original Author OpenFlow C Linux OpenFlow License Stanford/Nicira NOX Python, C++ Linux GPL Nicira POX Python Any GPL Floodlight Java Any Apache-licensed BigSwitch, based on Beacon Beacon Java Win, Mac, Linux, Android GPL (core) David Erickson (Stanford) RouteFlow C++, Python Linux Apache CPqD (Brazil) Maestro Java Win, Mac, Linux LGPL Zheng Cai (Rice) Trema Ruby, C Linux GPL NEC MORE…
  • 4. • NOX Classic  NOX was programmable in C++ and Python • NOX [NEW fork]  C++ Only  Remove Python from NOX: “New”NOX • POX  Python only  Build a new platform in pure Python  Target Linux, Mac OS, and Windows  Good for research NOX & POX CONTROLLER About NOX & POX 4
  • 5. • NOX was the first SDN controller • Linux • C++ and Python • Component system • Event-based programming model • OpenFlow interface • Packet construction/dissection libraries • Applications: Forwarding (reactive), topology discovery, host tracking,… NOX • A Java-based OpenFlow Controller(forked from Beacon) • Apache Licensed • REST API • Pure java(no OSGI know how required) • Dead simple to build and run • Tested and hardened in real environmets Physical OpenFlow switches and real networks Code included in commercial product from Big Switch Networks Floodlight About NOX & Floodlight 5
  • 6. Setup 1. Download VirtualBox https://www.virtualbox.org/wiki/Downloads 2. $ unzip OpenFlowTutorial-101311.zip 3. http://www.openflow.org/wk/index.php/OpenFlow_Tutorial NOX Tutorial 6 Developing a Network Topology Customizing by MININET Developing a custom controller Run NOX controller ./nox_core –v –I ptcp: pyswitch Example Controllers Basic NOX Controller ~/noxcore/src/nox/coreapps/examples/pyswitch.py
  • 8. 8 OS, Kernel ARCHITECTURE LANGUAGE PART LAYER NOX GUI NOX CONTROLLER APPLICATION NOX I/F NOX CONTROLLER COMPONENT OPEN FLOW PROTOCOL (SERVER) OPEN FLOW VISOR OPEN FLOW PROTOCOL MININET USER I/F ENVI LINUX UBUNTU 11.10 JAVA 1.6 PERL PYTHON 4.7 LINUX UBUNTU 11.10 PERL PYTHON 4.7 Open Flow Over TCP/IP Open Flow Over TCP/IP PROTOCOL CONTROL DATA PLAN CONTROL GUIJAVA, Python C, C++, Python JAVA C ,PERL C ,PERL C++ Python Python C, C++, Python ON Controller Nox 0.9.1 Switch, Router KTDS Architecture
  • 9. 9 1. Displays and Refresh Network status 2. Display NOX Console log 3. Show Switch status (Flow , table, Aggregate statistics) 4. FlowManager A. Add/Del/Change Flow Table B. Get Switch info C. Get Flow table list D. Profile list 5. Flow Trace 6. OpenFlow Switch Specification Version 1.0.0 ktds Open Flow Controller Support
  • 10. 10 1. Test 환경구성 (MININET) 3 hosts – 4 switch topology 2. Ping test A. H1 ping H7 B. H2 ping H7 3. Packet 경로 및 Flow table 확인 4. Change H2 <-> H7 path by Flow modification 5. ADD Flow table on Switch 3 (change outport! Which IP is H2) 6. Check H2 ping H7 ping status! 7. Add flow table on switch 5, and switch 6 8. Now ping works! We will change Data path by Flow modification Test Scenario
  • 11. 11 H1 : 10.0.0.1 S4 S5 S6 1 2 4 3 S3 1 2 2 21 1 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow 3 hosts – 4 switch topology H2 : 10.0.0.2 H7 : 10.0.0.7 3
  • 12. 12 H1 : 10.0.0.1 S5 S4 S6 1 2 3 4 S3 1 2 2 21 1 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow H1 ping H7 H2 : 10.0.0.2 H7 : 10.0.0.7 3
  • 13. 13 H1 : 10.0.0.1 S5 S4 S6 1 2 3 4 S3 1 2 2 21 1 3 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow H2 ping H7 H2 : 10.0.0.2 H7 : 10.0.0.7
  • 14. 14 H1 : 10.0.0.1 S5 S4 S6 1 2 3 4 S3 1 2 2 21 1 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow Add Flow on Switch 3 H2 : 10.0.0.2 H7 : 10.0.0.7 ADD FLOW ( IP : 10.0.0.2 inport: 2 outport 4 ->3) 3
  • 15. 15 H1 : 10.0.0.1 S5 S4 S6 1 2 3 4 S3 1 2 2 21 1 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow H2 PING H7 H2 : 10.0.0.2 H7 : 10.0.0.7 ADD FLOW ADD FLOWADD FLOW 3
  • 16. 16 H1 : 10.0.0.1 S5 S4 S6 1 2 3 4 S3 1 2 2 21 1 3 Open Flow Protocol controller Openflow GUI NOX Controller OpenFlow Vitual Network OpenFlow NOX GUI OpenFlow H2 PING H7 H2 : 10.0.0.2 H7 : 10.0.0.7 ADD FLOW ADD FLOWADD FLOW