OpenSDN source code
|
#include <agent_init.h>
Public Member Functions | |
AgentInit () | |
virtual | ~AgentInit () |
Agent * | agent () const |
AgentParam * | agent_param () const |
void | set_agent_param (AgentParam *param) |
virtual void | ProcessOptions (const std::string &config_file, const std::string &program_name) |
void | InitPlatform () |
virtual int | Start () |
virtual void | FactoryInit ()=0 |
virtual std::string | InstanceId () |
virtual std::string | ModuleName () |
virtual int | ModuleType () |
virtual std::string | AgentName () |
virtual bool | InitBase () |
virtual bool | Init () |
virtual void | InitLoggingBase () |
virtual void | InitLogging () |
virtual void | InitCollectorBase () |
virtual void | InitCollector () |
virtual void | CreateModulesBase () |
virtual void | CreateModules () |
virtual void | CreateDBTablesBase () |
virtual void | CreateDBTables () |
virtual void | RegisterDBClientsBase () |
virtual void | RegisterDBClients () |
virtual void | InitModulesBase () |
virtual void | InitModules () |
virtual void | CreatePeersBase () |
virtual void | CreatePeers () |
virtual void | CreateVrfBase () |
virtual void | CreateVrf () |
virtual void | CreateNextHopsBase () |
virtual void | CreateNextHops () |
virtual void | CreateInterfacesBase () |
virtual void | CreateInterfaces () |
virtual void | ConnectToControllerBase () |
virtual void | ConnectToController () |
virtual void | InitDoneBase () |
virtual void | InitDone () |
void | CreateResourceManager () |
void | SetResourceManagerReady () |
virtual void | Shutdown () |
void | IoShutdownBase () |
virtual void | IoShutdown () |
virtual void | FlushFlowsBase () |
virtual void | FlushFlows () |
virtual void | VgwShutdownBase () |
virtual void | VgwShutdown () |
virtual void | DeleteRoutesBase () |
virtual void | DeleteRoutes () |
virtual void | DeleteDBEntriesBase () |
virtual void | DeleteDBEntries () |
virtual void | ServicesShutdownBase () |
virtual void | ServicesShutdown () |
virtual void | PktShutdownBase () |
virtual void | PktShutdown () |
virtual void | ProfileShutdownBase () |
virtual void | ModulesShutdownBase () |
virtual void | ModulesShutdown () |
virtual void | UveShutdownBase () |
virtual void | UveShutdown () |
virtual void | StatsCollectorShutdownBase () |
virtual void | StatsCollectorShutdown () |
virtual void | FlowStatsCollectorShutdownBase () |
virtual void | FlowStatsCollectorShutdown () |
virtual void | KSyncShutdownBase () |
virtual void | KSyncShutdown () |
virtual void | WaitForIdle ()=0 |
void | WaitForDBEmpty () |
void | DeleteVhost () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (AgentInit) | |
Private Attributes | |
std::unique_ptr< Agent > | agent_ |
AgentParam * | agent_param_ |
tbb::mutex | init_mutex_ |
std::unique_ptr< TaskTrigger > | trigger_ |
std::unique_ptr< AgentStats > | stats_ |
std::unique_ptr< AgentConfig > | cfg_ |
std::unique_ptr< OperDB > | oper_ |
bool | enable_controller_ |
std::unique_ptr< VNController > | controller_ |
std::unique_ptr< ResourceManager > | resource_manager_ |
std::unique_ptr< EventNotifier > | event_notifier_ |
Definition at line 21 of file agent_init.h.
AgentInit::AgentInit | ( | ) |
Definition at line 32 of file agent_init.cc.
|
virtual |
Definition at line 37 of file agent_init.cc.
|
inline |
Definition at line 26 of file agent_init.h.
|
inline |
Definition at line 28 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit, and LinuxVxlanAgentInit.
Definition at line 99 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit.
Definition at line 69 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 94 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit, ContrailAgentInit, LinuxVxlanAgentInit, and ContrailInitCommon.
Definition at line 65 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 90 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit.
Definition at line 82 of file agent_init.h.
|
virtual |
void AgentInit::CreateResourceManager | ( | ) |
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 86 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 129 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 125 of file agent_init.h.
|
virtual |
void AgentInit::DeleteVhost | ( | ) |
Definition at line 433 of file agent_init.cc.
|
private |
|
pure virtual |
Implemented in TorAgentInit, ContrailAgentInit, and LinuxVxlanAgentInit.
|
inlinevirtual |
Reimplemented in ContrailAgentInit.
Definition at line 156 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 117 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 54 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 61 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in ContrailInitCommon, and ContrailAgentInit.
Definition at line 102 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 57 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit, LinuxVxlanAgentInit, and ContrailInitCommon.
Definition at line 78 of file agent_init.h.
|
virtual |
void AgentInit::InitPlatform | ( | ) |
|
virtual |
Reimplemented in TorAgentInit.
Definition at line 69 of file agent_init.cc.
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 113 of file agent_init.h.
void AgentInit::IoShutdownBase | ( | ) |
|
inlinevirtual |
Reimplemented in LinuxVxlanAgentInit, and ContrailAgentInit.
Definition at line 160 of file agent_init.h.
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in ContrailInitCommon, and ContrailAgentInit.
Definition at line 144 of file agent_init.h.
|
virtual |
|
virtual |
Reimplemented in TorAgentInit.
Definition at line 56 of file agent_init.cc.
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 137 of file agent_init.h.
|
virtual |
|
virtual |
Reimplemented in TorAgentInit, ContrailAgentInit, LinuxVxlanAgentInit, and ContrailInitCommon.
Definition at line 52 of file agent_init.cc.
|
virtual |
Definition at line 525 of file agent_init.cc.
|
inlinevirtual |
Reimplemented in TorAgentInit, LinuxVxlanAgentInit, and ContrailInitCommon.
Definition at line 73 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in ContrailInitCommon.
Definition at line 133 of file agent_init.h.
|
virtual |
|
inline |
Definition at line 29 of file agent_init.h.
void AgentInit::SetResourceManagerReady | ( | ) |
|
virtual |
|
virtual |
Reimplemented in TorAgentInit, LinuxVxlanAgentInit, and ContrailInitCommon.
Definition at line 93 of file agent_init.cc.
|
inlinevirtual |
Reimplemented in ContrailAgentInit.
Definition at line 152 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Reimplemented in TorAgentInit, LinuxVxlanAgentInit, and ContrailAgentInit.
Definition at line 148 of file agent_init.h.
|
virtual |
|
inlinevirtual |
Definition at line 121 of file agent_init.h.
|
virtual |
void AgentInit::WaitForDBEmpty | ( | ) |
|
pure virtual |
Implemented in TorAgentInit, ContrailAgentInit, and LinuxVxlanAgentInit.
|
private |
Definition at line 168 of file agent_init.h.
|
private |
Definition at line 169 of file agent_init.h.
|
private |
Definition at line 175 of file agent_init.h.
|
private |
Definition at line 179 of file agent_init.h.
|
private |
Definition at line 178 of file agent_init.h.
|
private |
Definition at line 181 of file agent_init.h.
|
private |
Definition at line 171 of file agent_init.h.
|
private |
Definition at line 176 of file agent_init.h.
|
private |
Definition at line 180 of file agent_init.h.
|
private |
Definition at line 174 of file agent_init.h.
|
private |
Definition at line 172 of file agent_init.h.