OpenSDN source code
|
#include <dns_oper.h>
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 |
![]() | |
OperIFMapTable (Agent *agent) | |
virtual | ~OperIFMapTable () |
Agent * | agent () const |
OperDB * | oper () const |
uint32_t | Size () const |
void | ConfigEventHandler (IFMapNode *node, DBEntry *entry) |
void | ProcessConfig (IFMapNode *node) |
![]() | |
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 GlobalQosConfig * | Find (const std::string &name) |
![]() | |
static const std::string & | ToEventString (DnsConfigEvent ev) |
Public Attributes | |
uint8_t | control_dscp_ |
uint8_t | analytics_dscp_ |
![]() | |
std::string | name_ |
uint8_t | flags_ |
Static Public Attributes | |
static GlobalQosConfig * | singleton_ |
static const uint8_t | kInvalidDscp = 0xFF |
![]() | |
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 | |
![]() | |
typedef std::map< IFMapNode *, IFMapDependencyManager::IFMapNodePtr > | Tree |
![]() | |
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 |
Definition at line 229 of file dns_oper.h.
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 |
|
inline |
Definition at line 23 of file global_qos_config.h.
|
virtual |
Implements OperIFMapTable.
Definition at line 53 of file global_qos_config.cc.
|
virtual |
Implements OperIFMapTable.
Definition at line 47 of file global_qos_config.cc.
|
virtual |
Implements OperIFMapTable.
Definition at line 77 of file global_qos_config.cc.
|
inline |
Definition at line 21 of file global_qos_config.h.
|
private |
|
inline |
Definition at line 22 of file global_qos_config.h.
|
static |
Definition at line 726 of file dns_oper.cc.
void GlobalQosConfig::OnAdd | ( | IFMapNode * | node | ) |
void GlobalQosConfig::OnChange | ( | IFMapNode * | node | ) |
void GlobalQosConfig::OnDelete | ( | ) |
|
private |
|
private |
void GlobalQosConfig::SetDscp | ( | ) |
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.
|
private |
Definition at line 28 of file global_qos_config.h.
|
static |
Definition at line 14 of file global_qos_config.h.
|
static |
Definition at line 241 of file dns_oper.h.