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

#include <vrf.h>

Inheritance diagram for VrfData:
Collaboration diagram for VrfData:

Public Types

enum  VrfEntryFlags { ConfigVrf = 1 << 0, GwVrf = 1 << 1, MirrorVrf = 1 << 2, PbbVrf = 1 << 3 }
 
enum  VrfId { FABRIC_VRF_ID, LINKLOCAL_VRF_ID }
 

Public Member Functions

 VrfData (Agent *agent, IFMapNode *node, uint32_t flags, const boost::uuids::uuid &vn_uuid, uint32_t isid, const std::string bmac_vrf_name, uint32_t mac_aging_time, bool learning_enabled, uint32_t hbf_rintf=Interface::kInvalidIndex, uint32_t hbf_lintf=Interface::kInvalidIndex)
 
virtual ~VrfData ()
 
uint32_t ConfigFlags ()
 
- 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

uint32_t flags_
 
boost::uuids::uuid vn_uuid_
 
boost::uuids::uuid si_vn_ref_uuid_
 
uint32_t isid_
 
std::string bmac_vrf_name_
 
uint32_t mac_aging_time_
 
bool learning_enabled_
 
std::string forwarding_vrf_name_
 
uint32_t hbf_rintf_
 
uint32_t hbf_lintf_
 

Detailed Description

Definition at line 41 of file vrf.h.

Member Enumeration Documentation

Enumerator
ConfigVrf 
GwVrf 
MirrorVrf 
PbbVrf 

Definition at line 42 of file vrf.h.

Enumerator
FABRIC_VRF_ID 
LINKLOCAL_VRF_ID 

Definition at line 52 of file vrf.h.

Constructor & Destructor Documentation

VrfData::VrfData ( Agent agent,
IFMapNode node,
uint32_t  flags,
const boost::uuids::uuid vn_uuid,
uint32_t  isid,
const std::string  bmac_vrf_name,
uint32_t  mac_aging_time,
bool  learning_enabled,
uint32_t  hbf_rintf = Interface::kInvalidIndex,
uint32_t  hbf_lintf = Interface::kInvalidIndex 
)
inline

Definition at line 57 of file vrf.h.

virtual VrfData::~VrfData ( )
inlinevirtual

Definition at line 68 of file vrf.h.

Member Function Documentation

uint32_t VrfData::ConfigFlags ( )
inline

Definition at line 70 of file vrf.h.

Member Data Documentation

std::string VrfData::bmac_vrf_name_

Definition at line 78 of file vrf.h.

uint32_t VrfData::flags_

Definition at line 74 of file vrf.h.

std::string VrfData::forwarding_vrf_name_

Definition at line 81 of file vrf.h.

uint32_t VrfData::hbf_lintf_

Definition at line 83 of file vrf.h.

uint32_t VrfData::hbf_rintf_

Definition at line 82 of file vrf.h.

uint32_t VrfData::isid_

Definition at line 77 of file vrf.h.

bool VrfData::learning_enabled_

Definition at line 80 of file vrf.h.

uint32_t VrfData::mac_aging_time_

Definition at line 79 of file vrf.h.

boost::uuids::uuid VrfData::si_vn_ref_uuid_

Definition at line 76 of file vrf.h.

boost::uuids::uuid VrfData::vn_uuid_

Definition at line 75 of file vrf.h.


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