|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_RECIRC_H__
17 #define __VOM_GBP_RECIRC_H__
85 std::shared_ptr<gbp_recirc>
singular()
const;
90 static std::shared_ptr<gbp_recirc>
find(
const key_t& k);
95 static void dump(std::ostream& os);
130 void handle_replay();
135 void show(std::ostream& os);
156 static std::shared_ptr<gbp_recirc> find_or_add(
const gbp_recirc& temp);
181 std::shared_ptr<interface> m_itf;
191 std::shared_ptr<gbp_endpoint_group> m_epg;
bool operator==(const gbp_recirc &bdae) const
comparison operator
The VPP Object Model (VOM) library.
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
gbp_recirc(const interface &itf, const type_t &type, const gbp_endpoint_group &epg)
Construct a GBP recirc.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
The interface to writing objects into VPP OM.
inspect command handler Handler
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
const handle_t & handle() const
return the recirculation interface's handle
std::string to_string() const
Convert to string for debugging.
A recirculation interface for GBP use pre/post NAT.
A template base class for all enum types.
A representation of an interface in VPP.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
A type declaration of an interface handle in VPP.
interface::key_t key_t
The key for a GBP recirc interface.
void replay(void)
replay the object to create it in hardware
A Database to store the unique 'singular' instances of a single object type.
const static type_t INTERNAL
Internal recirclation interfaces accept per-NAT translation traffic from the external/NAT EPG and inj...
std::string key_t
The key for interface's key.
const key_t key() const
Return the object's key.
void event_handler(void *tls_async)
A entry in the ARP termination table of a Bridge Domain.
A base class for all object_base in the VPP object_base-Model.
const static type_t EXTERNAL
External recirculation interfaces accept post-NAT translation traffic from the internal EPG and injec...
vl_api_fib_path_type_t type
static std::shared_ptr< gbp_recirc > find(const key_t &k)
Find the instnace of the recirc interface in the OM.
std::shared_ptr< gbp_recirc > singular() const
Return the matching 'singular instance'.