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


Public Types | |
| typedef std::set< VnniConfig * > | VnniList |
| typedef std::map< std::string, IpamConfig * > | DataMap |
| typedef std::pair< std::string, IpamConfig * > | DataPair |
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 |
Public Member Functions | |
| IpamConfig (IFMapNode *node) | |
| ~IpamConfig () | |
| void | OnAdd (IFMapNode *node) |
| void | OnDelete () |
| void | OnChange (IFMapNode *node) |
| void | Add (VirtualDnsConfig *vdns) |
| void | Delete () |
| void | Notify (DnsConfig::DnsConfigEvent ev) |
| bool | GetObject (IFMapNode *node, autogen::IpamType &data) |
| void | AddVnni (VnniConfig *vnni) |
| void | DelVnni (VnniConfig *vnni) |
| std::string & | GetVirtualDnsName () |
| VirtualDnsConfig * | GetVirtualDns () |
| const VnniList & | GetVnniList () const |
| void | Trace (const std::string &ev) |
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 IpamConfig * | Find (std::string name) |
| static void | AssociateIpamVdns (VirtualDnsConfig *vdns) |
Static Public Member Functions inherited from DnsConfig | |
| static const std::string & | ToEventString (DnsConfigEvent ev) |
Public Attributes | |
| autogen::IpamType | rec_ |
| VirtualDnsConfig * | virtual_dns_ |
| VnniList | vnni_list_ |
Public Attributes inherited from DnsConfig | |
| std::string | name_ |
| uint8_t | flags_ |
Static Public Attributes | |
| static DataMap | ipam_config_ |
Static Public Attributes inherited from DnsConfig | |
| static Callback | VdnsCallback |
| static Callback | VdnsRecordCallback |
| static ZoneCallback | VdnsZoneCallback |
| static const std::string | EventString [] |
Definition at line 100 of file dns_oper.h.
| typedef std::map<std::string, IpamConfig *> IpamConfig::DataMap |
Definition at line 102 of file dns_oper.h.
| typedef std::pair<std::string, IpamConfig *> IpamConfig::DataPair |
Definition at line 103 of file dns_oper.h.
| typedef std::set<VnniConfig *> IpamConfig::VnniList |
Definition at line 101 of file dns_oper.h.
| IpamConfig::IpamConfig | ( | IFMapNode * | node | ) |
| IpamConfig::~IpamConfig | ( | ) |
Definition at line 190 of file dns_oper.cc.
| void IpamConfig::Add | ( | VirtualDnsConfig * | vdns | ) |
|
inline |
Definition at line 122 of file dns_oper.h.
|
static |
| void IpamConfig::Delete | ( | ) |
|
inline |
Definition at line 123 of file dns_oper.h.
|
static |
Definition at line 271 of file dns_oper.cc.
| bool IpamConfig::GetObject | ( | IFMapNode * | node, |
| autogen::IpamType & | data | ||
| ) |
|
inline |
Definition at line 127 of file dns_oper.h.
|
inline |
Definition at line 124 of file dns_oper.h.
|
inline |
Definition at line 128 of file dns_oper.h.
| void IpamConfig::Notify | ( | DnsConfig::DnsConfigEvent | ev | ) |
Definition at line 244 of file dns_oper.cc.
| void IpamConfig::OnAdd | ( | IFMapNode * | node | ) |
| void IpamConfig::OnChange | ( | IFMapNode * | node | ) |
| void IpamConfig::OnDelete | ( | ) |
| void IpamConfig::Trace | ( | const std::string & | ev | ) |
|
static |
Definition at line 108 of file dns_oper.h.
| autogen::IpamType IpamConfig::rec_ |
Definition at line 105 of file dns_oper.h.
| VirtualDnsConfig* IpamConfig::virtual_dns_ |
Definition at line 106 of file dns_oper.h.
| VnniList IpamConfig::vnni_list_ |
Definition at line 107 of file dns_oper.h.