diff options
author | Matthew Smith <mgsmith@netgate.com> | 2021-05-06 13:16:42 -0500 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-05-21 11:51:38 +0000 |
commit | e2353a7f6c680ef50bc41892a4503168406b7787 (patch) | |
tree | 11adbd850e95faba297973cc634e4fb1010e9c1b /test/template_classifier.py | |
parent | debb352df9ca40170534f1e3449934a02110db96 (diff) |
linux-cp: Add delegate to adjacencies
Type: improvement
When an adjacency is created, add the linux-cp delegate on the new
adjacency so we can later deal with modifications & deletions in our
cache of adjacency data.
Add a pool of hash keys and associate the pool index for a particular
key with the adj_delegate_t. If the rewrite on an adjacency is changed,
this will allow us to delete the old hash table entry and it will not
become orphaned.
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Change-Id: I072b960c02cf377d66f7d18b8c0e9e05824a0ca3
Diffstat (limited to 'test/template_classifier.py')
0 files changed, 0 insertions, 0 deletions