#include <global_vrouter.h>
|
enum | CryptMode { CRYPT_ALL_TRAFFIC,
CRYPT_FLOW,
CRYPT_NONE
} |
|
typedef std::string | CryptTunnelKey |
|
typedef std::map
< LinkLocalServiceKey,
LinkLocalService > | LinkLocalServicesMap |
|
typedef std::pair
< LinkLocalServiceKey,
LinkLocalService > | LinkLocalServicesPair |
|
typedef std::map
< CryptTunnelKey, CryptTunnel > | CryptTunnelsMap |
|
typedef std::pair
< CryptTunnelKey, CryptTunnel > | CryptTunnelsPair |
|
typedef std::map
< FlowAgingTimeoutKey,
uint32_t > | FlowAgingTimeoutMap |
|
typedef std::pair
< FlowAgingTimeoutKey,
uint32_t > | FlowAgingTimeoutPair |
|
typedef std::map< uint8_t,
PortConfig > | ProtocolPortSet |
|
typedef std::map< IFMapNode
*, IFMapDependencyManager::IFMapNodePtr > | Tree |
|
|
| GlobalVrouter (Agent *agent) |
|
virtual | ~GlobalVrouter () |
|
void | CreateDBClients () |
|
const LinkLocalServicesMap & | linklocal_services_map () const |
|
int32_t | flow_export_rate () const |
|
void | ConfigDelete (IFMapNode *node) |
|
void | ConfigAddChange (IFMapNode *node) |
|
void | ConfigManagerEnqueue (IFMapNode *node) |
|
void | GlobalVrouterConfig (IFMapNode *node) |
|
void | UpdateSLOConfig (IFMapNode *node) |
|
bool | FindLinkLocalService (const std::string &service_name, IpAddress *service_ip, uint16_t *service_port, std::string *fabric_hostname, Ip4Address *fabric_ip, uint16_t *fabric_port) const |
| Get link local service configuration info, for a given service name. More...
|
|
bool | FindLinkLocalService (const IpAddress &service_ip, uint16_t service_port, std::string *service_name, Ip4Address *fabric_ip, uint16_t *fabric_port) const |
| Get link local service info for a given linklocal service <ip, port> More...
|
|
bool | FindLinkLocalService (const std::string &service_name, std::set< IpAddress > *service_ip) const |
| Get link local services, for a given service name. More...
|
|
bool | FindLinkLocalService (const IpAddress &service_ip, std::set< std::string > *service_names) const |
| Get link local services info for a given linklocal service <ip> More...
|
|
void | LinkLocalRouteUpdate (const std::vector< Ip4Address > &addr_list) |
|
bool | IsAddressInUse (const Ip4Address &ip) const |
|
bool | IsLinkLocalAddressInUse (const IpAddress &ip) const |
|
Agent::ForwardingMode | forwarding_mode () const |
|
boost::uuids::uuid | slo_uuid () const |
|
uint64_t | PendingFabricDnsRequests () const |
|
void | ResyncRoutes () |
|
const EcmpLoadBalance & | ecmp_load_balance () const |
|
bool | configured () const |
|
| OperIFMapTable (Agent *agent) |
|
virtual | ~OperIFMapTable () |
|
Agent * | agent () const |
|
OperDB * | oper () const |
|
uint32_t | Size () const |
|
void | ConfigEventHandler (IFMapNode *node, DBEntry *entry) |
|
void | ProcessConfig (IFMapNode *node) |
|
Definition at line 56 of file global_vrouter.h.
Enumerator |
---|
CRYPT_ALL_TRAFFIC |
|
CRYPT_FLOW |
|
CRYPT_NONE |
|
Definition at line 58 of file global_vrouter.h.
GlobalVrouter::GlobalVrouter |
( |
Agent * |
agent | ) |
|
GlobalVrouter::~GlobalVrouter |
( |
| ) |
|
|
virtual |
void GlobalVrouter::AddCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
it | ) |
|
|
private |
void GlobalVrouter::AddLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
it | ) |
|
|
private |
void GlobalVrouter::ChangeCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
old_it, |
|
|
const CryptTunnelsMap::iterator & |
new_it |
|
) |
| |
|
private |
void GlobalVrouter::ChangeLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
old_it, |
|
|
const LinkLocalServicesMap::iterator & |
new_it |
|
) |
| |
|
private |
void GlobalVrouter::ConfigAddChange |
( |
IFMapNode * |
node | ) |
|
|
virtual |
void GlobalVrouter::ConfigDelete |
( |
IFMapNode * |
node | ) |
|
|
virtual |
void GlobalVrouter::ConfigManagerEnqueue |
( |
IFMapNode * |
node | ) |
|
|
virtual |
bool GlobalVrouter::configured |
( |
| ) |
const |
|
inline |
void GlobalVrouter::CreateDBClients |
( |
| ) |
|
void GlobalVrouter::DeleteCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
it | ) |
|
|
private |
void GlobalVrouter::DeleteCryptTunnelEndpointConfig |
( |
| ) |
|
|
private |
void GlobalVrouter::DeleteFlowAging |
( |
| ) |
|
|
private |
void GlobalVrouter::DeleteLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
it | ) |
|
|
private |
void GlobalVrouter::DeleteLinkLocalServiceConfig |
( |
| ) |
|
|
private |
void GlobalVrouter::DeletePortConfig |
( |
| ) |
|
|
private |
bool GlobalVrouter::FindLinkLocalService |
( |
const std::string & |
service_name, |
|
|
IpAddress * |
service_ip, |
|
|
uint16_t * |
service_port, |
|
|
std::string * |
fabric_hostname, |
|
|
Ip4Address * |
fabric_ip, |
|
|
uint16_t * |
fabric_port |
|
) |
| const |
Get link local service configuration info, for a given service name.
Definition at line 719 of file global_vrouter.cc.
bool GlobalVrouter::FindLinkLocalService |
( |
const IpAddress & |
service_ip, |
|
|
uint16_t |
service_port, |
|
|
std::string * |
service_name, |
|
|
Ip4Address * |
fabric_ip, |
|
|
uint16_t * |
fabric_port |
|
) |
| const |
Get link local service info for a given linklocal service <ip, port>
Definition at line 755 of file global_vrouter.cc.
bool GlobalVrouter::FindLinkLocalService |
( |
const std::string & |
service_name, |
|
|
std::set< IpAddress > * |
service_ip |
|
) |
| const |
Get link local services, for a given service name.
Definition at line 811 of file global_vrouter.cc.
bool GlobalVrouter::FindLinkLocalService |
( |
const IpAddress & |
service_ip, |
|
|
std::set< std::string > * |
service_names |
|
) |
| const |
Get link local services info for a given linklocal service <ip>
Definition at line 830 of file global_vrouter.cc.
int32_t GlobalVrouter::flow_export_rate |
( |
| ) |
const |
|
inline |
void GlobalVrouter::GlobalVrouterConfig |
( |
IFMapNode * |
node | ) |
|
bool GlobalVrouter::IsAddressInUse |
( |
const Ip4Address & |
ip | ) |
const |
bool GlobalVrouter::IsLinkLocalAddressInUse |
( |
const IpAddress & |
ip | ) |
const |
void GlobalVrouter::LinkLocalRouteUpdate |
( |
const std::vector< Ip4Address > & |
addr_list | ) |
|
uint64_t GlobalVrouter::PendingFabricDnsRequests |
( |
| ) |
const |
void GlobalVrouter::ResyncRoutes |
( |
| ) |
|
void GlobalVrouter::UpdateCryptTunnelEndpointConfig |
( |
const EncryptionTunnelEndpointList & |
endpoint_list, |
|
|
const std::string |
encrypt_mode_str |
|
) |
| |
|
private |
void GlobalVrouter::UpdateFlowAging |
( |
autogen::GlobalVrouterConfig * |
cfg | ) |
|
|
private |
void GlobalVrouter::UpdatePortConfig |
( |
autogen::GlobalVrouterConfig * |
cfg | ) |
|
|
private |
void GlobalVrouter::UpdateSLOConfig |
( |
IFMapNode * |
node | ) |
|
friend class AgentUtXmlFlowThreshold |
|
friend |
bool GlobalVrouter::configured_ |
|
private |
int32_t GlobalVrouter::flow_export_rate_ |
|
private |
const int32_t GlobalVrouter::kDefaultFlowExportRate = 0 |
|
static |
const int32_t GlobalVrouter::kDisableSampling = -1 |
|
static |
const std::string GlobalVrouter::kMetadataService = "metadata" |
|
static |
const std::string GlobalVrouter::kMetadataService6 = "metadata6" |
|
static |
The documentation for this class was generated from the following files: