Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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