basebox icon indicating copy to clipboard operation
basebox copied to clipboard

Deleting VRF with bonds does not clean up all flowtable entries.

Open hilmarm opened this issue 4 years ago • 1 comments

Expected Behavior

Deleting all VRFs should leave no traces of VRFs in flowtable_30

Actual Behavior

Deleting all VRFs should leave no traces of VRFs in flowtable_30, as seen below accton-as4610:/home/basebox# client_flowtable_dump 30 Table ID 30 (Unicast Routing): Retrieving all entries. Max entries = 32768, Current entries = 4. -- etherType = 0x0800 vrf:mask = 0x0000:0x0000 dstIp4 = 10.0.2.0/255.255.255.0 dstIp6 = ::/:: | GoTo = 60 (ACL Policy) outPort = CONTROLLER (Reserved) | priority = 2 hard_time = 0 idle_time = 0 cookie = 78 -- etherType = 0x0800 vrf:mask = 0x0000:0x0000 dstIp4 = 10.0.3.0/255.255.255.0 dstIp6 = ::/:: | GoTo = 60 (ACL Policy) outPort = CONTROLLER (Reserved) | priority = 2 hard_time = 0 idle_time = 0 cookie = 80 -- etherType = 0x0800 vrf:mask = 0x000a:0xffff dstIp4 = 10.0.1.0/255.255.255.0 dstIp6 = ::/:: | GoTo = 60 (ACL Policy) outPort = CONTROLLER (Reserved) | priority = 2 hard_time = 0 idle_time = 0 cookie = 23 -- etherType = 0x86dd vrf:mask = 0x0000:0x0000 dstIp4 = 0.0.0.0/0.0.0.0 dstIp6 = fe80::/ffc0:: | GoTo = 60 (ACL Policy) outPort = CONTROLLER (Reserved) | priority = 2 hard_time = 0 idle_time = 0 cookie = 83

Steps to Reproduce the Problem

Run the vrf-lacp to setup, then simply remove the only VRF (red) that exists by running ip l del red

Specifications

  • Version: commit ef4443e5950e30038486b6c517c1bde0673bf218
  • Platform: accton-as4610 (probably all platforms)
  • Subsystem:

hilmarm avatar Dec 16 '20 17:12 hilmarm