#include <bgp_config_yaml.h>
|
| enum | EventType { CFG_NONE
, CFG_ADD
, CFG_CHANGE
, CFG_DELETE
} |
| |
| typedef boost::function< void(const BgpProtocolConfig *, EventType)> | BgpProtocolObserver |
| |
| typedef boost::function< void(const BgpInstanceConfig *, EventType)> | BgpInstanceObserver |
| |
| typedef boost::function< void(const BgpNeighborConfig *, EventType)> | BgpNeighborObserver |
| |
| typedef boost::function< void(const BgpRoutingPolicyConfig *, EventType)> | BgpRoutingPolicyObserver |
| |
| typedef boost::function< void(const BgpGlobalSystemConfig *, EventType)> | BgpGlobalSystemConfigObserver |
| |
| typedef boost::function< void(const BgpGlobalQosConfig *, EventType)> | BgpGlobalQosConfigObserver |
| |
| typedef std::map< std::string, BgpRoutingPolicyConfig * > | RoutingPolicyMap |
| |
| typedef std::pair< RoutingPolicyMap::const_iterator, RoutingPolicyMap::const_iterator > | RoutingPolicyMapRange |
| |
| typedef std::map< std::string, BgpInstanceConfig * > | InstanceMap |
| |
| typedef std::pair< InstanceMap::const_iterator, InstanceMap::const_iterator > | InstanceMapRange |
| |
| typedef std::map< std::string, BgpNeighborConfig * > | NeighborMap |
| |
| typedef std::pair< NeighborMap::const_iterator, NeighborMap::const_iterator > | NeighborMapRange |
| |
Definition at line 16 of file bgp_config_yaml.h.
◆ BgpYamlConfigManager()
| BgpYamlConfigManager::BgpYamlConfigManager |
( |
BgpServer * |
server | ) |
|
|
explicit |
◆ ~BgpYamlConfigManager()
| BgpYamlConfigManager::~BgpYamlConfigManager |
( |
| ) |
|
|
virtual |
◆ AddInstance()
| void BgpYamlConfigManager::AddInstance |
( |
InstanceMap::iterator |
iter | ) |
|
|
private |
◆ AddNeighbor()
| void BgpYamlConfigManager::AddNeighbor |
( |
NeighborMap::iterator |
iter | ) |
|
|
private |
◆ DeleteInstance()
| void BgpYamlConfigManager::DeleteInstance |
( |
InstanceMap::iterator |
iter | ) |
|
|
private |
◆ DeleteNeighbor()
| void BgpYamlConfigManager::DeleteNeighbor |
( |
NeighborMap::iterator |
iter | ) |
|
|
private |
◆ FindInstance()
| const BgpInstanceConfig * BgpYamlConfigManager::FindInstance |
( |
const std::string & |
name | ) |
const |
|
virtual |
◆ FindNeighbor()
| const BgpNeighborConfig * BgpYamlConfigManager::FindNeighbor |
( |
const std::string & |
instance_name, |
|
|
const std::string & |
name |
|
) |
| const |
|
virtual |
◆ GetProtocolConfig()
| const BgpProtocolConfig * BgpYamlConfigManager::GetProtocolConfig |
( |
const std::string & |
instance_name | ) |
const |
|
virtual |
◆ InstanceMapItems()
◆ localname()
| const string & BgpYamlConfigManager::localname |
( |
| ) |
const |
|
virtual |
◆ NeighborCount()
| int BgpYamlConfigManager::NeighborCount |
( |
const std::string & |
instance_name | ) |
const |
|
virtual |
◆ NeighborMapItems()
◆ Parse()
| bool BgpYamlConfigManager::Parse |
( |
std::istream * |
istream, |
|
|
std::string * |
error_msg |
|
) |
| |
◆ Resolve()
| bool BgpYamlConfigManager::Resolve |
( |
Configuration * |
candidate, |
|
|
std::string * |
error_msg |
|
) |
| |
|
private |
◆ Terminate()
| void BgpYamlConfigManager::Terminate |
( |
| ) |
|
|
virtual |
◆ Update()
◆ UpdateInstance()
| void BgpYamlConfigManager::UpdateInstance |
( |
InstanceMap::iterator |
iter1, |
|
|
InstanceMap::iterator |
iter2 |
|
) |
| |
|
private |
◆ UpdateInstances()
◆ UpdateNeighbor()
| void BgpYamlConfigManager::UpdateNeighbor |
( |
NeighborMap::iterator |
iter1, |
|
|
NeighborMap::iterator |
iter2 |
|
) |
| |
|
private |
◆ UpdateNeighbors()
◆ UpdateProtocol()
◆ data_
◆ kMaxHoldTime
| const int BgpYamlConfigManager::kMaxHoldTime = 60 * 60 |
|
static |
The documentation for this class was generated from the following files: