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

#include <control_node.h>

Static Public Member Functions

static void SetDefaultSchedulingPolicy ()
 
static void SetHostname (const std::string name)
 
static const std::string GetHostname ()
 
static const std::string & GetProgramName ()
 
static void SetProgramName (const char *name)
 
static std::string GetSelfIp ()
 
static void SetSelfIp (std::string ip)
 
static void SetTestMode (const bool flag)
 
static bool GetTestMode ()
 
static void StartControlNodeInfoLogger (EventManager &evm, uint64_t period_msecs, const BgpServer *server, const BgpXmppChannelManager *xmpp_channel_mgr, const IFMapServer *ifmap_server, const string &build_info)
 
static void Shutdown ()
 
static void Exit (bool do_assert)
 
static std::string GetProcessState (bool bgpHasSelfConfiguration, bool bgpIsAdminDown, bool configEndOfRibComputed, process::ProcessState::type *state, std::string *message)
 

Static Private Member Functions

static bool ControlNodeInfoLogger (const BgpServer *server, const BgpXmppChannelManager *xmpp_channel_mgr, const IFMapServer *ifmap_server, const std::string &build_info)
 
static bool ControlNodeInfoLogTimer (TaskTrigger *node_info_trigger)
 

Static Private Attributes

static std::string hostname_
 
static std::string prog_name_
 
static std::string self_ip_
 
static bool test_mode_
 

Detailed Description

Definition at line 26 of file control_node.h.

Member Function Documentation

bool ControlNode::ControlNodeInfoLogger ( const BgpServer server,
const BgpXmppChannelManager xmpp_channel_mgr,
const IFMapServer ifmap_server,
const std::string &  build_info 
)
staticprivate

Definition at line 25 of file control_node_uve.cc.

Here is the call graph for this function:

bool ControlNode::ControlNodeInfoLogTimer ( TaskTrigger node_info_trigger)
staticprivate

Definition at line 77 of file control_node_uve.cc.

Here is the call graph for this function:

void ControlNode::Exit ( bool  do_assert)
static

Definition at line 246 of file control_node.cc.

static const std::string ControlNode::GetHostname ( )
inlinestatic

Definition at line 30 of file control_node.h.

string ControlNode::GetProcessState ( bool  bgpHasSelfConfiguration,
bool  bgpIsAdminDown,
bool  configEndOfRibComputed,
process::ProcessState::type state,
std::string *  message 
)
static

Definition at line 256 of file control_node.cc.

static const std::string& ControlNode::GetProgramName ( )
inlinestatic

Definition at line 31 of file control_node.h.

static std::string ControlNode::GetSelfIp ( )
inlinestatic

Definition at line 33 of file control_node.h.

static bool ControlNode::GetTestMode ( )
inlinestatic

Definition at line 36 of file control_node.h.

void ControlNode::SetDefaultSchedulingPolicy ( )
static

Definition at line 19 of file control_node.cc.

Here is the call graph for this function:

static void ControlNode::SetHostname ( const std::string  name)
inlinestatic

Definition at line 29 of file control_node.h.

static void ControlNode::SetProgramName ( const char *  name)
inlinestatic

Definition at line 32 of file control_node.h.

static void ControlNode::SetSelfIp ( std::string  ip)
inlinestatic

Definition at line 34 of file control_node.h.

static void ControlNode::SetTestMode ( const bool  flag)
inlinestatic

Definition at line 35 of file control_node.h.

void ControlNode::Shutdown ( )
static

Definition at line 103 of file control_node_uve.cc.

Here is the call graph for this function:

void ControlNode::StartControlNodeInfoLogger ( EventManager evm,
uint64_t  period_msecs,
const BgpServer server,
const BgpXmppChannelManager xmpp_channel_mgr,
const IFMapServer ifmap_server,
const string &  build_info 
)
static

Definition at line 83 of file control_node_uve.cc.

Here is the call graph for this function:

Member Data Documentation

std::string ControlNode::hostname_
staticprivate

Definition at line 53 of file control_node.h.

std::string ControlNode::prog_name_
staticprivate

Definition at line 54 of file control_node.h.

std::string ControlNode::self_ip_
staticprivate

Definition at line 55 of file control_node.h.

bool ControlNode::test_mode_
staticprivate

Definition at line 56 of file control_node.h.


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