OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bgp_config_yaml.cc File Reference
#include "bgp/bgp_config_yaml.h"
#include <boost/assign/list_of.hpp>
#include <boost/bind.hpp>
#include <yaml-cpp/yaml.h>
#include "base/logging.h"
#include "base/map_util.h"
Include dependency graph for bgp_config_yaml.cc:

Go to the source code of this file.

Classes

class  YamlInstanceData
 
class  BgpYamlConfigManager::Configuration
 

Typedefs

typedef map< string,
BgpNeighborConfig::Type
PeerTypeMap
 

Functions

static BgpNeighborConfig::Type PeerTypeGetValue (const string &value)
 
static bool ParseTimers (const YAML::Node &timers, uint32_t *hold_time, string *error_msg)
 
static bool ParseIdentifier (const YAML::Node &node, uint32_t *valuep, string *error_msg)
 
static bool ParseBgpGroupNeighborCommon (BgpNeighborConfig *neighbor, const YAML::Node &node, string *error_msg)
 
static bool ParseBgpNeighbor (BgpNeighborConfig *neighbor, const YAML::Node &node, string *error_msg)
 
static bool ParseBgpNeighbors (BgpYamlConfigManager::Configuration *data, const BgpNeighborConfig *tmpl, const YAML::Node &node, string *error_msg)
 
static bool ParseBgpGroup (BgpYamlConfigManager::Configuration *data, const BgpNeighborConfig *global, const string &group_name, const YAML::Node &node, string *error_msg)
 
static bool ParseBgpGroups (BgpYamlConfigManager::Configuration *data, const BgpNeighborConfig *global, const YAML::Node &node, string *error_msg)
 
static bool ParseBgp (BgpYamlConfigManager::Configuration *data, const YAML::Node &node, string *error_msg)
 

Variables

static PeerTypeMap peertype_map
 

Typedef Documentation

typedef map<string, BgpNeighborConfig::Type> PeerTypeMap

Definition at line 154 of file bgp_config_yaml.cc.

Function Documentation

static bool ParseBgp ( BgpYamlConfigManager::Configuration data,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 489 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseBgpGroup ( BgpYamlConfigManager::Configuration data,
const BgpNeighborConfig global,
const string &  group_name,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 445 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseBgpGroupNeighborCommon ( BgpNeighborConfig neighbor,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 276 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseBgpGroups ( BgpYamlConfigManager::Configuration data,
const BgpNeighborConfig global,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 464 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseBgpNeighbor ( BgpNeighborConfig neighbor,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 400 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseBgpNeighbors ( BgpYamlConfigManager::Configuration data,
const BgpNeighborConfig tmpl,
const YAML::Node &  node,
string *  error_msg 
)
static

Definition at line 405 of file bgp_config_yaml.cc.

Here is the call graph for this function:

static bool ParseIdentifier ( const YAML::Node &  node,
uint32_t *  valuep,
string *  error_msg 
)
static

Definition at line 249 of file bgp_config_yaml.cc.

static bool ParseTimers ( const YAML::Node &  timers,
uint32_t *  hold_time,
string *  error_msg 
)
static

Definition at line 223 of file bgp_config_yaml.cc.

static BgpNeighborConfig::Type PeerTypeGetValue ( const string &  value)
static

Definition at line 159 of file bgp_config_yaml.cc.

Variable Documentation

PeerTypeMap peertype_map
static
Initial value:

Definition at line 155 of file bgp_config_yaml.cc.