FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
VOM::interface_ip6_nd< CLASS, CMD > Class Template Reference

A representation of L3 configuration on an interface. More...

+ Inheritance diagram for VOM::interface_ip6_nd< CLASS, CMD >:
+ Collaboration diagram for VOM::interface_ip6_nd< CLASS, CMD >:

Data Structures

class  config_cmd
 A functor class that binds the ra config to the interface. More...
 
class  unconfig_cmd
 A cmd class that Unbinds L3 Config from an interface. More...
 

Public Types

typedef CLASS class_t
 
typedef interface::key_t key_t
 The key type for interface ip6 nd. More...
 

Public Member Functions

 interface_ip6_nd (const interface &itf, const class_t cls)
 Construct a new object matching the desried state. More...
 
 interface_ip6_nd (const interface_ip6_nd &o)
 Copy Constructor. More...
 
 ~interface_ip6_nd ()
 Destructor. More...
 
std::shared_ptr< interface_ip6_ndsingular () const
 Return the 'singular instance' of the interface ip6nd that matches this object. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 

Static Public Member Functions

static void dump (std::ostream &os)
 Dump all config into the stream provided. More...
 
static std::shared_ptr< interface_ip6_ndfind (const interface &i)
 Find an singular instance in the DB for the interface passed. More...
 

Friends

class OM
 
class singular_db< key_t, interface_ip6_nd >
 It's the singular_db class that calls replay() More...
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::object_base
 object_base ()=default
 Constructable by derived classes only. More...
 
virtual ~object_base ()=default
 Destructor. More...
 

Detailed Description

template<typename CLASS, typename CMD>
class VOM::interface_ip6_nd< CLASS, CMD >

A representation of L3 configuration on an interface.

Definition at line 35 of file interface_ip6_nd.hpp.

Member Typedef Documentation

template<typename CLASS, typename CMD>
typedef CLASS VOM::interface_ip6_nd< CLASS, CMD >::class_t

Definition at line 38 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
typedef interface::key_t VOM::interface_ip6_nd< CLASS, CMD >::key_t

The key type for interface ip6 nd.

Definition at line 98 of file interface_ip6_nd.hpp.

Constructor & Destructor Documentation

template<typename CLASS, typename CMD>
VOM::interface_ip6_nd< CLASS, CMD >::interface_ip6_nd ( const interface itf,
const class_t  cls 
)
inline

Construct a new object matching the desried state.

Definition at line 42 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
VOM::interface_ip6_nd< CLASS, CMD >::interface_ip6_nd ( const interface_ip6_nd< CLASS, CMD > &  o)
inline

Copy Constructor.

Definition at line 52 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
VOM::interface_ip6_nd< CLASS, CMD >::~interface_ip6_nd ( )
inline

Destructor.

Definition at line 62 of file interface_ip6_nd.hpp.

Member Function Documentation

template<typename CLASS, typename CMD>
static void VOM::interface_ip6_nd< CLASS, CMD >::dump ( std::ostream &  os)
inlinestatic

Dump all config into the stream provided.

Definition at line 93 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
static std::shared_ptr<interface_ip6_nd> VOM::interface_ip6_nd< CLASS, CMD >::find ( const interface i)
inlinestatic

Find an singular instance in the DB for the interface passed.

Definition at line 103 of file interface_ip6_nd.hpp.

+ Here is the call graph for this function:

template<typename CLASS, typename CMD>
std::shared_ptr<interface_ip6_nd> VOM::interface_ip6_nd< CLASS, CMD >::singular ( ) const
inline

Return the 'singular instance' of the interface ip6nd that matches this object.

Definition at line 72 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
std::string VOM::interface_ip6_nd< CLASS, CMD >::to_string ( void  ) const
inlinevirtual

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 80 of file interface_ip6_nd.hpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

template<typename CLASS, typename CMD>
friend class OM
friend

Definition at line 323 of file interface_ip6_nd.hpp.

template<typename CLASS, typename CMD>
friend class singular_db< key_t, interface_ip6_nd >
friend

It's the singular_db class that calls replay()

Definition at line 328 of file interface_ip6_nd.hpp.


The documentation for this class was generated from the following file: