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

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
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, ...
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

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