OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
controller/src/dns/main.cc File Reference
#include <csignal>
#include <fstream>
#include <pthread.h>
#include <boost/program_options.hpp>
#include "nodeinfo_types.h"
#include "base/connection_info.h"
#include <base/logging.h>
#include <base/misc_utils.h>
#include <base/contrail_ports.h>
#include <base/task.h>
#include <io/process_signal.h>
#include <config_client_manager.h>
#include <db/db_graph.h>
#include <ifmap/client/config_json_parser.h>
#include <ifmap/ifmap_link_table.h>
#include "ifmap/ifmap_sandesh_context.h"
#include <ifmap/ifmap_server.h>
#include <ifmap/ifmap_xmpp.h>
#include <io/event_manager.h>
#include <vnc_cfg_types.h>
#include <cmn/dns.h>
#include <bind/bind_util.h>
#include <mgr/dns_mgr.h>
#include <mgr/dns_oper.h>
#include <bind/named_config.h>
#include <cfg/dns_config.h>
#include <cfg/dns_config_parser.h>
#include <agent/agent_xmpp_init.h>
#include "cmn/dns_options.h"
#include <sandesh/common/vns_types.h>
#include <sandesh/common/vns_constants.h>
#include <uve/uve.h>
#include "xmpp/xmpp_sandesh.h"
#include <config-client-mgr/config_amqp_client.h>
Include dependency graph for controller/src/dns/main.cc:

Go to the source code of this file.

Functions

static void WaitForIdle (long wait_seconds=1200, bool running_only=false)
 
static void PrintBulkSyncStats (DB *database)
 
bool DnsInfoLogTimer ()
 
bool DnsInfoLogger ()
 
static void DnsServerGetProcessStateCb (const ConfigClientManager *config_client_manager, const std::vector< ConnectionInfo > &cinfos, ProcessState::type &state, std::string &message, std::vector< ConnectionTypeName > expected_connections)
 
static string FileRead (const string &filename)
 
static void IFMap_Initialize (IFMapServer *server, ConfigJsonParser *json_parser)
 
static bool OptionsParse (Options &options, int argc, char *argv[])
 
void ReConfigSignalHandler (const boost::system::error_code &error, int sig)
 

Variables

uint64_t start_time
 
TaskTriggerdns_info_trigger
 
Timerdns_info_log_timer
 
static Options options
 

Function Documentation

bool DnsInfoLogger ( )

Definition at line 161 of file controller/src/dns/main.cc.

Here is the call graph for this function:

bool DnsInfoLogTimer ( )

Definition at line 156 of file controller/src/dns/main.cc.

Here is the call graph for this function:

static void DnsServerGetProcessStateCb ( const ConfigClientManager config_client_manager,
const std::vector< ConnectionInfo > &  cinfos,
ProcessState::type state,
std::string &  message,
std::vector< ConnectionTypeName >  expected_connections 
)
static

Definition at line 169 of file controller/src/dns/main.cc.

Here is the call graph for this function:

static string FileRead ( const string &  filename)
static

Definition at line 183 of file controller/src/dns/main.cc.

static void IFMap_Initialize ( IFMapServer server,
ConfigJsonParser json_parser 
)
static

Definition at line 190 of file controller/src/dns/main.cc.

Here is the call graph for this function:

static bool OptionsParse ( Options options,
int  argc,
char *  argv[] 
)
static

Definition at line 197 of file controller/src/dns/main.cc.

Here is the call graph for this function:

static void PrintBulkSyncStats ( DB database)
static

Definition at line 82 of file controller/src/dns/main.cc.

Here is the call graph for this function:

void ReConfigSignalHandler ( const boost::system::error_code &  error,
int  sig 
)

Definition at line 210 of file controller/src/dns/main.cc.

Here is the call graph for this function:

static void WaitForIdle ( long  wait_seconds = 1200,
bool  running_only = false 
)
static

Definition at line 59 of file controller/src/dns/main.cc.

Here is the call graph for this function:

Variable Documentation

Timer* dns_info_log_timer

Definition at line 55 of file controller/src/dns/main.cc.

TaskTrigger* dns_info_trigger

Definition at line 54 of file controller/src/dns/main.cc.

Options options
static

Definition at line 56 of file controller/src/dns/main.cc.

uint64_t start_time

Definition at line 53 of file controller/src/dns/main.cc.