the state of openflow: advice - etouches · pdf file2 the state of openflow: advice for those...
TRANSCRIPT
![Page 1: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/1.jpg)
![Page 2: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/2.jpg)
2
The State of OpenFlow: Advice for Those Considering SDN
Steve Wallace
Executive Director, InCNTRE
SDN Lab
Indiana University
![Page 3: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/3.jpg)
3
![Page 4: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/4.jpg)
4
![Page 5: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/5.jpg)
SDN is an architecture
Separation of Control and Data Planes
Centralization of Control Plane
![Page 6: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/6.jpg)
OpenFlow is both a protocol and an API
OpenFlow is used by a central controller
to program the behavior of network
equipment (e.g., switches, routers, etc.)
![Page 7: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/7.jpg)
OpenFlow Programmability
• Network features are developed in
software on a standard controller
platform
• The behavior of the network becomes
an extension of your enterprise
applications
![Page 8: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/8.jpg)
OpenFlow 1.0 Flow Table
Header Fields Counters Actions
Ingress Port
Ethernet Source Addr
Ethernet Dest Addr
Ethernet Type
VLAN id
VLAN Priority
IP Source Addr
IP Dest Addr
IP Protocol
IP ToS
ICMP type
ICMP code
Per Flow Counters
Received Packets
Received Bytes
Duration seconds
Duration nanosecconds
Forward
(All, Controller, Local,
Table, IN_port, Port#
Normal, Flood)
Enqueue
Drop
Modify-Field
Priority
![Page 9: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/9.jpg)
OpenFlow 1.0
Flow Table
Header Fields Counters Actions
If ingress port == 2 Drop packet
if IP_addr == 129.79.1.1 re-write to 10.0.1.1, forward
port 3
if Eth Addr == 00:45:23 add VLAN id 110, forward
port 2
if ingress port == 4 forward port 5, 6
if Eth Type == ARP forward CONTROLLER
If ingress port == 2 && Eth
Type == ARP forward NORMAL
Priority
32768
32768
32768
32768
32768
40000
![Page 10: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/10.jpg)
OpenFlow 1.0 to 1.1
![Page 11: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/11.jpg)
Flow Table
Header Fields Counters Actions Priority
Match Fields Priority Counters Instructions Cookie
1.0
1.1
media data packet Action Set
New Data Structure in Pipeline
Group ID Type Counters Action
Buckets .....
.....
![Page 12: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/12.jpg)
Packet Processing
OF 1.0
Does packet match flow table entry, if so, perform action.
OF 1.1
Does packet match flow table entry, if so, look at instructions...
![Page 13: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/13.jpg)
Actions vs. Instructions
OF 1.1
• Flow entries contain instructions.
• Instructions may be immediate action(s), or
• instructions may set actions in the action set
• Instructions can also change pipeline
processing:
o Goto table X
o Goto group table entry x
![Page 14: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/14.jpg)
More Tables
OF 1.1
• Allows for multiple flowtables
• Includes a group table with multiple group
table types
• Instructions can jump to other tables, but
only in a positive direction
![Page 15: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/15.jpg)
Group Table Types
all - execute each bucket (each bucket gets
copy of packet, used for flooding, multicast,
etc.)
select - execute one bucket in group (used for
span ports)
indirect - used for next hops
fast failover - execute first live bucket
![Page 16: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/16.jpg)
OpenFlow QoS
OF 1.0
• Optional action "Enqueue" Forwards packet through a queue attached to a port. The behavior of the queue is determined outside the scope of OF.
• Header fields can include VLAN priority and IP ToS, so they can be matched against and re-written.
![Page 17: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/17.jpg)
OpenFlow QoS
OF 1.3
• Stuff from 1.0
• New table "Meter Table"
Meter Identifier Meter Bands Counters
32 bit integer
used to identify the meter
list of meter bands
each band specifies rate and behavior
![Page 18: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/18.jpg)
OpenFlow QoS (1.3 cont.)
Meter Identifier Meter Bands Counters
Match Fields Priority Counters Instructions Timeouts Timeouts Cooke
New instructionMeter meter_id
Band Type Rate Counters Type Specific Arguments
drop
or
remark DSCP
kb/s
burst
![Page 19: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/19.jpg)
OpenFlow QoS (1.3 cont.)
Meter Identifier Meter Bands Counters
Band Type Rate Counters Type Specific Arguments
drop
or
remark DSCP
kb/s
burst
One or more Meter Bands
per Meter Table Entry
"the meter applies the meter band
with the highest configured rate
that is lower than the current
measured rate"
![Page 20: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/20.jpg)
OpenFlow use cases
• Cloud orchestration
• Network access control
• Bandwidth on demand
• Traffic engineering
• Application/tenant isolation
• New stuff you just thought up
![Page 21: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/21.jpg)
Something completely different, brought to you by the
Forwarding Abstractions Working Group (FAWG)
Problem: need to control existing network functions (e.g.,
IP routing) via OpenFlow, while leveraging existing
ASICs/hardware
Solution: TTPs for “table typing patterns” (remarkably
poor name!)
TTPs allow the OpenFlow protocol to control the behavior
of things like routers...
![Page 22: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/22.jpg)
TTPs
Imagine using the table abstraction to program a router
One table might hold IP address and masks as its "match
fields", but they are interpreted as IP prefixes, and matching is
done via the longest prefix match algorithm. The instruction
field might contain the next-hop for the prefix encoded as a "re-
write IP address to this new value".
Another table might contain next-hop encapsulation
information.
In other words, tables are exposed at the knobs to a routing
engine.
![Page 23: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/23.jpg)
Understanding
standards compliance
can be complex.
Buyer beware.
The OpenFlow Standard
• OpenFlow 1.0.1
o current hardware
• OpenFlow 1.1
o interim standard
• OpenFlow 1.2
o interim standard
• OpenFlow 1.3
o new equipment
![Page 24: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/24.jpg)
Caveat Emptor
Most devices (nearly all) do NOT implement
every feature of the OpenFlow spec.
This has led to grouping of features within a
spec into "profiles".
New performance metrics of interest:
• flow-mod performance
• number and type of flows supported
• packet-in performance
![Page 25: The State of OpenFlow: Advice - etouches · PDF file2 The State of OpenFlow: Advice for Those Considering SDN Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University ssw@iu.edu](https://reader035.vdocument.in/reader035/viewer/2022070607/5aa4d0a47f8b9ae7438c8f03/html5/thumbnails/25.jpg)
The OpenDaylight Project
• SDN/OpenFlow controller
• Open source project organized under the
Linux Foundation
• members include: Big Switch, Brocade,
Cisco, Citrix, Ericsson, IBM, Juniper,
Microsoft, redhat, NEC, vmware, Arista, Dell,
Fuitsu, HP, Intel, etc...
• What it *may* mean.....