* Constructor
*/
create_cmd(HW::item<bool>& item,
- epg_id_t epg_id,
+ vnid_t vnid,
+ uint16_t sclass,
uint32_t bd_id,
route::table_id_t rd_id,
+ const gbp_endpoint_group::retention_t& retention,
const handle_t& itf);
/**
bool operator==(const create_cmd& i) const;
private:
- const epg_id_t m_epg_id;
+ const vnid_t m_vnid;
+ const uint16_t m_sclass;
const uint32_t m_bd_id;
const route::table_id_t m_rd_id;
const handle_t m_itf;
+ const gbp_endpoint_group::retention_t m_retention;
};
/**
/**
* Constructor
*/
- delete_cmd(HW::item<bool>& item, epg_id_t epg_id);
+ delete_cmd(HW::item<bool>& item, sclass_t sclass);
/**
* Issue the command to VPP/HW
bool operator==(const delete_cmd& i) const;
private:
- const epg_id_t m_epg_id;
+ const sclass_t m_sclass;
};
/**