Skip to content

Max flows parameter can be exceeded for a given slice #113

Description

@gth828r

I was playing around with Floodlight static flow pusher on top of FSFW, and I was able to create 18 flows in an ovs instance when my slice limit was set to 10:

{
    "DPID": "d0:0d:de:ad:be:a7:da:d5", 
    "connected": true, 
    "flow_rate": 1111.1111111111111, 
    "max_flow_rule": 1, 
    "max_flows": 10, 
    "max_packet_in_rate": 1, 
    "packet_in_rate": 0.016272031924424873, 
    "total_flows": 18
}

I sent flows that did the following:

  • Match VLAN ID 100
  • Match MAC address (incrementing the src MAC by 1 for each flow)
  • Output to a specific port (2)

My slice included ports 1 and 2, and VLAN 100 on both ports. By not specifying the in_port, I believe that FSFW split my flowmods into two flowmods, which match on in_port 1 or in_port 2. I have not investigated what caused the 18 flows (flow accounting issues vs. race conditions, etc).

Here is the resulting flowtable as reported by Open vSwitch:
https://gist.github.com/gth828r/e2efcdea6e87d647c6b1#file-gistfile1-txt

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions