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

#include <vm_interface.h>

Inheritance diagram for VmInterface::TagEntry:
Collaboration diagram for VmInterface::TagEntry:

Public Member Functions

 TagEntry ()
 
 TagEntry (const TagEntry &rhs)
 
 TagEntry (uint32_t tag_type, const boost::uuids::uuid &uuid)
 
virtual ~TagEntry ()
 
bool operator== (const TagEntry &rhs) const
 
bool operator() (const TagEntry &lhs, const TagEntry &rhs) const
 
bool IsLess (const TagEntry *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
 
- 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 void Copy (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

TagEntryRef tag_
 
uint32_t type_
 
boost::uuids::uuid 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 809 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::TagEntry::TagEntry ( )

Definition at line 2869 of file vm_interface.cc.

VmInterface::TagEntry::TagEntry ( const TagEntry rhs)

Definition at line 2873 of file vm_interface.cc.

VmInterface::TagEntry::TagEntry ( uint32_t  tag_type,
const boost::uuids::uuid uuid 
)

Definition at line 2879 of file vm_interface.cc.

VmInterface::TagEntry::~TagEntry ( )
virtual

Definition at line 2883 of file vm_interface.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceState.

Definition at line 2908 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 2921 of file vm_interface.cc.

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

Reimplemented from VmInterfaceState.

Definition at line 2928 of file vm_interface.cc.

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

Definition at line 2895 of file vm_interface.cc.

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

Definition at line 2890 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::TagEntry::operator== ( const TagEntry rhs) const

Definition at line 2886 of file vm_interface.cc.

Member Data Documentation

TagEntryRef VmInterface::TagEntry::tag_
mutable

Definition at line 824 of file vm_interface.h.

uint32_t VmInterface::TagEntry::type_

Definition at line 825 of file vm_interface.h.

boost::uuids::uuid VmInterface::TagEntry::uuid_
mutable

Definition at line 826 of file vm_interface.h.


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