diff options
author | Neale Ranns <nranns@cisco.com> | 2019-03-05 23:59:15 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-05 23:59:15 -0800 |
commit | dc8d93b02949f508d5eed312a51aa91102224b39 (patch) | |
tree | 53dcd3e9fa3678864c9df9ec627c3c42c2b42c96 /extras/vom/vom/gbp_contract_cmds.cpp | |
parent | 35ac601e25ee79f08c0d9611508148cd8aeb2486 (diff) |
VOM: GBP show allowed ethertypes in contracts
Change-Id: I8314f51d519966b1d9aef96318f6836ace944c9a
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'extras/vom/vom/gbp_contract_cmds.cpp')
-rw-r--r-- | extras/vom/vom/gbp_contract_cmds.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/vom/vom/gbp_contract_cmds.cpp b/extras/vom/vom/gbp_contract_cmds.cpp index 7c42fc6bc4e..5cdd885f304 100644 --- a/extras/vom/vom/gbp_contract_cmds.cpp +++ b/extras/vom/vom/gbp_contract_cmds.cpp @@ -114,6 +114,10 @@ create_cmd::to_string() const s << "gbp-contract-create: " << m_hw_item.to_string() << " src-epg-id:" << m_src_epg_id << " dst-epg-id:" << m_dst_epg_id << " acl:" << m_acl; + s << "[ethertype:"; + for (auto e : m_allowed_ethertypes) + s << " " << e; + s << "]"; return (s.str()); } |