Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hilmarm opened this issue Dec 16, 2020 · 1 comment
Open

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

hilmarm opened this issue Dec 16, 2020 · 1 comment
Assignees
Labels

Comments

@hilmarm
Copy link
Contributor

hilmarm commented Dec 16, 2020

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 ef4443e
  • Platform: accton-as4610 (probably all platforms)
  • Subsystem:
@rubensfig
Copy link
Contributor

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
``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

@rubensfig rubensfig added the bug label Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants