|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_NAT_STATIC_H__
17 #define __VOM_NAT_STATIC_H__
35 typedef std::pair<route::table_id_t, boost::asio::ip::address>
key_t;
75 std::shared_ptr<nat_static>
singular()
const;
80 static std::shared_ptr<nat_static>
find(
const key_t&
key);
85 static void dump(std::ostream& os);
115 void handle_replay();
120 void show(std::ostream& os);
141 static std::shared_ptr<nat_static> find_or_add(
const nat_static& temp);
166 std::shared_ptr<route_domain> m_rd;
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 ...
The interface to writing objects into VPP OM.
inspect command handler Handler
bool operator==(const nat_static &n) const
Comparison operator - for UT.
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
std::shared_ptr< nat_static > singular() const
Return the matching 'singular instance'.
A entry in the ARP termination table of a Bridge Domain.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
manual_print typedef address
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
nat_static(const boost::asio::ip::address &inside, const boost::asio::ip::address &outside)
Construct an NAT Static binding with the outside address in default table.
static std::shared_ptr< nat_static > find(const key_t &key)
Find the instnace of the bridge_domain domain in the OM.
const key_t key() const
Return the object's key.
A Database to store the unique 'singular' instances of a single object type.
std::pair< route::table_id_t, boost::asio::ip::address > key_t
The key for a NAT static mapping.
void replay(void)
replay the object to create it in hardware
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.
std::string to_string() const
Convert to string for debugging.