|
OpenSDN source code
|
#include <vn.h>
Public Types | |
| typedef std::map< std::string, autogen::IpamType > | IpamDomainConfigMap |
| typedef std::pair< std::string, autogen::IpamType > | IpamDomainConfigPair |
| typedef std::map< std::string, autogen::VirtualDnsType > | VdnsDomainConfigMap |
| typedef std::pair< std::string, autogen::VirtualDnsType > | VdnsDomainConfigPair |
| typedef boost::function< void(IFMapNode *)> | Callback |
Public Member Functions | |
| DomainConfig (Agent *) | |
| virtual | ~DomainConfig () |
| void | Init () |
| void | Terminate () |
| void | RegisterIpamCb (Callback cb) |
| void | RegisterVdnsCb (Callback cb) |
| void | IpamDelete (IFMapNode *node) |
| void | IpamAddChange (IFMapNode *node) |
| void | VDnsDelete (IFMapNode *node) |
| void | VDnsAddChange (IFMapNode *node) |
| bool | GetIpam (const std::string &name, autogen::IpamType *ipam) |
| bool | GetVDns (const std::string &vdns, autogen::VirtualDnsType *vdns_type) |
Private Member Functions | |
| void | CallVdnsCb (IFMapNode *node) |
| void | CallIpamCb (IFMapNode *node) |
| bool | IpamChanged (const autogen::IpamType &old, const autogen::IpamType &cur) const |
| DISALLOW_COPY_AND_ASSIGN (DomainConfig) | |
Private Attributes | |
| IpamDomainConfigMap | ipam_config_ |
| VdnsDomainConfigMap | vdns_config_ |
| std::vector< Callback > | ipam_callback_ |
| std::vector< Callback > | vdns_callback_ |
| typedef boost::function<void(IFMapNode *)> DomainConfig::Callback |
| typedef std::map<std::string, autogen::IpamType> DomainConfig::IpamDomainConfigMap |
| typedef std::pair<std::string, autogen::IpamType> DomainConfig::IpamDomainConfigPair |
| typedef std::map<std::string, autogen::VirtualDnsType> DomainConfig::VdnsDomainConfigMap |
| typedef std::pair<std::string, autogen::VirtualDnsType> DomainConfig::VdnsDomainConfigPair |
|
private |
| bool DomainConfig::GetIpam | ( | const std::string & | name, |
| autogen::IpamType * | ipam | ||
| ) |
| bool DomainConfig::GetVDns | ( | const std::string & | vdns, |
| autogen::VirtualDnsType * | vdns_type | ||
| ) |
| void DomainConfig::IpamAddChange | ( | IFMapNode * | node | ) |
|
private |
| void DomainConfig::IpamDelete | ( | IFMapNode * | node | ) |
| void DomainConfig::VDnsAddChange | ( | IFMapNode * | node | ) |
| void DomainConfig::VDnsDelete | ( | IFMapNode * | node | ) |
|
private |
|
private |