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

#include <dns_oper.h>

Inheritance diagram for GlobalQosConfig:
Collaboration diagram for GlobalQosConfig:

Public Member Functions

 GlobalQosConfig (IFMapNode *node)
 
 ~GlobalQosConfig ()
 
void OnAdd (IFMapNode *node)
 
void OnDelete ()
 
void OnChange (IFMapNode *node)
 
void SetDscp ()
 
 GlobalQosConfig (Agent *agent)
 
virtual ~GlobalQosConfig ()
 
void ConfigDelete (IFMapNode *node)
 
void ConfigAddChange (IFMapNode *node)
 
void ConfigManagerEnqueue (IFMapNode *node)
 
uint8_t control_dscp () const
 
uint8_t dns_dscp () const
 
uint8_t analytics_dscp () const
 
- Public Member Functions inherited from OperIFMapTable
 OperIFMapTable (Agent *agent)
 
virtual ~OperIFMapTable ()
 
Agentagent () const
 
OperDBoper () const
 
uint32_t Size () const
 
void ConfigEventHandler (IFMapNode *node, DBEntry *entry)
 
void ProcessConfig (IFMapNode *node)
 
- Public Member Functions inherited from DnsConfig
void MarkValid ()
 
bool IsValid () const
 
void ClearValid ()
 
void MarkNotified () const
 
bool IsNotified () const
 
void ClearNotified () const
 
void MarkDelete ()
 
bool IsDeleted () const
 
void ClearDelete ()
 
void MarkErrorLogged ()
 
bool IsErrorLogged () const
 
 DnsConfig (const std::string &name)
 
const std::string & GetName () const
 

Static Public Member Functions

static GlobalQosConfigFind (const std::string &name)
 
- Static Public Member Functions inherited from DnsConfig
static const std::string & ToEventString (DnsConfigEvent ev)
 

Public Attributes

uint8_t control_dscp_
 
uint8_t analytics_dscp_
 
- Public Attributes inherited from DnsConfig
std::string name_
 
uint8_t flags_
 

Static Public Attributes

static GlobalQosConfigsingleton_
 
static const uint8_t kInvalidDscp = 0xFF
 
- Static Public Attributes inherited from DnsConfig
static Callback VdnsCallback
 
static Callback VdnsRecordCallback
 
static ZoneCallback VdnsZoneCallback
 
static const std::string EventString []
 

Private Member Functions

void ResetDscp ()
 
void SetDnsDscp (uint8_t value)
 
 DISALLOW_COPY_AND_ASSIGN (GlobalQosConfig)
 

Private Attributes

uint8_t dns_dscp_
 

Additional Inherited Members

- Public Types inherited from OperIFMapTable
typedef std::map< IFMapNode
*, IFMapDependencyManager::IFMapNodePtr
Tree
 
- Public Types inherited from DnsConfig
enum  DnsConfigEvent { CFG_ADD, CFG_CHANGE, CFG_DELETE }
 
enum  DnsConfigFlags { DnsConfigValid = 1 << 0, DnsConfigNotified = 1 << 1, DnsConfigDeleteMarked = 1 << 2, DnsConfigErrorLogged = 1 << 3 }
 
typedef boost::function< void(const
DnsConfig
*, DnsConfig::DnsConfigEvent)> 
Callback
 
typedef boost::function< void(const
Subnet &, const
VirtualDnsConfig
*, DnsConfig::DnsConfigEvent)> 
ZoneCallback
 

Detailed Description

Definition at line 229 of file dns_oper.h.

Constructor & Destructor Documentation

GlobalQosConfig::GlobalQosConfig ( IFMapNode node)

Definition at line 716 of file dns_oper.cc.

GlobalQosConfig::~GlobalQosConfig ( )

Definition at line 722 of file dns_oper.cc.

GlobalQosConfig::GlobalQosConfig ( Agent agent)

Definition at line 13 of file global_qos_config.cc.

virtual GlobalQosConfig::~GlobalQosConfig ( )
virtual

Member Function Documentation

uint8_t GlobalQosConfig::analytics_dscp ( ) const
inline

Definition at line 23 of file global_qos_config.h.

void GlobalQosConfig::ConfigAddChange ( IFMapNode node)
virtual

Implements OperIFMapTable.

Definition at line 53 of file global_qos_config.cc.

Here is the call graph for this function:

void GlobalQosConfig::ConfigDelete ( IFMapNode node)
virtual

Implements OperIFMapTable.

Definition at line 47 of file global_qos_config.cc.

Here is the call graph for this function:

void GlobalQosConfig::ConfigManagerEnqueue ( IFMapNode node)
virtual

Implements OperIFMapTable.

Definition at line 77 of file global_qos_config.cc.

Here is the call graph for this function:

uint8_t GlobalQosConfig::control_dscp ( ) const
inline

Definition at line 21 of file global_qos_config.h.

GlobalQosConfig::DISALLOW_COPY_AND_ASSIGN ( GlobalQosConfig  )
private
uint8_t GlobalQosConfig::dns_dscp ( ) const
inline

Definition at line 22 of file global_qos_config.h.

GlobalQosConfig * GlobalQosConfig::Find ( const std::string &  name)
static

Definition at line 726 of file dns_oper.cc.

void GlobalQosConfig::OnAdd ( IFMapNode node)

Definition at line 737 of file dns_oper.cc.

Here is the call graph for this function:

void GlobalQosConfig::OnChange ( IFMapNode node)

Definition at line 762 of file dns_oper.cc.

Here is the call graph for this function:

void GlobalQosConfig::OnDelete ( )

Definition at line 754 of file dns_oper.cc.

Here is the call graph for this function:

void GlobalQosConfig::ResetDscp ( )
private

Definition at line 19 of file global_qos_config.cc.

Here is the call graph for this function:

void GlobalQosConfig::SetDnsDscp ( uint8_t  value)
private

Definition at line 40 of file global_qos_config.cc.

Here is the call graph for this function:

void GlobalQosConfig::SetDscp ( )

Definition at line 730 of file dns_oper.cc.

Here is the call graph for this function:

Member Data Documentation

uint8_t GlobalQosConfig::analytics_dscp_

Definition at line 240 of file dns_oper.h.

uint8_t GlobalQosConfig::control_dscp_

Definition at line 239 of file dns_oper.h.

uint8_t GlobalQosConfig::dns_dscp_
private

Definition at line 28 of file global_qos_config.h.

const uint8_t GlobalQosConfig::kInvalidDscp = 0xFF
static

Definition at line 14 of file global_qos_config.h.

GlobalQosConfig * GlobalQosConfig::singleton_
static

Definition at line 241 of file dns_oper.h.


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