Professional Documents
Culture Documents
Part One
Why Open vSwitch?
Open vSwitch enables Linux to become part of a
Software Defined Networking architecture.
Application
Application
Application
VM2
Switch
Switch
Open vSwitch
Switch
Switched Networks
Switches learn from the network traffic they
observe and decide independently.
Compute Node A
Tenant
1
Tenant
2
Network Node B
Tenant
3
Tenant
4
Bridge
Tenant
5
Tenant
6
Bridge
L3
Agent
Switch 1
Switch 2
Switch 3
Peter
3
Alice
Thomas Graf <tgraf@redhat.com>
Tenant
2
Network Node B
Tenant
3
vSwitch 1
Tenant
5
Tenant
4
Tenant
6
vSwitch 2
L3
Agent
Controller
Switch 1
OpenFlow
Switch 2
Switch 3
Peter
5
Alice
Thomas Graf <tgraf@redhat.com>
Application
Application
Virtual
Switch B
Switch
Vendor Y
OpenFlow
The Open Standard behind it.
1.
Match on arbitrary
bits in packet
(header)
2.
Execute actions
Forward to port
Drop
Send to
controller
Mangle packet
ONF Website
Software Switches
Hardware Switches
Switching ASICs
Indigo Open source firmware leveraging Ethernet
switch ASICs to support up to 48x 10G ports
Is it production ready?
Part Two
Open vSwitch
Open vSwitch is a virtual switch for hypervisors providing
network connectivity to virtual machines.
Controller
Compute Node A
Open Flow
pe
n
O
Tenant
3
ow
Fl
Tenant
2
n
pe
O
Tenant
1
Network Node B
Fl
ow
Compute Node A
Open vSwitch
Tenant
1
Tenant
2
Open vSwitch
L3
Agent
Hardware Switch
Alice
10
Tenant
3
Peter
11
Tenant
2
Tenant
3
Tenant
n
Controller
br-int
Open vSwitch
Quantum OVS Agent
Quantum L3 Agent
Quantum DHCP Agent
br-eth1
eth1
Flow table
Patch ports
OpenFlow
br-tun
br-ext
eth0
To Network Node
12
External Network
Thomas Graf <tgraf@redhat.com>
Feature
Fine Grained Flow Table Control
13
Feature
Security / L2 Segregation
VLAN isolation enforces VLAN membership of
a VM without the knowledge of the guest itself.
Compute Node
VLAN 1
VM1
VLAN 2
VM2
VM3
Open vSwitch
Feature
Tunneling
Tunneling provides isolation and reduces
dependencies on the physical network.
Compute Node 2
Compute Node 1
Controller
VNET 1
Fl
ow
O
VM4
Open vSwitch
VM6
Open vSwitch
Hardware Switch
15
VM5
ow
Fl
pe
n
VM3
n
pe
VM2
VNET 1
VNET 2
O
VM1
VNET 2
Feature
Visibility
Supports industry standard technology to
monitor the use of a network.
16
NetFlow
Port Mirroring
SPAN
RSPAN
ERSPAN
Feature
Quality of Service
VLAN 10
VM1
VM2
1mbit
port1
ovsbr
17
port2
Architecture
Management
ovs-ofctl
OpenFlow
ovs-dpctl
sFlow
ovsdb-tool
ovs-vsctl
(3)
User
space
2 upcall
vswitchd
5 reinject
Netlink
Kernel
Datapath
ovsdb
4
6
Packet Processing
Flow Table
From NetDevice
To NetDevice
Promiscuous Mode
18
Management Workflow
19
Questions?
Open vSwitch
OpenFlow
http://www.openflow.org/
http://www.openvswitch.org/
http://www.opennetworking.org/
sFlow
http://www.sflow.org/
Going with the Flow: Googles Secret Switch to the Next Wave of
Networking
20
http://www.wired.com/wiredenterprise/2012/04/going-with-the-flow-google/