OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
config_json_parser.cc File Reference
#include "config_json_parser.h"
#include <boost/lexical_cast.hpp>
#include <sandesh/request_pipeline.h>
#include <string>
#include "config-client-mgr/config_client_manager.h"
#include "ifmap/ifmap_log.h"
#include "ifmap/ifmap_log_types.h"
#include "ifmap/ifmap_sandesh_context.h"
#include "ifmap/ifmap_server_show_types.h"
#include "base/autogen_util.h"
#include "schema/bgp_schema_types.h"
#include "schema/vnc_cfg_types.h"
#include "config-client-mgr/config_client_show_types.h"
#include "config-client-mgr/config_client_log_types.h"
#include "config-client-mgr/config_cass2json_adapter.h"
#include "config-client-mgr/config_amqp_client.h"
#include "config-client-mgr/config_db_client.h"
Include dependency graph for config_json_parser.cc:

Go to the source code of this file.

Macros

#define CONFIG_PARSE_ASSERT(t, condition, key, value)
 

Functions

static bool ConfigClientInfoHandleRequest (const Sandesh *sr, const RequestPipeline::PipeSpec ps, int stage, int instNum, RequestPipeline::InstData *data)
 
static bool ConfigClientReinitHandleRequest (const Sandesh *sr, const RequestPipeline::PipeSpec ps, int stage, int instNum, RequestPipeline::InstData *data)
 

Macro Definition Documentation

#define CONFIG_PARSE_ASSERT (   t,
  condition,
  key,
  value 
)
Value:
do { \
if (condition) \
break; \
IFMAP_WARN_LOG(ConfigurationMalformed ## t ## Warning ## Log, \
Category::IFMAP, key, value, adapter.type(), \
adapter.uuid()); \
IFMAP_TRACE(ConfigurationMalformed ## t ## Warning ## Trace, \
key, value, adapter.type(), adapter.uuid()); \
assert(false); \
return false; \
} while (false)
Definition: trace.h:220
#define IFMAP_TRACE(obj,...)
Definition: ifmap_log.h:26
#define IFMAP_WARN_LOG(obj, category,...)
Definition: ifmap_log.h:64

Definition at line 30 of file config_json_parser.cc.

Function Documentation

static bool ConfigClientInfoHandleRequest ( const Sandesh sr,
const RequestPipeline::PipeSpec  ps,
int  stage,
int  instNum,
RequestPipeline::InstData data 
)
static

Definition at line 378 of file config_json_parser.cc.

Here is the call graph for this function:

static bool ConfigClientReinitHandleRequest ( const Sandesh sr,
const RequestPipeline::PipeSpec  ps,
int  stage,
int  instNum,
RequestPipeline::InstData data 
)
static

Definition at line 425 of file config_json_parser.cc.

Here is the call graph for this function: