diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-07-03 17:34:21 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-08 07:46:49 +0000 |
commit | 1d6d9f021c5a169dedca55b46451ab54728e3ee8 (patch) | |
tree | 6c8317499e028ff743e7fa33e3f2da1fcfcfcd90 /src/plugins/gbp/gbp_api.c | |
parent | 94bef09213c1e47d37f8342b746de767d9669739 (diff) |
gbp: refactor policy nodes
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>
Diffstat (limited to 'src/plugins/gbp/gbp_api.c')
-rw-r--r-- | src/plugins/gbp/gbp_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_api.c b/src/plugins/gbp/gbp_api.c index fca85a79ce6..f487e160808 100644 --- a/src/plugins/gbp/gbp_api.c +++ b/src/plugins/gbp/gbp_api.c @@ -31,6 +31,7 @@ #include <gbp/gbp_bridge_domain.h> #include <gbp/gbp_route_domain.h> #include <gbp/gbp_ext_itf.h> +#include <gbp/gbp_contract.h> #include <vlibapi/api.h> #include <vlibmemory/api.h> |