OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VmInterfaceData Struct Referenceabstract

#include <vm_interface.h>

Inheritance diagram for VmInterfaceData:
Collaboration diagram for VmInterfaceData:

Public Types

enum  Type {
  CONFIG, INSTANCE_MSG, MIRROR, IP_ADDR,
  OS_OPER_STATE, GLOBAL_VROUTER, HEALTH_CHECK, DROP_NEW_FLOWS
}
 

Public Member Functions

 VmInterfaceData (Agent *agent, IFMapNode *node, Type type, Interface::Transport transport)
 
virtual ~VmInterfaceData ()
 
virtual VmInterfaceOnAdd (const InterfaceTable *table, const VmInterfaceKey *key) const
 
virtual bool OnDelete (const InterfaceTable *table, VmInterface *entry) const
 
virtual bool OnResync (const InterfaceTable *table, VmInterface *vmi, bool *force_update) const =0
 
- Public Member Functions inherited from InterfaceData
 InterfaceData (Agent *agent, IFMapNode *node, Interface::Transport transport)
 
void VmPortInit ()
 
void EthInit (const std::string &vrf_name)
 
void PktInit ()
 
void InetInit (const std::string &vrf_name)
 
void RemotePhysicalPortInit (const std::string &vrf_name)
 
- Public Member Functions inherited from AgentOperDBData
 AgentOperDBData (const Agent *agent, IFMapNode *node)
 
virtual ~AgentOperDBData ()
 
void SetIFMapNode (IFMapNode *node)
 
IFMapNodeifmap_node () const
 
const Agentagent () const
 
- Public Member Functions inherited from AgentData
 AgentData ()
 
virtual ~AgentData ()
 
- Public Member Functions inherited from DBRequestData
virtual ~DBRequestData ()
 

Public Attributes

Type type_
 
- Public Attributes inherited from InterfaceData
std::string vrf_name_
 
Interface::Transport transport_
 
boost::uuids::uuid logical_router_uuid_
 

Detailed Description

Definition at line 1847 of file vm_interface.h.

Member Enumeration Documentation

Enumerator
CONFIG 
INSTANCE_MSG 
MIRROR 
IP_ADDR 
OS_OPER_STATE 
GLOBAL_VROUTER 
HEALTH_CHECK 
DROP_NEW_FLOWS 

Definition at line 1848 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterfaceData::VmInterfaceData ( Agent agent,
IFMapNode node,
Type  type,
Interface::Transport  transport 
)
inline

Definition at line 1859 of file vm_interface.h.

Here is the call graph for this function:

virtual VmInterfaceData::~VmInterfaceData ( )
inlinevirtual

Definition at line 1864 of file vm_interface.h.

Member Function Documentation

virtual VmInterface* VmInterfaceData::OnAdd ( const InterfaceTable table,
const VmInterfaceKey key 
) const
inlinevirtual

Reimplemented in VmInterfaceIfNameData, VmInterfaceNovaData, and VmInterfaceConfigData.

Definition at line 1866 of file vm_interface.h.

virtual bool VmInterfaceData::OnDelete ( const InterfaceTable table,
VmInterface entry 
) const
inlinevirtual

Reimplemented in VmInterfaceIfNameData, VmInterfaceNovaData, and VmInterfaceConfigData.

Definition at line 1870 of file vm_interface.h.

Member Data Documentation

Type VmInterfaceData::type_

Definition at line 1877 of file vm_interface.h.


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