aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/l2_emulation.cpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-02-05 01:13:38 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-09 13:17:54 +0000
commitbc27d1be24815e1371dcce3bff2d3075a532acba (patch)
treec17db02fefb19ce593de5ddb2444f4c97e074492 /src/vpp-api/vom/l2_emulation.cpp
parentef56fae51a8683ec6ceeb01e1374cde2ba30c1e5 (diff)
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>
Diffstat (limited to 'src/vpp-api/vom/l2_emulation.cpp')
-rw-r--r--src/vpp-api/vom/l2_emulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vom/l2_emulation.cpp b/src/vpp-api/vom/l2_emulation.cpp
index 2a2757616be..75e3bffb2ec 100644
--- a/src/vpp-api/vom/l2_emulation.cpp
+++ b/src/vpp-api/vom/l2_emulation.cpp
@@ -74,7 +74,7 @@ l2_emulation::replay()
{
if (m_emulation && handle_t::INVALID != m_itf->handle()) {
HW::enqueue(
- new l2_emulation_cmds::disable_cmd(m_emulation, m_itf->handle()));
+ new l2_emulation_cmds::enable_cmd(m_emulation, m_itf->handle()));
}
}