Académique Documents
Professionnel Documents
Culture Documents
Workshop + Hackathon
軟體定義網路中之 虛擬網路設計
陳俊良
台灣科技大學電機系
Date: 2015/7/27
Outline
2
Outline
3
Two virtualization technologies will be discussed…
Network Virtualization- FlowVisor Layer
• An experimental software-defined networking controller that enables network
virtualization by slicing a physical network into multiple logical networks.
4
Network Virtualization – FlowVisor Layer
Network Virtualization
Platform
Bandwidth Network Virtualization
Slice
Service 1
FlowSpace
Slice 1
SDN Controller Isolation
Slice 2 Service 2
…
Slice N Service N
FlowVisor
SDN Networking
6
Introduction
Virtual Tenant Network (VTN)
7
Virtual Tenant Network (VTN)
Network Applications
Orchestrations & Services
Controller
Platform
Abstraction models enable
the separation of logical
plane from physical plane
Southbound Interface
& Protocol Plugins
Multiple Controllers
9
Virtual Tenant Network (VTN)
Offer virtual node features (such as virtual vBridge
mapping to real switch port)
End-to-end dynamic path control per VTN
Isolation
VTN 2 Service 2
…
VTNN Service N
SDN Controller
SDN Networking
The physical topology is not directly virtualized. VTN Manager creates the VTNs.
10
FlowVisor vs. VTN
VTN 1
OpenFlow
Controller
VTN Manager
…
Forwarding Unit
3 Slicing Policy N
OpenFlow OpenFlow
Switch Switch
1 VTN Manager creates the VTN networks 1 Intercept the OpenFlow messages from controller
2 Mapping the virtual interfaces to the physical
Use the slicing policy 3 Rewrite the Flow Entry
interfaces (methods: VLAN/Port/ MAC Mapping) 2
11
Outline
12
Dynamically allocate bandwidth to different slices
Guarantee Quality-of-Service
Users Requirements Limitation
Slice 3
15 Mbps
40 Mbps 20 Mbps
Slice 2
20 Mbps
55 Mbps
Slice 1 30 Mbps 60 Mbps
10 Mbps
30 Mbps 20 Mbps
Assumptions:
• Maximal network capacity C=100M
13
Network Virtualization
Slice 1 Service 1 Slice 1
…
Slice N Service N Slice N
14
Network Virtualization Platform
OpenFlow Controller
Translation Unit
Resource Config
Deployment Analysis
Allocation Database
Policy
Forwarding Unit
Network Monitor
15
Designed Resource Scheduling:
Slice 1 Linear Programming Scheme
Controller:OpenDaylight Hydrogen Base 1.0
Mininet:Mininet 2.1.0, OpenvSwitch 2.1.2
Slice 2
Slice 3
Resource
Resource
Requester
Provider
S1 S2 S3 S4 S3
Provider
slice4
higher network utilization with only a minor sacrifice of control message latency (0.71ms).
19
FlowVisor API
Slice 3
Add-slice
Slice name
Slice 2
Controller id
Rate
Slice 1
Bandwidth control
20
Slice 3 FlowVisor API
Update-slice
Rate
Slice 1
21
Network Virtualization
Slice 1 Service 1 Slice 1
…
Slice N Service N Slice N
Add-slice
Network Virtualization Platform
Configure Update-slice
SDN Controller
FlowVisor EnterpriseVisor
Monitor
SDN Networking
22
Outline
23
VTN Manager
24
Delay : 1ms Congestion Control
SLA Commitment
OFS • 𝐴𝑖 :𝑇ℎ𝑒 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑟𝑒𝑠𝑜𝑢𝑟𝑐𝑒 of 𝑖𝑡ℎ routing path
BW : 100 Mbps Delay : 10ms
Link • 𝑈𝑖 :The utilization rate of 𝑖𝑡ℎ routing path.
• 𝑇𝑖 :The total traffic of 𝑖𝑡ℎ routing path.
𝑆𝐿𝐴3
SLA Bandwidth Delay
𝑆𝐿𝐴1
𝑆𝐿𝐴2 50 Mbps 30 ms
𝑆𝐿𝐴3 40 Mbps 40 ms
VTN Manager
SLA information
collector
Collect the SLA information of
each VTN
Network
Reroute according to the
routing schedule (Path Policy
Mapping)
Resource
Scheduler
Network
Monitor
Server User
Physical Network
Monitor the network and service status
Designed Scheduling Scheme:
Adjust the PATH resource to avoid the overloading
Linear Programming Scheme 26
Administrator Virtual Tenant Network
1 VTN SLA information
(Bandwidth, Delay…)
Controller
VTN Manger
SLA
Collector
2 Schedule event
Network 3 Plan assign
Policy
5 Plan assign
4 Reschedule event Physical Network
Resource
Scheduler
3 Network Schedule
1 Request message
Network
Monitor
Message response
2 (Bandwidth, Utilization,…)
27
Basic operation
SLA mechanism
Without SLA mechanism and network policy &
Network policy
SLA
Commitment
28
Two policy models on VTN network: Flow Filter Model and Path Mapping Model
Create policy table Create different
Flow Filter
Combine
sets of traffic
+type = {in|out}
+location Policy Target
One of: vtn | vBridge | vNode_name+IF
+statistics 1
Flow List
General per IF and FFEntry and per flow
1 +name: String
+flowfilterentries: Flow Filter Entry +flowlistentries: Flow List Entry 1
1
redir_dst
Action
+vNode_name
+interface_name
+new dst MAC Match Select traffic to
+new src MAC apply marking
+direction
29
Provides more matching conditions for your applications
Command Number Description
mac-destination-address <mac-address> 1 Destination Mac Address
mac-source-address <mac-address> 2 Source Mac Address
mac-ether-type <ether-type-number> 3 Ether type
mac-vlan-priority <vlan-priority-number> 4 VLAN Priority
ip-destination-address <ip-address>/<prefix- 5 Destination IP Address
length>
ip-source-address <ip-address>/<prefix-length> 6 Source IP Address
ip-protocol <protocol-number> 7 Protocol Type
ip-dscp <dscp-number> 8 DSCP (Differentiated Services Code Point)
l4-destination-port <port-number> [ to <end- 9 Destination Port
port> ]
l4-source-port <port-number> [ to <end-port> ] 10 Source Port
30
Provides 6 Actions for your applications
Intent Description Behavior
31
Traffic In
VTN 1
vBridge vBridge
Set Policy
CIR:256000 bps
Action:Bandwidth
{ PIR:512000 bps
CBS:48128 bytes
1000 Path1
SW SW
EP1 SW SW EP2
Path2
1000 1000
SW Path3
1000000
SW SW Match1 = Path1
Match2 = Path2
Match3 = Path3
1000 SW 1000
33
Policy of one VTN does not affect other VTNs
Policy 2
Policy 1 Policy 3
34
Outline
35
FlowVisor Method VTN Method
• multi-tenant virtual
• bandwidth Isolation
network
Characteristic • topology Isolation
• virtual network isolation
• flowspace Isolation
• network policy isolation
36
•
Network virtualization
Decouple the physical network from the virtual network.
• Enable multi-tenancy services
• Allow multiple tenants to occupy the same network infrastructure.
• Allow isolation of the users’ traffic.
FlowVisor VTN
ありがとう
謝謝
38