|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
21 namespace record_cmds {
35 return ((m_itf == other.m_itf) && (m_src == other.m_src));
41 msg_t req(
con.ctx(), std::ref(*
this));
43 auto& payload = req.get_request().get_payload();
44 payload.record.sw_if_index = m_itf.
value();
45 payload.record.input_source =
to_api(m_src);
75 m_src == other.m_src);
81 msg_t req(
con.ctx(), std::ref(*
this));
83 auto& payload = req.get_request().get_payload();
84 payload.record.sw_if_index = m_itf.
value();
85 payload.record.input_source =
to_api(m_src);
126 return (
"qos-record-dump");
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
vapi::Qos_record_dump msg_t
rc_t wait()
Wait on the commands promise.
The VPP Object Model (VOM) library.
const static rc_t OK
The HW write was successfull.
rc_t issue(connection &con)
Issue the command to VPP/HW.
uint32_t value() const
get the value of the handle
A cmd class that Dumps all the GBP endpoints.
A base class for all RPC commands to VPP.
A cmd class that deletes a GBP endpoint.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
HW::item< bool > & m_hw_item
A reference to an object's HW::item that the command will update.
std::unique_ptr< vapi::Qos_record_dump > m_dump
The VAPI event registration.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
#define VAPI_CALL(_stmt)
Convenince wrapper macro for error handling in VAPI sends.
A representation of the connection to VPP.
rc_t wait()
Wait for the issue of the command to complete.
delete_cmd(HW::item< bool > &item, const handle_t &itf, const source_t &src)
Constructor.
A command class that creates or updates the GBP endpoint.
A type declaration of an interface handle in VPP.
vapi_enum_qos_source to_api(const source_t &s)
std::string to_string() const
convert to string format for debug purposes
vapi::Qos_record_enable_disable msg_t
convenient typedef
const std::string & to_string() const
convert to string format for debug purposes
create_cmd(HW::item< bool > &item, const handle_t &itf, const source_t &src)
Constructor.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
Error codes that VPP will return during a HW write.
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The Source of the QoS classification (i.e.
std::string to_string() const
convert to string format for debug purposes