#include <ifmap_server.h>
|
| | IFMapServer (DB *db, DBGraph *graph, boost::asio::io_context *io_service) |
| |
| virtual | ~IFMapServer () |
| |
| void | Initialize () |
| |
| void | Shutdown () |
| |
| void | ClientRegister (IFMapClient *client) |
| |
| void | ClientUnregister (IFMapClient *client) |
| |
| bool | ProcessClientWork (bool add, IFMapClient *client) |
| |
| IFMapClient * | FindClient (const std::string &id) |
| |
| IFMapClient * | GetClient (int index) |
| |
| void | AddClient (IFMapClient *client) |
| |
| void | DeleteClient (IFMapClient *client) |
| |
| void | ClientExporterSetup (IFMapClient *client) |
| |
| DB * | database () |
| |
| DBGraph * | graph () |
| |
| IFMapUpdateQueue * | queue () |
| |
| IFMapUpdateSender * | sender () |
| |
| IFMapExporter * | exporter () |
| |
| IFMapVmUuidMapper * | vm_uuid_mapper () |
| |
| boost::asio::io_context * | io_service () |
| |
| void | set_config_manager (ConfigClientManager *manager) |
| |
| ConfigClientManager * | get_config_manager () |
| |
| ConfigClientManager * | get_config_manager () const |
| |
| void | set_ifmap_channel_manager (IFMapChannelManager *manager) |
| |
| IFMapChannelManager * | get_ifmap_channel_manager () |
| |
| uint64_t | get_config_generation_number () |
| |
| void | ProcessVmSubscribe (std::string vr_name, std::string vm_uuid, bool subscribe, bool has_vms) |
| |
| void | ProcessVmSubscribe (std::string vr_name, std::string vm_uuid, bool subscribe) |
| |
| void | ProcessVmRegAsPending (std::string vm_uuid, std::string vr_name, bool subscribe) |
| |
| IFMapNode * | GetVmNodeByUuid (const std::string &vm_uuid) |
| |
| void | FillClientMap (IFMapServerShowClientMap *out_map, const std::string &search_string) |
| |
| void | FillIndexMap (IFMapServerShowIndexMap *out_map, const std::string &search_string) |
| |
| void | FillClientHistory (IFMapServerClientHistoryList *out_list, const std::string &search_string) |
| |
| const CmSz_t | GetClientMapSize () const |
| |
| const CmSz_t | GetIndexMapSize () const |
| |
| void | GetUIInfo (IFMapServerInfoUI *server_info) const |
| |
| bool | ClientNameToIndex (const std::string &id, int *index) |
| |
| void | CleanupStaleEntries () |
| |
| bool | CollectStats (BgpRouterState *state, bool first) const |
| |
Definition at line 40 of file ifmap_server.h.
◆ ClientHistory
◆ ClientMap
◆ CmSz_t
◆ ImSz_t
◆ IndexMap
◆ QueueOp
◆ IFMapServer()
| IFMapServer::IFMapServer |
( |
DB * |
db, |
|
|
DBGraph * |
graph, |
|
|
boost::asio::io_context * |
io_service |
|
) |
| |
◆ ~IFMapServer()
| IFMapServer::~IFMapServer |
( |
| ) |
|
|
virtual |
◆ AddClient()
◆ CleanupStaleEntries()
| void IFMapServer::CleanupStaleEntries |
( |
| ) |
|
◆ CleanupUuidMapper()
| void IFMapServer::CleanupUuidMapper |
( |
IFMapClient * |
client | ) |
|
|
private |
◆ ClientExporterCleanup()
| void IFMapServer::ClientExporterCleanup |
( |
int |
index | ) |
|
|
private |
◆ ClientExporterSetup()
| void IFMapServer::ClientExporterSetup |
( |
IFMapClient * |
client | ) |
|
◆ ClientGraphDownload()
| void IFMapServer::ClientGraphDownload |
( |
IFMapClient * |
client | ) |
|
|
private |
◆ ClientNameToIndex()
| bool IFMapServer::ClientNameToIndex |
( |
const std::string & |
id, |
|
|
int * |
index |
|
) |
| |
◆ ClientRegister()
| void IFMapServer::ClientRegister |
( |
IFMapClient * |
client | ) |
|
◆ ClientUnregister()
| void IFMapServer::ClientUnregister |
( |
IFMapClient * |
client | ) |
|
◆ ClientWorker()
| bool IFMapServer::ClientWorker |
( |
QueueEntry |
work_entry | ) |
|
|
private |
◆ CollectStats()
| bool IFMapServer::CollectStats |
( |
BgpRouterState * |
state, |
|
|
bool |
first |
|
) |
| const |
◆ database()
| DB* IFMapServer::database |
( |
| ) |
|
|
inline |
◆ DeleteClient()
◆ exporter()
◆ FillClientHistory()
| void IFMapServer::FillClientHistory |
( |
IFMapServerClientHistoryList * |
out_list, |
|
|
const std::string & |
search_string |
|
) |
| |
◆ FillClientMap()
| void IFMapServer::FillClientMap |
( |
IFMapServerShowClientMap * |
out_map, |
|
|
const std::string & |
search_string |
|
) |
| |
◆ FillIndexMap()
| void IFMapServer::FillIndexMap |
( |
IFMapServerShowIndexMap * |
out_map, |
|
|
const std::string & |
search_string |
|
) |
| |
◆ FindClient()
| IFMapClient * IFMapServer::FindClient |
( |
const std::string & |
id | ) |
|
◆ get_config_generation_number()
| uint64_t IFMapServer::get_config_generation_number |
( |
| ) |
|
|
inline |
◆ get_config_manager() [1/2]
◆ get_config_manager() [2/2]
◆ get_ifmap_channel_manager()
◆ GetClient()
◆ GetClientMap()
| const ClientMap& IFMapServer::GetClientMap |
( |
| ) |
const |
|
inlineprivate |
◆ GetClientMapSize()
| const CmSz_t IFMapServer::GetClientMapSize |
( |
| ) |
const |
|
inline |
◆ GetIndexMapSize()
| const CmSz_t IFMapServer::GetIndexMapSize |
( |
| ) |
const |
|
inline |
◆ GetUIInfo()
| void IFMapServer::GetUIInfo |
( |
IFMapServerInfoUI * |
server_info | ) |
const |
◆ GetVmNodeByUuid()
| IFMapNode * IFMapServer::GetVmNodeByUuid |
( |
const std::string & |
vm_uuid | ) |
|
◆ graph()
◆ Initialize()
| void IFMapServer::Initialize |
( |
| ) |
|
◆ io_service()
| boost::asio::io_context* IFMapServer::io_service |
( |
| ) |
|
|
inline |
◆ ProcessClientWork()
| bool IFMapServer::ProcessClientWork |
( |
bool |
add, |
|
|
IFMapClient * |
client |
|
) |
| |
◆ ProcessVmRegAsPending()
| void IFMapServer::ProcessVmRegAsPending |
( |
std::string |
vm_uuid, |
|
|
std::string |
vr_name, |
|
|
bool |
subscribe |
|
) |
| |
◆ ProcessVmSubscribe() [1/2]
| void IFMapServer::ProcessVmSubscribe |
( |
std::string |
vr_name, |
|
|
std::string |
vm_uuid, |
|
|
bool |
subscribe |
|
) |
| |
◆ ProcessVmSubscribe() [2/2]
| void IFMapServer::ProcessVmSubscribe |
( |
std::string |
vr_name, |
|
|
std::string |
vm_uuid, |
|
|
bool |
subscribe, |
|
|
bool |
has_vms |
|
) |
| |
◆ queue()
◆ RemoveSelfAddedLinksAndObjects()
| void IFMapServer::RemoveSelfAddedLinksAndObjects |
( |
IFMapClient * |
client | ) |
|
|
private |
◆ SaveClientHistory()
| void IFMapServer::SaveClientHistory |
( |
IFMapClient * |
client | ) |
|
|
private |
◆ sender()
◆ set_config_manager()
◆ set_ifmap_channel_manager()
◆ Shutdown()
| void IFMapServer::Shutdown |
( |
| ) |
|
◆ SimulateDeleteClient()
| void IFMapServer::SimulateDeleteClient |
( |
IFMapClient * |
client | ) |
|
|
private |
◆ vm_uuid_mapper()
◆ IFMapExporterTest
| friend class IFMapExporterTest |
|
friend |
◆ IFMapRestartTest
| friend class IFMapRestartTest |
|
friend |
◆ IFMapServerTest
| friend class IFMapServerTest |
|
friend |
◆ IFMapVmUuidMapperTest
| friend class IFMapVmUuidMapperTest |
|
friend |
◆ ShowIFMapXmppClientInfo
◆ XmppIfmapTest
| friend class XmppIfmapTest |
|
friend |
◆ client_history_
◆ client_indexes_
| BitSet IFMapServer::client_indexes_ |
|
private |
◆ client_map_
◆ config_manager_
◆ db_
◆ exporter_
◆ graph_
◆ ifmap_channel_manager_
◆ index_map_
◆ io_service_
| boost::asio::io_context* IFMapServer::io_service_ |
|
private |
◆ kClientHistorySize
| const int IFMapServer::kClientHistorySize = 5000 |
|
static |
◆ queue_
◆ sender_
◆ vm_uuid_mapper_
◆ work_queue_
The documentation for this class was generated from the following files: