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

#include <vm_interface.h>

Inheritance diagram for VmInterfaceNovaData:
Collaboration diagram for VmInterfaceNovaData:

Public Member Functions

 VmInterfaceNovaData ()
 
 VmInterfaceNovaData (const Ip4Address &ipv4_addr, const Ip6Address &ipv6_addr, const std::string &mac_addr, const std::string vm_name, boost::uuids::uuid vm_uuid, boost::uuids::uuid vm_project_uuid, const std::string &parent, uint16_t tx_vlan_id, uint16_t rx_vlan_id, VmInterface::DeviceType device_type, VmInterface::VmiType vmi_type, uint8_t vhostuser_mode, Interface::Transport transport, uint8_t link_state)
 
virtual ~VmInterfaceNovaData ()
 
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
 
- Public Member Functions inherited from VmInterfaceData
 VmInterfaceData (Agent *agent, IFMapNode *node, Type type, Interface::Transport transport)
 
virtual ~VmInterfaceData ()
 
- 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

Ip4Address ipv4_addr_
 
Ip6Address ipv6_addr_
 
std::string mac_addr_
 
std::string vm_name_
 
boost::uuids::uuid vm_uuid_
 
boost::uuids::uuid vm_project_uuid_
 
std::string physical_interface_
 
uint16_t tx_vlan_id_
 
uint16_t rx_vlan_id_
 
VmInterface::DeviceType device_type_
 
VmInterface::VmiType vmi_type_
 
uint8_t vhostuser_mode_
 
uint8_t link_state_
 
- Public Attributes inherited from VmInterfaceData
Type type_
 
- Public Attributes inherited from InterfaceData
std::string vrf_name_
 
Interface::Transport transport_
 
boost::uuids::uuid logical_router_uuid_
 

Additional Inherited Members

- Public Types inherited from VmInterfaceData
enum  Type {
  CONFIG, INSTANCE_MSG, MIRROR, IP_ADDR,
  OS_OPER_STATE, GLOBAL_VROUTER, HEALTH_CHECK, DROP_NEW_FLOWS
}
 

Detailed Description

Definition at line 2009 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterfaceNovaData::VmInterfaceNovaData ( )

Definition at line 855 of file vm_interface_request.cc.

VmInterfaceNovaData::VmInterfaceNovaData ( const Ip4Address ipv4_addr,
const Ip6Address ipv6_addr,
const std::string &  mac_addr,
const std::string  vm_name,
boost::uuids::uuid  vm_uuid,
boost::uuids::uuid  vm_project_uuid,
const std::string &  parent,
uint16_t  tx_vlan_id,
uint16_t  rx_vlan_id,
VmInterface::DeviceType  device_type,
VmInterface::VmiType  vmi_type,
uint8_t  vhostuser_mode,
Interface::Transport  transport,
uint8_t  link_state 
)

Definition at line 869 of file vm_interface_request.cc.

VmInterfaceNovaData::~VmInterfaceNovaData ( )
virtual

Definition at line 898 of file vm_interface_request.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceData.

Definition at line 901 of file vm_interface_request.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceData.

Definition at line 934 of file vm_interface_request.cc.

Here is the call graph for this function:

bool VmInterfaceNovaData::OnResync ( const InterfaceTable table,
VmInterface vmi,
bool *  force_update 
) const
virtual

Implements VmInterfaceData.

Definition at line 948 of file vm_interface_request.cc.

Here is the call graph for this function:

Member Data Documentation

VmInterface::DeviceType VmInterfaceNovaData::device_type_

Definition at line 2042 of file vm_interface.h.

Ip4Address VmInterfaceNovaData::ipv4_addr_

Definition at line 2033 of file vm_interface.h.

Ip6Address VmInterfaceNovaData::ipv6_addr_

Definition at line 2034 of file vm_interface.h.

uint8_t VmInterfaceNovaData::link_state_

Definition at line 2045 of file vm_interface.h.

std::string VmInterfaceNovaData::mac_addr_

Definition at line 2035 of file vm_interface.h.

std::string VmInterfaceNovaData::physical_interface_

Definition at line 2039 of file vm_interface.h.

uint16_t VmInterfaceNovaData::rx_vlan_id_

Definition at line 2041 of file vm_interface.h.

uint16_t VmInterfaceNovaData::tx_vlan_id_

Definition at line 2040 of file vm_interface.h.

uint8_t VmInterfaceNovaData::vhostuser_mode_

Definition at line 2044 of file vm_interface.h.

std::string VmInterfaceNovaData::vm_name_

Definition at line 2036 of file vm_interface.h.

boost::uuids::uuid VmInterfaceNovaData::vm_project_uuid_

Definition at line 2038 of file vm_interface.h.

boost::uuids::uuid VmInterfaceNovaData::vm_uuid_

Definition at line 2037 of file vm_interface.h.

VmInterface::VmiType VmInterfaceNovaData::vmi_type_

Definition at line 2043 of file vm_interface.h.


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