SlideShare a Scribd company logo
OpenIRIS OpenAPI
[static entry flow]
For DNS Query Mirroring
DNS Query Request Mirroring
• Required Properties
– static flow name
– switch’s DPID
– output ports
– switch’s IN port, destination’s IPv4 …
• Pattern
– curl -d '{"name":“${static flow name}", "switch": "${switch’s dpid", "priority":
"1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions":
[${output ports}]} ] , "ip_proto": "0x11", "udp_dst": "53", "ipv4_dst":
"${destination’s IPv4}" }' http://${controller_host}:${port}/wm/staticflowentry/json
• Example
– use IN port
curl -d '{"name":"dnsquery-req", "switch": "00:00:00:23:20:83:40:71", "priority":
"1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions":
[{"output":"4"}, {"output":"1"}]} ] , "ip_proto": "0x11", "udp_dst": "53", “in_port":
“7" }' http://localhost:8080/wm/staticflowentry/json
– use destination’s IPv4
curl -d '{"name":"dnsquery-req", "switch": "00:00:00:23:20:83:40:71", "priority":
"1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions":
[{"output":"4"}, {"output":"1"}]} ] , "ip_proto": "0x11", "udp_dst": "53", "ipv4_dst":
"39.119.118.219" }' http://localhost:8080/wm/staticflowentry/json
2
DNS Query Response Mirroring
• Required Properties
– static flow name
– switch’s DPID
– output ports
– switch’s IN port
• Pattern
– curl -d '{"name":“${static flow name}", "switch": "${switch’s dpid", "priority":
"1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions":
[${output ports}]} ] , "ip_proto": "0x11", "udp_src": "53", "ipv4_src": "${source’s
IPv4}" }' http://${controller_host}:${port}/wm/staticflowentry/json
• Example
– curl -d '{"name":"dnsquery-res", "switch": "00:00:00:23:20:83:40:71", "priority":
"1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions":
[{"output":"4"}, {"output":“7"}]} ] , "ip_proto": "0x11", "udp_src": "53", “in_port":
“1" }' http://localhost:8080/wm/staticflowentry/json
3
Delete flow(s)
• delete a specific static flow
– curl -X DELETE -d '{"name": "dnsquery-res"}'
http://localhost:8080/wm/staticflowentry/json
• delete all static flow
– curl http://localhost:8080/wm/staticflowentry/clear/all/json
• delete all static flow of a specific switch
– curl
http://localhost:8080/wm/staticflowentry/clear/00:00:00:23:20:21:
49:04/json
4

More Related Content

PDF
New SPL Features in PHP 5.3
KEY
Spl Not A Bridge Too Far phpNW09
PPT
Php course-in-navimumbai
PDF
PHP 7 – What changed internally? (Forum PHP 2015)
PDF
Solr & Lucene @ Etsy by Gregg Donovan
PPTX
Electrify your code with PHP Generators
PDF
Solr @ Etsy - Apache Lucene Eurocon
PDF
PHP 7 – What changed internally?
New SPL Features in PHP 5.3
Spl Not A Bridge Too Far phpNW09
Php course-in-navimumbai
PHP 7 – What changed internally? (Forum PHP 2015)
Solr & Lucene @ Etsy by Gregg Donovan
Electrify your code with PHP Generators
Solr @ Etsy - Apache Lucene Eurocon
PHP 7 – What changed internally?

What's hot (19)

PDF
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
PDF
Rust ⇋ JavaScript
PDF
Solr & Lucene at Etsy
PDF
Solr and Lucene at Etsy - By Gregg Donovan
PDF
PHP Arrays - indexed and associative array.
KEY
Crazy things done on PHP
PDF
Living with garbage
KEY
Php 101: PDO
KEY
第49回Php勉強会@関東 Datasource
PDF
PHP Language Trivia
PDF
Doctrine MongoDB ODM (PDXPHP)
KEY
Introduction to CloudForecast / YAPC::Asia 2010 Tokyo
PPT
Php Mysql
KEY
Perl Web Client
PDF
Redis the better NoSQL
PDF
Nubilus Perl
PDF
Doctrine fixtures
PDF
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
KEY
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
Rust ⇋ JavaScript
Solr & Lucene at Etsy
Solr and Lucene at Etsy - By Gregg Donovan
PHP Arrays - indexed and associative array.
Crazy things done on PHP
Living with garbage
Php 101: PDO
第49回Php勉強会@関東 Datasource
PHP Language Trivia
Doctrine MongoDB ODM (PDXPHP)
Introduction to CloudForecast / YAPC::Asia 2010 Tokyo
Php Mysql
Perl Web Client
Redis the better NoSQL
Nubilus Perl
Doctrine fixtures
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Ad

Viewers also liked (6)

PDF
Microservices with Swagger, Flask and Docker
PDF
Secure and accelerate APIs' lifecycle with the OpenAPI specification
PPTX
The Swagger Format becomes the Open API Specification: Standardizing descript...
PDF
Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...
PDF
Presentation at the 2016 Linux Foundation Collab Summit
PPTX
OWASP PDX May 2016 : Scanning with Swagger (OAS) 2.0
Microservices with Swagger, Flask and Docker
Secure and accelerate APIs' lifecycle with the OpenAPI specification
The Swagger Format becomes the Open API Specification: Standardizing descript...
Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...
Presentation at the 2016 Linux Foundation Collab Summit
OWASP PDX May 2016 : Scanning with Swagger (OAS) 2.0
Ad

More from ymtech (20)

PPTX
20171120 tech day-11th-소프트웨어 테스팅2-서현용
PPTX
20170908 tech day-9th-재미없는 java runtime process 디버그-김성중
PPTX
20170713 tech day_7th_pxe 부팅-김주한
PPTX
20170609 tech day_4th-nginx(lb)-이재훈
PPTX
20170519 tech day-3rd-highcharts를 이용한 차트 구현-김영석
PPTX
20170414 techday 2nd_uiux디자인-최민희
PPTX
20170310 tech day-1st-maven을 이용한 프로그램 빌드-박준홍
PPTX
Mikrotic CCR1036 라우팅 설정
PPTX
Cubietruck 리눅스 이미지 설치
PPTX
Installation Openstack Swift
PPTX
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
PPTX
Ubuntu Host AP Setting
PPTX
Intel Galileo Linux Setting
PPTX
MarsBoard RK3066 Linux 설치
PPTX
HP 3800-24G-2SFP OpenFlow Setting
PDF
Openstack Instance Resize
PDF
Openstack live migration
PPTX
SDN OpenFlow Load Balancer 시나리오
PPTX
TR-069 클라이언트 검토자료8편
PPTX
TR-069 클라이언트 검토자료7편
20171120 tech day-11th-소프트웨어 테스팅2-서현용
20170908 tech day-9th-재미없는 java runtime process 디버그-김성중
20170713 tech day_7th_pxe 부팅-김주한
20170609 tech day_4th-nginx(lb)-이재훈
20170519 tech day-3rd-highcharts를 이용한 차트 구현-김영석
20170414 techday 2nd_uiux디자인-최민희
20170310 tech day-1st-maven을 이용한 프로그램 빌드-박준홍
Mikrotic CCR1036 라우팅 설정
Cubietruck 리눅스 이미지 설치
Installation Openstack Swift
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
Ubuntu Host AP Setting
Intel Galileo Linux Setting
MarsBoard RK3066 Linux 설치
HP 3800-24G-2SFP OpenFlow Setting
Openstack Instance Resize
Openstack live migration
SDN OpenFlow Load Balancer 시나리오
TR-069 클라이언트 검토자료8편
TR-069 클라이언트 검토자료7편

Recently uploaded (20)

PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
assetexplorer- product-overview - presentation
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPT
Introduction Database Management System for Course Database
PPTX
history of c programming in notes for students .pptx
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms II-SECS-1021-03
Which alternative to Crystal Reports is best for small or large businesses.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
assetexplorer- product-overview - presentation
VVF-Customer-Presentation2025-Ver1.9.pptx
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Introduction Database Management System for Course Database
history of c programming in notes for students .pptx
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Digital Strategies for Manufacturing Companies
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......
wealthsignaloriginal-com-DS-text-... (1).pdf

OpenIRIS OpenAP

  • 1. OpenIRIS OpenAPI [static entry flow] For DNS Query Mirroring
  • 2. DNS Query Request Mirroring • Required Properties – static flow name – switch’s DPID – output ports – switch’s IN port, destination’s IPv4 … • Pattern – curl -d '{"name":“${static flow name}", "switch": "${switch’s dpid", "priority": "1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions": [${output ports}]} ] , "ip_proto": "0x11", "udp_dst": "53", "ipv4_dst": "${destination’s IPv4}" }' http://${controller_host}:${port}/wm/staticflowentry/json • Example – use IN port curl -d '{"name":"dnsquery-req", "switch": "00:00:00:23:20:83:40:71", "priority": "1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions": [{"output":"4"}, {"output":"1"}]} ] , "ip_proto": "0x11", "udp_dst": "53", “in_port": “7" }' http://localhost:8080/wm/staticflowentry/json – use destination’s IPv4 curl -d '{"name":"dnsquery-req", "switch": "00:00:00:23:20:83:40:71", "priority": "1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions": [{"output":"4"}, {"output":"1"}]} ] , "ip_proto": "0x11", "udp_dst": "53", "ipv4_dst": "39.119.118.219" }' http://localhost:8080/wm/staticflowentry/json 2
  • 3. DNS Query Response Mirroring • Required Properties – static flow name – switch’s DPID – output ports – switch’s IN port • Pattern – curl -d '{"name":“${static flow name}", "switch": "${switch’s dpid", "priority": "1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions": [${output ports}]} ] , "ip_proto": "0x11", "udp_src": "53", "ipv4_src": "${source’s IPv4}" }' http://${controller_host}:${port}/wm/staticflowentry/json • Example – curl -d '{"name":"dnsquery-res", "switch": "00:00:00:23:20:83:40:71", "priority": "1000", "eth_type": "0x0800", "active": "true", "instructions": [ {"apply_actions": [{"output":"4"}, {"output":“7"}]} ] , "ip_proto": "0x11", "udp_src": "53", “in_port": “1" }' http://localhost:8080/wm/staticflowentry/json 3
  • 4. Delete flow(s) • delete a specific static flow – curl -X DELETE -d '{"name": "dnsquery-res"}' http://localhost:8080/wm/staticflowentry/json • delete all static flow – curl http://localhost:8080/wm/staticflowentry/clear/all/json • delete all static flow of a specific switch – curl http://localhost:8080/wm/staticflowentry/clear/00:00:00:23:20:21: 49:04/json 4