OpenSDN source code
|
#include <port_subscribe_table.h>
Public Types | |
enum | Type { VMPORT, NAMESPACE, REMOTE_PORT } |
Public Member Functions | |
PortSubscribeEntry (Type type, const std::string &ifname, int32_t version) | |
virtual | ~PortSubscribeEntry () |
virtual void | OnAdd (Agent *agent, PortSubscribeTable *table) const =0 |
virtual void | OnDelete (Agent *agent, PortSubscribeTable *table) const =0 |
virtual void | Update (const PortSubscribeEntry *rhs) |
Type | type () const |
const std::string & | ifname () const |
uint32_t | version () const |
virtual bool | MatchVn (const boost::uuids::uuid &u) const =0 |
virtual const boost::uuids::uuid & | vn_uuid () const =0 |
virtual bool | MatchVm (const boost::uuids::uuid &u) const =0 |
virtual const boost::uuids::uuid & | vm_uuid () const =0 |
Static Public Member Functions | |
static const char * | TypeToString (Type type) |
Protected Member Functions | |
DISALLOW_COPY_AND_ASSIGN (PortSubscribeEntry) | |
Protected Attributes | |
Type | type_ |
std::string | ifname_ |
uint16_t | version_ |
Definition at line 36 of file port_subscribe_table.h.
Enumerator | |
---|---|
VMPORT | |
NAMESPACE | |
REMOTE_PORT |
Definition at line 38 of file port_subscribe_table.h.
PortSubscribeEntry::PortSubscribeEntry | ( | Type | type, |
const std::string & | ifname, | ||
int32_t | version | ||
) |
Definition at line 37 of file port_subscribe_table.cc.
|
virtual |
Definition at line 42 of file port_subscribe_table.cc.
|
protected |
|
inline |
Definition at line 53 of file port_subscribe_table.h.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
inline |
Definition at line 52 of file port_subscribe_table.h.
|
static |
Definition at line 50 of file port_subscribe_table.cc.
|
virtual |
Reimplemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
Definition at line 46 of file port_subscribe_table.cc.
|
inline |
Definition at line 54 of file port_subscribe_table.h.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
pure virtual |
Implemented in VmVnPortSubscribeEntry, and VmiSubscribeEntry.
|
protected |
Definition at line 63 of file port_subscribe_table.h.
|
protected |
Definition at line 62 of file port_subscribe_table.h.
|
protected |
Definition at line 64 of file port_subscribe_table.h.