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

#include <vm_interface.h>

Inheritance diagram for VmInterface::InstanceIp:
Collaboration diagram for VmInterface::InstanceIp:

Public Member Functions

 InstanceIp ()
 
 InstanceIp (const InstanceIp &rhs)
 
 InstanceIp (const IpAddress &ip, uint8_t plen, bool ecmp, bool is_primary, bool is_service_ip, bool is_service_health_check_ip, bool is_local, const IpAddress &tracking_ip)
 
 ~InstanceIp ()
 
bool operator== (const InstanceIp &rhs) const
 
bool operator() (const InstanceIp &lhs, const InstanceIp &rhs) const
 
InstanceIp operator= (const InstanceIp &rhs) const
 
bool IsLess (const InstanceIp *rhs) const
 
void Update (const Agent *agent, VmInterface *vmi, const VmInterface::InstanceIpList *list) const
 
void SetPrefixForAllocUnitIpam (VmInterface *intrface) 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
 
void Copy (const Agent *agent, const VmInterface *vmi) const
 
bool is_force_policy () const
 
bool IsL3Only () 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

const IpAddress ip_
 
uint8_t plen_
 
bool ecmp_
 
bool is_primary_
 
bool is_service_ip_
 
bool is_service_health_check_ip_
 
bool is_local_
 
IpAddress tracking_ip_
 
const 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 883 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::InstanceIp::InstanceIp ( )

Definition at line 1561 of file vm_interface.cc.

VmInterface::InstanceIp::InstanceIp ( const InstanceIp rhs)

Definition at line 1568 of file vm_interface.cc.

VmInterface::InstanceIp::InstanceIp ( const IpAddress ip,
uint8_t  plen,
bool  ecmp,
bool  is_primary,
bool  is_service_ip,
bool  is_service_health_check_ip,
bool  is_local,
const IpAddress tracking_ip 
)

Definition at line 1578 of file vm_interface.cc.

VmInterface::InstanceIp::~InstanceIp ( )

Definition at line 1591 of file vm_interface.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceState.

Definition at line 1659 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1695 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1723 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1668 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1715 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1637 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1678 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::InstanceIp::is_force_policy ( ) const
inline

Definition at line 914 of file vm_interface.h.

bool VmInterface::InstanceIp::IsL3Only ( ) const
inline

Definition at line 918 of file vm_interface.h.

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

Definition at line 1599 of file vm_interface.cc.

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

Definition at line 1594 of file vm_interface.cc.

Here is the call graph for this function:

InstanceIp VmInterface::InstanceIp::operator= ( const InstanceIp rhs) const
inline

Definition at line 894 of file vm_interface.h.

bool VmInterface::InstanceIp::operator== ( const InstanceIp rhs) const
void VmInterface::InstanceIp::SetPrefixForAllocUnitIpam ( VmInterface intrface) const

Definition at line 1603 of file vm_interface.cc.

Here is the call graph for this function:

void VmInterface::InstanceIp::Update ( const Agent agent,
VmInterface vmi,
const VmInterface::InstanceIpList list 
) const

Member Data Documentation

bool VmInterface::InstanceIp::ecmp_
mutable

Definition at line 924 of file vm_interface.h.

uint32_t VmInterface::InstanceIp::ethernet_tag_
mutable

Definition at line 931 of file vm_interface.h.

const IpAddress VmInterface::InstanceIp::ip_

Definition at line 922 of file vm_interface.h.

bool VmInterface::InstanceIp::is_local_
mutable

Definition at line 928 of file vm_interface.h.

bool VmInterface::InstanceIp::is_primary_
mutable

Definition at line 925 of file vm_interface.h.

bool VmInterface::InstanceIp::is_service_health_check_ip_
mutable

Definition at line 927 of file vm_interface.h.

bool VmInterface::InstanceIp::is_service_ip_
mutable

Definition at line 926 of file vm_interface.h.

uint8_t VmInterface::InstanceIp::plen_
mutable

Definition at line 923 of file vm_interface.h.

IpAddress VmInterface::InstanceIp::tracking_ip_
mutable

Definition at line 929 of file vm_interface.h.

const VrfEntry* VmInterface::InstanceIp::vrf_
mutable

Definition at line 930 of file vm_interface.h.


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