OpenSDN source code
|
#include <port_subscribe_table.h>
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::uuid & | vn_uuid () const |
virtual bool | MatchVm (const boost::uuids::uuid &u) const |
virtual const boost::uuids::uuid & | vm_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::uuid & | vmi_uuid () const |
![]() | |
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 | |
![]() | |
enum | Type { VMPORT, NAMESPACE, REMOTE_PORT } |
![]() | |
static const char * | TypeToString (Type type) |
![]() | |
DISALLOW_COPY_AND_ASSIGN (PortSubscribeEntry) | |
![]() | |
Type | type_ |
std::string | ifname_ |
uint16_t | version_ |
Definition at line 124 of file port_subscribe_table.h.
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.
|
private |
|
virtual |
Implements PortSubscribeEntry.
Definition at line 198 of file port_subscribe_table.cc.
|
virtual |
Implements PortSubscribeEntry.
Definition at line 191 of file port_subscribe_table.cc.
|
virtual |
Implements PortSubscribeEntry.
Definition at line 180 of file port_subscribe_table.cc.
|
virtual |
Implements PortSubscribeEntry.
Definition at line 186 of file port_subscribe_table.cc.
|
inline |
Definition at line 150 of file port_subscribe_table.h.
|
virtual |
Reimplemented from PortSubscribeEntry.
Definition at line 176 of file port_subscribe_table.cc.
|
inline |
Definition at line 147 of file port_subscribe_table.h.
|
inline |
Definition at line 148 of file port_subscribe_table.h.
|
inline |
Definition at line 146 of file port_subscribe_table.h.
|
inline |
Definition at line 149 of file port_subscribe_table.h.
|
inlinevirtual |
Implements PortSubscribeEntry.
Definition at line 140 of file port_subscribe_table.h.
|
inline |
Definition at line 151 of file port_subscribe_table.h.
|
inlinevirtual |
Implements PortSubscribeEntry.
Definition at line 138 of file port_subscribe_table.h.
|
private |
Definition at line 156 of file port_subscribe_table.h.
|
private |
Definition at line 157 of file port_subscribe_table.h.
|
private |
Definition at line 155 of file port_subscribe_table.h.
|
private |
Definition at line 158 of file port_subscribe_table.h.
|
private |
Definition at line 153 of file port_subscribe_table.h.
|
private |
Definition at line 159 of file port_subscribe_table.h.
|
private |
Definition at line 154 of file port_subscribe_table.h.