summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_policy.h
AgeCommit message (Collapse)AuthorFilesLines
2019-10-03gbp: fix contract rule handlingBenoît Ganne1-3/+7
Fix a memory leak when removing old GBP contract rules and make sure a GBP contract rule exists when matching the corresponding ACL rule. Type: fix Fixes: 13a08cc098 Change-Id: Iba67d573e69280ad998488a7a3d3462341c68ea4 Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit 44ca60ecdba866160bebbc6c1eb983674819d429)
2019-07-08gbp: refactor policy nodesBenoît Ganne1-0/+53
Refactor both policy and policy-dpo nodes so they share the same code for contract & acl lookup and for tracing. This should help to implement new policy schemes. Type: refactor Change-Id: If5704bda708838eb01516dd39473d9bf248cfdf6 Signed-off-by: Benoît Ganne <bganne@cisco.com>