2 * Copyright (c) 2018 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 * Group Base Policy (GBP) defines:
18 * - endpoints: typically a VM or container that is connected to the
19 * virtual switch/router (i.e. to VPP)
20 * - endpoint-group: (EPG) a collection of endpoints
21 * - policy: rules determining which traffic can pass between EPGs a.k.a
24 * Here, policy is implemented via an ACL.
25 * EPG classification for transit packets is determined by:
26 * - source EPG: from the packet's input interface
27 * - destination EPG: from the packet's destination IP address.
34 #include <plugins/acl/exports.h>
36 #include <plugins/gbp/gbp_types.h>
37 #include <plugins/gbp/gbp_endpoint.h>
38 #include <plugins/gbp/gbp_endpoint_group.h>
39 #include <plugins/gbp/gbp_contract.h>
40 #include <plugins/gbp/gbp_subnet.h>
41 #include <plugins/gbp/gbp_recirc.h>
46 acl_plugin_methods_t acl_plugin;
49 extern gbp_main_t gbp_main;
54 * fd.io coding-style-patch-verification: ON
57 * eval: (c-set-style "gnu")