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

#include <port_subscribe_table.h>

Inheritance diagram for VmVnPortSubscribeEntry:
Collaboration diagram for VmVnPortSubscribeEntry:

Public Member Functions

 VmVnPortSubscribeEntry (PortSubscribeEntry::Type type, const std::string &ifname, uint32_t version, const boost::uuids::uuid &vm_uuid, const boost::uuids::uuid &vn_uuid, const boost::uuids::uuid &vmi_uuid, const std::string &vm_name, const std::string &vm_identifier, const std::string &vm_ifname, const std::string &vm_namespace)
 
 ~VmVnPortSubscribeEntry ()
 
virtual bool MatchVn (const boost::uuids::uuid &u) const
 
virtual const boost::uuids::uuidvn_uuid () const
 
virtual bool MatchVm (const boost::uuids::uuid &u) const
 
virtual const boost::uuids::uuidvm_uuid () const
 
virtual void Update (const PortSubscribeEntry *rhs)
 
void OnAdd (Agent *agent, PortSubscribeTable *table) const
 
void OnDelete (Agent *agent, PortSubscribeTable *table) const
 
const std::string & vm_name () const
 
const std::string & vm_identifier () const
 
const std::string & vm_ifname () const
 
const std::string & vm_namespace () const
 
void set_vmi_uuid (const boost::uuids::uuid &u)
 
const boost::uuids::uuidvmi_uuid () const
 
- Public Member Functions inherited from PortSubscribeEntry
 PortSubscribeEntry (Type type, const std::string &ifname, int32_t version)
 
virtual ~PortSubscribeEntry ()
 
Type type () const
 
const std::string & ifname () const
 
uint32_t version () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (VmVnPortSubscribeEntry)
 

Private Attributes

boost::uuids::uuid vm_uuid_
 
boost::uuids::uuid vn_uuid_
 
std::string vm_name_
 
std::string vm_identifier_
 
std::string vm_ifname_
 
std::string vm_namespace_
 
boost::uuids::uuid vmi_uuid_
 

Additional Inherited Members

- Public Types inherited from PortSubscribeEntry
enum  Type { VMPORT, NAMESPACE, REMOTE_PORT }
 
- Static Public Member Functions inherited from PortSubscribeEntry
static const char * TypeToString (Type type)
 
- Protected Member Functions inherited from PortSubscribeEntry
 DISALLOW_COPY_AND_ASSIGN (PortSubscribeEntry)
 
- Protected Attributes inherited from PortSubscribeEntry
Type type_
 
std::string ifname_
 
uint16_t version_
 

Detailed Description

Definition at line 124 of file port_subscribe_table.h.

Constructor & Destructor Documentation

VmVnPortSubscribeEntry::VmVnPortSubscribeEntry ( PortSubscribeEntry::Type  type,
const std::string &  ifname,
uint32_t  version,
const boost::uuids::uuid vm_uuid,
const boost::uuids::uuid vn_uuid,
const boost::uuids::uuid vmi_uuid,
const std::string &  vm_name,
const std::string &  vm_identifier,
const std::string &  vm_ifname,
const std::string &  vm_namespace 
)

Definition at line 163 of file port_subscribe_table.cc.

VmVnPortSubscribeEntry::~VmVnPortSubscribeEntry ( )

Definition at line 173 of file port_subscribe_table.cc.

Member Function Documentation

VmVnPortSubscribeEntry::DISALLOW_COPY_AND_ASSIGN ( VmVnPortSubscribeEntry  )
private
bool VmVnPortSubscribeEntry::MatchVm ( const boost::uuids::uuid u) const
virtual

Implements PortSubscribeEntry.

Definition at line 198 of file port_subscribe_table.cc.

bool VmVnPortSubscribeEntry::MatchVn ( const boost::uuids::uuid u) const
virtual

Implements PortSubscribeEntry.

Definition at line 191 of file port_subscribe_table.cc.

void VmVnPortSubscribeEntry::OnAdd ( Agent agent,
PortSubscribeTable table 
) const
virtual

Implements PortSubscribeEntry.

Definition at line 180 of file port_subscribe_table.cc.

Here is the call graph for this function:

void VmVnPortSubscribeEntry::OnDelete ( Agent agent,
PortSubscribeTable table 
) const
virtual

Implements PortSubscribeEntry.

Definition at line 186 of file port_subscribe_table.cc.

Here is the call graph for this function:

void VmVnPortSubscribeEntry::set_vmi_uuid ( const boost::uuids::uuid u)
inline

Definition at line 150 of file port_subscribe_table.h.

void VmVnPortSubscribeEntry::Update ( const PortSubscribeEntry rhs)
virtual

Reimplemented from PortSubscribeEntry.

Definition at line 176 of file port_subscribe_table.cc.

Here is the call graph for this function:

const std::string& VmVnPortSubscribeEntry::vm_identifier ( ) const
inline

Definition at line 147 of file port_subscribe_table.h.

const std::string& VmVnPortSubscribeEntry::vm_ifname ( ) const
inline

Definition at line 148 of file port_subscribe_table.h.

const std::string& VmVnPortSubscribeEntry::vm_name ( ) const
inline

Definition at line 146 of file port_subscribe_table.h.

const std::string& VmVnPortSubscribeEntry::vm_namespace ( ) const
inline

Definition at line 149 of file port_subscribe_table.h.

virtual const boost::uuids::uuid& VmVnPortSubscribeEntry::vm_uuid ( ) const
inlinevirtual

Implements PortSubscribeEntry.

Definition at line 140 of file port_subscribe_table.h.

const boost::uuids::uuid& VmVnPortSubscribeEntry::vmi_uuid ( ) const
inline

Definition at line 151 of file port_subscribe_table.h.

virtual const boost::uuids::uuid& VmVnPortSubscribeEntry::vn_uuid ( ) const
inlinevirtual

Implements PortSubscribeEntry.

Definition at line 138 of file port_subscribe_table.h.

Member Data Documentation

std::string VmVnPortSubscribeEntry::vm_identifier_
private

Definition at line 156 of file port_subscribe_table.h.

std::string VmVnPortSubscribeEntry::vm_ifname_
private

Definition at line 157 of file port_subscribe_table.h.

std::string VmVnPortSubscribeEntry::vm_name_
private

Definition at line 155 of file port_subscribe_table.h.

std::string VmVnPortSubscribeEntry::vm_namespace_
private

Definition at line 158 of file port_subscribe_table.h.

boost::uuids::uuid VmVnPortSubscribeEntry::vm_uuid_
private

Definition at line 153 of file port_subscribe_table.h.

boost::uuids::uuid VmVnPortSubscribeEntry::vmi_uuid_
private

Definition at line 159 of file port_subscribe_table.h.

boost::uuids::uuid VmVnPortSubscribeEntry::vn_uuid_
private

Definition at line 154 of file port_subscribe_table.h.


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