summaryrefslogtreecommitdiffstats
path: root/extras/vom/vom/gbp_endpoint_group_cmds.cpp
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-01-21 23:34:18 -0800
committerDamjan Marion <dmarion@me.com>2019-01-22 14:37:51 +0000
commit879d11c250a4710759ddefe22afd7fc05bda2946 (patch)
tree86f1984cf7324e05d8b100f9201ea69df83edc56 /extras/vom/vom/gbp_endpoint_group_cmds.cpp
parent03ae24b97498bcc9265d4650efe3ddaa5e1d3255 (diff)
GBP: Sclass to src-epg conversions
Change-Id: Ica88268fd6a6ee01da7e9219bb4e81f22ed2fd4b Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'extras/vom/vom/gbp_endpoint_group_cmds.cpp')
-rw-r--r--extras/vom/vom/gbp_endpoint_group_cmds.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/vom/vom/gbp_endpoint_group_cmds.cpp b/extras/vom/vom/gbp_endpoint_group_cmds.cpp
index 45523a6326e..8d0e48e5c2f 100644
--- a/extras/vom/vom/gbp_endpoint_group_cmds.cpp
+++ b/extras/vom/vom/gbp_endpoint_group_cmds.cpp
@@ -20,11 +20,13 @@ namespace gbp_endpoint_group_cmds {
create_cmd::create_cmd(HW::item<bool>& item,
epg_id_t epg_id,
+ uint16_t sclass,
uint32_t bd_id,
route::table_id_t rd_id,
const handle_t& itf)
: rpc_cmd(item)
, m_epg_id(epg_id)
+ , m_sclass(sclass)
, m_bd_id(bd_id)
, m_rd_id(rd_id)
, m_itf(itf)
@@ -46,6 +48,7 @@ create_cmd::issue(connection& con)
auto& payload = req.get_request().get_payload();
payload.epg.uplink_sw_if_index = m_itf.value();
payload.epg.epg_id = m_epg_id;
+ payload.epg.sclass = m_sclass;
payload.epg.bd_id = m_bd_id;
payload.epg.rd_id = m_rd_id;