16 #ifndef __VOM_GBP_RECIRC_H__ 17 #define __VOM_GBP_RECIRC_H__ 52 type_t(
int v,
const std::string s);
75 const key_t
key()
const;
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;
void replay(void)
replay the object to create it in hardware
std::shared_ptr< gbp_recirc > singular() const
Return the matching 'singular instance'.
A template base class for all enum types.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
const handle_t & handle() const
return the recirculation interface's handle
const key_t key() const
Return the object's key.
bool operator==(const enum_base &e) const
Comparison operator.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
interface::key_t key_t
The key for a GBP recirc interface.
A Database to store the unique 'singular' instances of a single object type.
A recirculation interface for GBP use pre/post NAT.
A representation of an interface in VPP.
A entry in the ARP termination table of a Bridge Domain.
Class definition for listeners to OM events.
inspect command handler Handler
static const type_t EXTERNAL
External recirculation interfaces accept post-NAT translation traffic from the internal EPG and injec...
A type declaration of an interface handle in VPP.
const std::string & to_string() const
convert to string format for debug purposes
void event_handler(void *tls_async)
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
The interface to writing objects into VPP OM.
gbp_recirc(const interface &itf, const type_t &type, const gbp_endpoint_group &epg)
Construct a GBP recirc.
A base class for all object_base in the VPP object_base-Model.
static std::shared_ptr< gbp_recirc > find(const key_t &k)
Find the instnace of the recirc interface in the OM.
The VPP Object Model (VOM) library.
static const 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.