コード例 #1
0
ファイル: valve_flood.py プロジェクト: trentindav/faucet
 def _build_group_buckets(vlan, unicast_flood):
     buckets = []
     tagged_flood_ports = vlan.tagged_flood_ports(unicast_flood)
     buckets.extend(valve_of.group_flood_buckets(tagged_flood_ports, False))
     untagged_flood_ports = vlan.untagged_flood_ports(unicast_flood)
     buckets.extend(valve_of.group_flood_buckets(untagged_flood_ports, True))
     return buckets
コード例 #2
0
ファイル: valve_flood.py プロジェクト: ayyoob/faucet
 def _build_group_buckets(vlan, unicast_flood):
     buckets = []
     tagged_flood_ports = vlan.tagged_flood_ports(unicast_flood)
     buckets.extend(valve_of.group_flood_buckets(tagged_flood_ports, False))
     untagged_flood_ports = vlan.untagged_flood_ports(unicast_flood)
     buckets.extend(valve_of.group_flood_buckets(untagged_flood_ports, True))
     return buckets