|
OpenSDN source code
|
#include <qos_config.h>


Public Types | |
| enum | Type { VHOST , FABRIC , DEFAULT } |
| typedef std::pair< uint32_t, uint32_t > | QosIdForwardingClassPair |
| typedef std::map< uint32_t, uint32_t > | QosIdForwardingClassMap |
Public Types inherited from AgentDBEntry | |
| typedef boost::intrusive_ptr< AgentDBEntry > | AgentDBEntyRef |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Member Functions | |
| AgentQosConfig (const boost::uuids::uuid uuid) | |
| virtual | ~AgentQosConfig () |
| KeyPtr | GetDBRequestKey () const |
| std::string | ToString () const |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual bool | DBEntrySandesh (Sandesh *resp, std::string &name) const |
| virtual bool | Change (const DBRequest *req) |
| virtual void | Delete (const DBRequest *req) |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual bool | DeleteOnZeroRefCount () const |
| virtual void | OnZeroRefCount () |
| uint32_t | GetRefCount () const |
| boost::uuids::uuid | uuid () const |
| void | set_id (uint32_t id) |
| uint32_t | id () const |
| std::string | name () const |
| const QosIdForwardingClassMap & | dscp_map () const |
| const QosIdForwardingClassMap & | vlan_priority_map () const |
| const QosIdForwardingClassMap & | mpls_exp_map () const |
| Type | type () const |
| uint32_t | default_forwarding_class () const |
| int | MsgLen () |
Public Member Functions inherited from AgentOperDBEntry | |
| AgentOperDBEntry () | |
| virtual | ~AgentOperDBEntry () |
| IFMapNode * | ifmap_node () const |
| void | SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref) |
Public Member Functions inherited from AgentDBEntry | |
| AgentDBEntry () | |
| virtual | ~AgentDBEntry () |
| void | SetRefState () const |
| void | ClearRefState () const |
| bool | IsActive () const |
| DBState * | GetAgentDBEntryState (int listener_id) |
| const DBState * | GetAgentDBEntryState (int listener_id) const |
| virtual void | AllocateResources (ResourceManager *resource_manager) |
| virtual void | FreeResources (ResourceManager *resource_manager) |
| virtual void | PostAdd () |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| DBEntryBase () | |
| virtual | ~DBEntryBase () |
| virtual bool | IsMoreSpecific (const std::string &match) const |
| virtual bool | IsLessSpecific (const std::string &match) const |
| void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
| void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
| DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
| const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
| bool | is_state_empty (DBTablePartBase *tpart) |
| bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
| void | Delete () |
| void | MarkDelete () |
| void | ClearDelete () |
| bool | IsDeleted () const |
| void | set_onlist () |
| void | clear_onlist () |
| bool | is_onlist () |
| void | SetOnRemoveQ () |
| bool | IsOnRemoveQ () |
| void | ClearOnRemoveQ () |
| void | set_last_change_at (uint64_t time) |
| void | set_last_change_at_to_now () |
| const uint64_t | last_change_at () const |
| const std::string | last_change_at_str () const |
| void | set_last_update_at (uint64_t time) |
| void | set_last_update_at_to_now () |
| const uint64_t | last_update_at () const |
| DBTablePartBase * | get_table_partition () const |
| void | set_table_partition (DBTablePartBase *tpart) |
| DBTableBase * | get_table () const |
| void | Notify () |
Static Public Attributes | |
| static const uint32_t | kDefaultQosMsgSize = 4098 |
Private Member Functions | |
| bool | VerifyLinkToGlobalQosConfig (const Agent *agent, const AgentQosConfigData *data) |
| void | HandleVhostQosConfig (const Agent *agent, const AgentQosConfigData *data, bool deleted) |
| void | HandleFabricQosConfig (const Agent *agent, const AgentQosConfigData *data, bool deleted) |
| void | HandleGlobalQosConfig (const AgentQosConfigData *data) |
| bool | HandleQosForwardingMapChange (const Agent *agent, QosIdForwardingClassMap &map, const AgentQosIdForwardingClassMap &data_map) |
| DISALLOW_COPY_AND_ASSIGN (AgentQosConfig) | |
Private Member Functions inherited from AgentRefCount< AgentQosConfig > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| boost::uuids::uuid | uuid_ |
| std::string | name_ |
| uint32_t | id_ |
| QosIdForwardingClassMap | dscp_map_ |
| QosIdForwardingClassMap | vlan_priority_map_ |
| QosIdForwardingClassMap | mpls_exp_map_ |
| Type | type_ |
| uint32_t | default_forwarding_class_ |
Private Attributes inherited from AgentRefCount< AgentQosConfig > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Additional Inherited Members | |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Definition at line 34 of file qos_config.h.
| typedef std::map<uint32_t, uint32_t> AgentQosConfig::QosIdForwardingClassMap |
Definition at line 44 of file qos_config.h.
| typedef std::pair<uint32_t, uint32_t> AgentQosConfig::QosIdForwardingClassPair |
Definition at line 43 of file qos_config.h.
| enum AgentQosConfig::Type |
| Enumerator | |
|---|---|
| VHOST | |
| FABRIC | |
| DEFAULT | |
Definition at line 38 of file qos_config.h.
| AgentQosConfig::AgentQosConfig | ( | const boost::uuids::uuid | uuid | ) |
Definition at line 20 of file qos_config.cc.
|
virtual |
|
virtual |
|
virtual |
Implements AgentDBEntry.
Definition at line 41 of file qos_config.cc.

|
inline |
Definition at line 97 of file qos_config.h.
|
virtual |
|
inlinevirtual |
Definition at line 58 of file qos_config.h.
|
private |
|
inline |
Definition at line 81 of file qos_config.h.
|
virtual |
Implements DBEntryBase.
Definition at line 30 of file qos_config.cc.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 62 of file qos_config.h.

|
private |
|
private |
|
private |
Definition at line 101 of file qos_config.cc.
|
private |
|
inline |
Definition at line 73 of file qos_config.h.
|
virtual |
Implements DBEntry.
Definition at line 96 of file qos_config.cc.
|
inline |
Definition at line 89 of file qos_config.h.
|
inline |
Definition at line 101 of file qos_config.h.
|
inline |
Definition at line 77 of file qos_config.h.
|
inlinevirtual |
Definition at line 61 of file qos_config.h.
|
inline |
|
virtual |
Implements DBEntry.
Definition at line 266 of file qos_config.cc.
|
virtual |
Implements DBEntryBase.
Definition at line 35 of file qos_config.cc.
|
inline |
Definition at line 93 of file qos_config.h.
|
inline |
Definition at line 66 of file qos_config.h.
|
private |
|
inline |
Definition at line 85 of file qos_config.h.
|
private |
Definition at line 121 of file qos_config.h.
|
private |
Definition at line 117 of file qos_config.h.
|
private |
Definition at line 116 of file qos_config.h.
|
static |
Definition at line 37 of file qos_config.h.
|
private |
Definition at line 119 of file qos_config.h.
|
private |
Definition at line 115 of file qos_config.h.
|
private |
Definition at line 120 of file qos_config.h.
|
private |
Definition at line 114 of file qos_config.h.
|
private |
Definition at line 118 of file qos_config.h.