16 #ifndef __VOM_IP_UNNUMBERED_H__ 17 #define __VOM_IP_UNNUMBERED_H__ 56 std::shared_ptr<ip_unnumbered>
singular()
const;
66 static void dump(std::ostream& os);
86 virtual ~event_handler() =
default;
101 void show(std::ostream& os);
112 static event_handler m_evh;
122 static std::shared_ptr<ip_unnumbered> find_or_add(
const ip_unnumbered& temp);
147 const std::shared_ptr<interface> m_itf;
151 const std::shared_ptr<interface> m_l3_itf;
std::string to_string() const
convert to string format for debug purposes
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
std::shared_ptr< ip_unnumbered > singular() const
Return the 'singular instance' of the L3-Config that matches this object.
interface::key_t key_t
The key type for ip_unnumbereds.
~ip_unnumbered()
Destructor.
A representation of IP unnumbered configuration on an interface.
A Database to store the unique 'singular' instances of a single object type.
A representation of an interface in VPP.
Class definition for listeners to OM events.
static void dump(std::ostream &os)
Dump all ip_unnumbereds into the stream provided.
inspect command handler Handler
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
ip_unnumbered(const interface &itf, const interface &l3_itf)
Construct a new object matching the desried state.
The interface to writing objects into VPP OM.
A base class for all object_base in the VPP object_base-Model.
The VPP Object Model (VOM) library.
std::string key_t
The key for interface's key.
static std::shared_ptr< ip_unnumbered > find(const interface &i)
Find an singular instance in the DB for the interface passed.