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

#include <physical_interface.h>

Inheritance diagram for PhysicalInterfaceOsOperStateData:
Collaboration diagram for PhysicalInterfaceOsOperStateData:

Public Types

enum  bond_intf_type { VR_FABRIC = 1, VR_BOND_SLAVES }
 

Public Member Functions

 PhysicalInterfaceOsOperStateData (unsigned short int type_, std::string intf_name, std::string intf_drv_name, bool status)
 
virtual ~PhysicalInterfaceOsOperStateData ()
 
virtual bool OnResync (PhysicalInterface *phy_intf) const
 
- Public Member Functions inherited from PhysicalInterfaceData
 PhysicalInterfaceData (Agent *agent, IFMapNode *node, const std::string &vrf_name, PhysicalInterface::SubType subtype, PhysicalInterface::EncapType encap, bool no_arp, const boost::uuids::uuid &device_uuid, const std::string &display_name, const Ip4Address &ip, Interface::Transport transport)
 
virtual ~PhysicalInterfaceData ()
 
- 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

unsigned short int type_
 
string intf_name
 
string intf_drv_name
 
bool oper_state_
 
- Public Attributes inherited from PhysicalInterfaceData
PhysicalInterface::SubType subtype_
 
PhysicalInterface::EncapType encap_type_
 
bool no_arp_
 
boost::uuids::uuid device_uuid_
 
std::string display_name_
 
Ip4Address ip_
 
- Public Attributes inherited from InterfaceData
std::string vrf_name_
 
Interface::Transport transport_
 
boost::uuids::uuid logical_router_uuid_
 

Detailed Description

Definition at line 138 of file physical_interface.h.

Member Enumeration Documentation

Enumerator
VR_FABRIC 
VR_BOND_SLAVES 

Definition at line 139 of file physical_interface.h.

Constructor & Destructor Documentation

PhysicalInterfaceOsOperStateData::PhysicalInterfaceOsOperStateData ( unsigned short int  type_,
std::string  intf_name,
std::string  intf_drv_name,
bool  status 
)
inline

Definition at line 144 of file physical_interface.h.

virtual PhysicalInterfaceOsOperStateData::~PhysicalInterfaceOsOperStateData ( )
inlinevirtual

Definition at line 151 of file physical_interface.h.

Member Function Documentation

bool PhysicalInterfaceOsOperStateData::OnResync ( PhysicalInterface phy_intf) const
virtual

Definition at line 87 of file physical_interface.cc.

Here is the call graph for this function:

Member Data Documentation

string PhysicalInterfaceOsOperStateData::intf_drv_name

Definition at line 156 of file physical_interface.h.

string PhysicalInterfaceOsOperStateData::intf_name

Definition at line 155 of file physical_interface.h.

bool PhysicalInterfaceOsOperStateData::oper_state_

Definition at line 157 of file physical_interface.h.

unsigned short int PhysicalInterfaceOsOperStateData::type_

Definition at line 154 of file physical_interface.h.


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