GBP plugin 65/10465/2
authorNeale Ranns <neale.ranns@cisco.com>
Mon, 5 Feb 2018 09:13:38 +0000 (01:13 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 9 Feb 2018 13:17:54 +0000 (13:17 +0000)
commitbc27d1be24815e1371dcce3bff2d3075a532acba
treec17db02fefb19ce593de5ddb2444f4c97e074492
parentef56fae51a8683ec6ceeb01e1374cde2ba30c1e5
GBP plugin

Group Base Policy (GBP) defines:
 - endpoints: typically a VM or container that is connected to the
              virtual switch/router (i.e. to VPP)
 - endpoint-group: (EPG) a collection of endpoints
 - policy: rules determining which traffic can pass between EPGs a.k.a
            a 'contract'

Here, policy is implemented via an ACL.
EPG classification for transit packets is determined by:
 - source EPG: from the packet's input interface
 - destination EPG: from the packet's destination IP address.

Change-Id: I7b983844826b5fc3d49e21353ebda9df9b224e25
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
23 files changed:
src/configure.ac
src/plugins/Makefile.am
src/plugins/gbp.am [new file with mode: 0644]
src/plugins/gbp/gbp.api [new file with mode: 0644]
src/plugins/gbp/gbp.c [new file with mode: 0644]
src/plugins/gbp/gbp.h [new file with mode: 0644]
src/plugins/gbp/gbp_all_api_h.h [new file with mode: 0644]
src/plugins/gbp/gbp_api.c [new file with mode: 0644]
src/plugins/gbp/gbp_msg_enum.h [new file with mode: 0644]
src/vpp-api/vom/Makefile.am
src/vpp-api/vom/gbp_contract.cpp [new file with mode: 0644]
src/vpp-api/vom/gbp_contract.hpp [new file with mode: 0644]
src/vpp-api/vom/gbp_contract_cmds.cpp [new file with mode: 0644]
src/vpp-api/vom/gbp_contract_cmds.hpp [new file with mode: 0644]
src/vpp-api/vom/gbp_endpoint.cpp [new file with mode: 0644]
src/vpp-api/vom/gbp_endpoint.hpp [new file with mode: 0644]
src/vpp-api/vom/gbp_endpoint_cmds.cpp [new file with mode: 0644]
src/vpp-api/vom/gbp_endpoint_cmds.hpp [new file with mode: 0644]
src/vpp-api/vom/l2_emulation.cpp
src/vpp-api/vom/l2_emulation_cmds.cpp
src/vppinfra/cache_entry_by_name [new file with mode: 0644]
test/test_gbp.py [new file with mode: 0644]
test/vpp_papi_provider.py