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

#include <vm_interface.h>

Inheritance diagram for VmInterface::AliasIp:
Collaboration diagram for VmInterface::AliasIp:

Public Member Functions

 AliasIp ()
 
 AliasIp (const AliasIp &rhs)
 
 AliasIp (const IpAddress &addr, const std::string &vrf, const boost::uuids::uuid &vn_uuid)
 
virtual ~AliasIp ()
 
bool operator() (const AliasIp &lhs, const AliasIp &rhs) const
 
bool IsLess (const AliasIp *rhs) 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
 
void Copy (const Agent *agent, const 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
 
virtual Op GetOpL2 (const Agent *agent, const VmInterface *vmi) const
 
virtual bool AddL2 (const Agent *agent, VmInterface *vmi) const
 
virtual bool DeleteL2 (const Agent *agent, VmInterface *vmi) const
 

Public Attributes

IpAddress alias_ip_
 
VnEntryRef vn_
 
VrfEntryRef vrf_
 
std::string vrf_name_
 
boost::uuids::uuid vn_uuid_
 
- 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 590 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::AliasIp::AliasIp ( )

Definition at line 2319 of file vm_interface.cc.

VmInterface::AliasIp::AliasIp ( const AliasIp rhs)

Definition at line 2324 of file vm_interface.cc.

VmInterface::AliasIp::AliasIp ( const IpAddress addr,
const std::string &  vrf,
const boost::uuids::uuid vn_uuid 
)

Definition at line 2331 of file vm_interface.cc.

VmInterface::AliasIp::~AliasIp ( )
virtual

Definition at line 2337 of file vm_interface.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceState.

Definition at line 2386 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 2365 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 2401 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 2354 of file vm_interface.cc.

Here is the call graph for this function:

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

Definition at line 2347 of file vm_interface.cc.

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

Definition at line 2340 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

IpAddress VmInterface::AliasIp::alias_ip_

Definition at line 606 of file vm_interface.h.

VnEntryRef VmInterface::AliasIp::vn_
mutable

Definition at line 607 of file vm_interface.h.

boost::uuids::uuid VmInterface::AliasIp::vn_uuid_

Definition at line 610 of file vm_interface.h.

VrfEntryRef VmInterface::AliasIp::vrf_
mutable

Definition at line 608 of file vm_interface.h.

std::string VmInterface::AliasIp::vrf_name_

Definition at line 609 of file vm_interface.h.


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