summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/l2_emulation_cmds.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_cmds.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_cmds.cpp')
-rw-r--r--src/vpp-api/vom/l2_emulation_cmds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/l2_emulation_cmds.cpp b/src/vpp-api/vom/l2_emulation_cmds.cpp
index 07107d6ff58..27f84830191 100644
--- a/src/vpp-api/vom/l2_emulation_cmds.cpp
+++ b/src/vpp-api/vom/l2_emulation_cmds.cpp
@@ -51,7 +51,7 @@ std::string
enable_cmd::to_string() const
{
std::ostringstream s;
- s << "L2-emulation: " << m_hw_item.to_string()
+ s << "L2-emulation-enable: " << m_hw_item.to_string()
<< " itf:" << m_itf.to_string();
return (s.str());
@@ -89,7 +89,7 @@ std::string
disable_cmd::to_string() const
{
std::ostringstream s;
- s << "L2-emulation: " << m_hw_item.to_string()
+ s << "L2-emulation-disable: " << m_hw_item.to_string()
<< " itf:" << m_itf.to_string();
return (s.str());