Mais conteúdo relacionado
Semelhante a OpenFlow Group Table (20)
Mais de Toshiki Tsuboi (14)
OpenFlow Group Table
- 16. 16
クライアントPC サーバ1
サーバ2
テキスト
ICMP Echo req
(以下、省略)
2台のサーバでICMPパケットを交互に受信できた。
Groupタイプ(Select) の動作確認(ICMPの場合)
ICMP Echo req
ICMP Echo replyICMP Echo reply
ICMP Echo req
ICMP Echo reply
ICMP Echo req
ICMP Echo reply
ICMP Echo req
ICMP Echo reply
ICMP Echo req
ICMP Echo reply
ICMP Echo req
ICMP Echo reply
ICMP Echo req
ICMP Echo reply
- 23. 23
FlowTable
GroupTable
1
2
3
OFS
Inport
Outport
{table="0", match="oxm{eth_dst="01:00:5e:7f:00:01", in_port="1",
ipv4_dst="239.255.0.1", ipv4_src="192.168.0.1", eth_type="0x800"}", dur_s="334",
dur_ns="306000", prio="255", idle_to="0", hard_to="0", cookie="0x0", pkt_cnt="12242",
byte_cnt="16624636", insts=[apply{acts=[group{id="1"}]}]}
{type="all", group="1", buckets=[{w="0", wprt="any", wgrp="any",
acts=[out{port="2"}, set_field{field:eth_src="00:00:00:00:00:01"}]}, {w="0",
wprt="any", wgrp="any", acts=[out{port="3"},
set_field{field:eth_src="00:00:00:00:00:02"}]}]}]}
FlowMod
GroupMod
事前に、OpenFlowコントローラから、OFS側でのMulticastの同報通信
に関わるフロー設定を以下のように行った。
Flow/GroupTable(All)の設定サンプル
- 24. 24
FlowTable
GroupTable
1
2
3
OFS
Inport
Outport
Flow/GroupTable(FastFailover)の設定サンプル
{table="0", match="oxm{eth_dst="00:00:00:00:00:01", in_port="1",
ipv4_dst="192.168.1.1", eth_src="52:54:00:2b:f5:78", eth_type="0x800"}", dur_s="57",
dur_ns="416000", prio="255", idle_to="0", hard_to="0", cookie="0x0", pkt_cnt="27", byte_cnt="2646",
insts=[apply{acts=[set_field{field:eth_src="00:00:00:00:00:02"}, group{id="1"}]}]}
{type="ff", group="1", buckets=[{w="0", wprt="2", wgrp="any",
acts=[out{port="2"}, set_field{field:eth_dst="52:54:00:a3:72:0e"}]}, {w="0",
wprt="3", wgrp="any", acts=[out{port="3"},
set_field{field:eth_dst="52:54:00:06:96:d8"}]}]}]}
FlowMod
GroupMod
事前に、OpenFlowコントローラから、OFS側でのAct/Sby冗長に関わ
るフロー設定を以下のように行った。
- 25. 25
FlowTable
GroupTable
1
2
3
OFS
Inport
Outport
Flow/GroupTable(Select)の設定サンプル
{table="0", match="oxm{eth_dst="00:00:00:00:00:01", in_port="1",
ipv4_dst="192.168.1.1", eth_src="52:54:00:2b:f5:78", eth_type="0x800"}", dur_s="35",
dur_ns="155000", prio="255", idle_to="0", hard_to="0", cookie="0x0", pkt_cnt="21", byte_cnt="2058",
insts=[apply{acts=[set_field{field:eth_src="00:00:00:00:00:02"}, group{id="1"}]}]}
{type="sel", group="1", buckets=[{w="50", wprt="2", wgrp="any",
acts=[out{port="2"}, set_field{field:eth_dst="52:54:00:a3:72:0e"}]}, {w="50",
wprt="3", wgrp="any", acts=[out{port="3"},
set_field{field:eth_dst="52:54:00:06:96:d8"}]}]}]}
FlowMod
GroupMod
事前に、OpenFlowコントローラから、OFS側でのトラフィック負荷
分散処理に関わるフロー設定を以下のように行った。