OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpConfigParser Class Reference

#include <bgp_config_parser.h>

Collaboration diagram for BgpConfigParser:

Public Types

typedef std::list< DBRequest * > RequestList
 

Public Member Functions

 BgpConfigParser (DB *db)
 
bool Parse (const std::string &content)
 

Static Public Member Functions

static std::string session_uuid (const std::string &left, const std::string &right, int index)
 

Private Member Functions

bool ParseConfig (const pugi::xml_node &root, bool add_change, RequestList *requests) const
 
bool ParseRoutingInstance (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseVirtualNetwork (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseSubCluster (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseRoutingPolicy (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseRouteAggregate (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseGlobalSystemConfig (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
bool ParseGlobalQosConfig (const pugi::xml_node &parent, bool add_change, RequestList *requests) const
 
 DISALLOW_COPY_AND_ASSIGN (BgpConfigParser)
 

Private Attributes

DBdb_
 

Detailed Description

Definition at line 20 of file bgp_config_parser.h.

Member Typedef Documentation

Definition at line 22 of file bgp_config_parser.h.

Constructor & Destructor Documentation

BgpConfigParser::BgpConfigParser ( DB db)
explicit

Definition at line 510 of file bgp_config_parser.cc.

Member Function Documentation

BgpConfigParser::DISALLOW_COPY_AND_ASSIGN ( BgpConfigParser  )
private
bool BgpConfigParser::Parse ( const std::string &  content)

Definition at line 865 of file bgp_config_parser.cc.

Here is the call graph for this function:

bool BgpConfigParser::ParseConfig ( const pugi::xml_node &  root,
bool  add_change,
RequestList requests 
) const
private

Definition at line 813 of file bgp_config_parser.cc.

Here is the call graph for this function:

bool BgpConfigParser::ParseGlobalQosConfig ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 791 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseGlobalSystemConfig ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 707 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseRouteAggregate ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 643 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseRoutingInstance ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 514 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseRoutingPolicy ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 685 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseSubCluster ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 606 of file bgp_config_parser.cc.

bool BgpConfigParser::ParseVirtualNetwork ( const pugi::xml_node &  parent,
bool  add_change,
RequestList requests 
) const
private

Definition at line 571 of file bgp_config_parser.cc.

string BgpConfigParser::session_uuid ( const std::string &  left,
const std::string &  right,
int  index 
)
static

Definition at line 894 of file bgp_config_parser.cc.

Member Data Documentation

DB* BgpConfigParser::db_
private

Definition at line 50 of file bgp_config_parser.h.


The documentation for this class was generated from the following files: