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

#include <vm_interface.h>

Inheritance diagram for VmInterface::AllowedAddressPair:
Collaboration diagram for VmInterface::AllowedAddressPair:

Public Member Functions

 AllowedAddressPair ()
 
 AllowedAddressPair (const AllowedAddressPair &rhs)
 
 AllowedAddressPair (const IpAddress &addr, uint32_t plen, bool ecmp, const MacAddress &mac)
 
virtual ~AllowedAddressPair ()
 
bool operator() (const AllowedAddressPair &lhs, const AllowedAddressPair &rhs) const
 
bool operator== (const AllowedAddressPair &rhs) const
 
bool IsLess (const AllowedAddressPair *rhs) const
 
void Copy (const Agent *agent, const VmInterface *vmi) const
 
VmInterfaceState::Op GetOpL3 (const Agent *agent, const VmInterface *vmi) const
 
bool AddL3 (const Agent *agent, VmInterface *vmi) const
 
bool DeleteL3 (const Agent *agent, VmInterface *vmi) const
 
VmInterfaceState::Op GetOpL2 (const Agent *agent, const VmInterface *vmi) const
 
bool AddL2 (const Agent *agent, VmInterface *vmi) const
 
bool DeleteL2 (const Agent *agent, VmInterface *vmi) const
 
- Public Member Functions inherited from VmInterface::ListEntry
 ListEntry ()
 
 ListEntry (bool del_pending)
 
virtual ~ListEntry ()
 
bool del_pending () const
 
void set_del_pending (bool val) const
 
VmInterfaceState::Op GetOp (VmInterfaceState::Op op) const
 
- Public Member Functions inherited from VmInterfaceState
 VmInterfaceState ()
 
 VmInterfaceState (bool l2_installed, bool l3_installed)
 
virtual ~VmInterfaceState ()
 
bool Installed () const
 
virtual bool Update (const Agent *agent, VmInterface *vmi, Op l2_force_op, Op l3_force_op) const
 

Public Attributes

IpAddress addr_
 
uint32_t plen_
 
bool ecmp_
 
MacAddress mac_
 
bool ecmp_config_changed_
 
IpAddress service_ip_
 
uint32_t label_
 
NextHopRef policy_enabled_nh_
 
NextHopRef policy_disabled_nh_
 
VrfEntryvrf_
 
uint32_t ethernet_tag_
 
- Public Attributes inherited from VmInterface::ListEntry
bool del_pending_
 
- Public Attributes inherited from VmInterfaceState
bool l2_installed_
 
bool l3_installed_
 

Additional Inherited Members

- Public Types inherited from VmInterfaceState
enum  Op { INVALID, ADD, DEL_ADD, DEL }
 
- Static Public Member Functions inherited from VmInterfaceState
static Op RecomputeOp (Op old_op, Op new_op)
 

Detailed Description

Definition at line 716 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::AllowedAddressPair::AllowedAddressPair ( )

Definition at line 2616 of file vm_interface.cc.

VmInterface::AllowedAddressPair::AllowedAddressPair ( const AllowedAddressPair rhs)

Definition at line 2623 of file vm_interface.cc.

VmInterface::AllowedAddressPair::AllowedAddressPair ( const IpAddress addr,
uint32_t  plen,
bool  ecmp,
const MacAddress mac 
)

Definition at line 2635 of file vm_interface.cc.

VmInterface::AllowedAddressPair::~AllowedAddressPair ( )
virtual

Definition at line 2644 of file vm_interface.cc.

Member Function Documentation

bool VmInterface::AllowedAddressPair::AddL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2682 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::AllowedAddressPair::AddL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2753 of file vm_interface.cc.

Here is the call graph for this function:

void VmInterface::AllowedAddressPair::Copy ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2665 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::AllowedAddressPair::DeleteL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2708 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::AllowedAddressPair::DeleteL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2739 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmInterface::AllowedAddressPair::GetOpL2 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2672 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmInterface::AllowedAddressPair::GetOpL3 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2732 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::AllowedAddressPair::IsLess ( const AllowedAddressPair rhs) const

Definition at line 2653 of file vm_interface.cc.

bool VmInterface::AllowedAddressPair::operator() ( const AllowedAddressPair lhs,
const AllowedAddressPair rhs 
) const

Definition at line 2647 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::AllowedAddressPair::operator== ( const AllowedAddressPair rhs) const
inline

Definition at line 725 of file vm_interface.h.

Member Data Documentation

IpAddress VmInterface::AllowedAddressPair::addr_

Definition at line 741 of file vm_interface.h.

bool VmInterface::AllowedAddressPair::ecmp_
mutable

Definition at line 743 of file vm_interface.h.

bool VmInterface::AllowedAddressPair::ecmp_config_changed_
mutable

Definition at line 745 of file vm_interface.h.

uint32_t VmInterface::AllowedAddressPair::ethernet_tag_
mutable

Definition at line 751 of file vm_interface.h.

uint32_t VmInterface::AllowedAddressPair::label_
mutable

Definition at line 747 of file vm_interface.h.

MacAddress VmInterface::AllowedAddressPair::mac_

Definition at line 744 of file vm_interface.h.

uint32_t VmInterface::AllowedAddressPair::plen_

Definition at line 742 of file vm_interface.h.

NextHopRef VmInterface::AllowedAddressPair::policy_disabled_nh_
mutable

Definition at line 749 of file vm_interface.h.

NextHopRef VmInterface::AllowedAddressPair::policy_enabled_nh_
mutable

Definition at line 748 of file vm_interface.h.

IpAddress VmInterface::AllowedAddressPair::service_ip_
mutable

Definition at line 746 of file vm_interface.h.

VrfEntry* VmInterface::AllowedAddressPair::vrf_
mutable

Definition at line 750 of file vm_interface.h.


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