#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.
◆ CryptTunnelKey
◆ CryptTunnelsMap
◆ CryptTunnelsPair
◆ EncryptionTunnelEndpointList
◆ FlowAgingTimeoutList
◆ FlowAgingTimeoutMap
◆ FlowAgingTimeoutPair
◆ LinkLocalServiceList
◆ LinkLocalServicesMap
◆ LinkLocalServicesPair
◆ ProtocolPortSet
◆ CryptMode
Enumerator |
---|
CRYPT_ALL_TRAFFIC | |
CRYPT_FLOW | |
CRYPT_NONE | |
Definition at line 58 of file global_vrouter.h.
◆ GlobalVrouter()
GlobalVrouter::GlobalVrouter |
( |
Agent * |
agent | ) |
|
◆ ~GlobalVrouter()
GlobalVrouter::~GlobalVrouter |
( |
| ) |
|
|
virtual |
◆ AddCryptTunnelEndpoint()
void GlobalVrouter::AddCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
it | ) |
|
|
private |
◆ AddLinkLocalService()
void GlobalVrouter::AddLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
it | ) |
|
|
private |
◆ ChangeCryptTunnelEndpoint()
void GlobalVrouter::ChangeCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
old_it, |
|
|
const CryptTunnelsMap::iterator & |
new_it |
|
) |
| |
|
private |
◆ ChangeLinkLocalService()
void GlobalVrouter::ChangeLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
old_it, |
|
|
const LinkLocalServicesMap::iterator & |
new_it |
|
) |
| |
|
private |
◆ ChangeNotify()
◆ ChangeNotifyCryptTunnels()
◆ ConfigAddChange()
void GlobalVrouter::ConfigAddChange |
( |
IFMapNode * |
node | ) |
|
|
virtual |
◆ ConfigDelete()
void GlobalVrouter::ConfigDelete |
( |
IFMapNode * |
node | ) |
|
|
virtual |
◆ ConfigManagerEnqueue()
void GlobalVrouter::ConfigManagerEnqueue |
( |
IFMapNode * |
node | ) |
|
|
virtual |
◆ configured()
bool GlobalVrouter::configured |
( |
| ) |
const |
|
inline |
◆ CreateDBClients()
void GlobalVrouter::CreateDBClients |
( |
| ) |
|
◆ DeleteCryptTunnelEndpoint()
void GlobalVrouter::DeleteCryptTunnelEndpoint |
( |
const CryptTunnelsMap::iterator & |
it | ) |
|
|
private |
◆ DeleteCryptTunnelEndpointConfig()
void GlobalVrouter::DeleteCryptTunnelEndpointConfig |
( |
| ) |
|
|
private |
◆ DeleteFlowAging()
void GlobalVrouter::DeleteFlowAging |
( |
| ) |
|
|
private |
◆ DeleteLinkLocalService()
void GlobalVrouter::DeleteLinkLocalService |
( |
const LinkLocalServicesMap::iterator & |
it | ) |
|
|
private |
◆ DeleteLinkLocalServiceConfig()
void GlobalVrouter::DeleteLinkLocalServiceConfig |
( |
| ) |
|
|
private |
◆ DeletePortConfig()
void GlobalVrouter::DeletePortConfig |
( |
| ) |
|
|
private |
◆ ecmp_load_balance()
◆ FindLinkLocalService() [1/4]
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 850 of file global_vrouter.cc.
◆ FindLinkLocalService() [2/4]
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 775 of file global_vrouter.cc.
◆ FindLinkLocalService() [3/4]
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 739 of file global_vrouter.cc.
◆ FindLinkLocalService() [4/4]
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 831 of file global_vrouter.cc.
◆ flow_export_rate()
int32_t GlobalVrouter::flow_export_rate |
( |
| ) |
const |
|
inline |
◆ forwarding_mode()
◆ GlobalVrouterConfig()
void GlobalVrouter::GlobalVrouterConfig |
( |
IFMapNode * |
node | ) |
|
◆ IsAddressInUse()
bool GlobalVrouter::IsAddressInUse |
( |
const Ip4Address & |
ip | ) |
const |
◆ IsLinkLocalAddressInUse()
bool GlobalVrouter::IsLinkLocalAddressInUse |
( |
const IpAddress & |
ip | ) |
const |
◆ IsVrouterPresentCryptTunnelConfig()
◆ linklocal_services_map()
◆ LinkLocalRouteUpdate()
void GlobalVrouter::LinkLocalRouteUpdate |
( |
const std::vector< Ip4Address > & |
addr_list | ) |
|
◆ PendingFabricDnsRequests()
uint64_t GlobalVrouter::PendingFabricDnsRequests |
( |
| ) |
const |
◆ ReadFlowsLimits()
void GlobalVrouter::ReadFlowsLimits |
( |
const autogen::GlobalVrouterConfig & |
cfg | ) |
|
|
private |
◆ ResyncRoutes()
void GlobalVrouter::ResyncRoutes |
( |
| ) |
|
◆ slo_uuid()
◆ UpdateCryptTunnelEndpointConfig()
void GlobalVrouter::UpdateCryptTunnelEndpointConfig |
( |
const EncryptionTunnelEndpointList & |
endpoint_list, |
|
|
const std::string |
encrypt_mode_str |
|
) |
| |
|
private |
◆ UpdateFlowAging()
void GlobalVrouter::UpdateFlowAging |
( |
autogen::GlobalVrouterConfig * |
cfg | ) |
|
|
private |
◆ UpdateLinkLocalServiceConfig()
◆ UpdatePortConfig()
void GlobalVrouter::UpdatePortConfig |
( |
autogen::GlobalVrouterConfig * |
cfg | ) |
|
|
private |
◆ UpdateSLOConfig()
void GlobalVrouter::UpdateSLOConfig |
( |
IFMapNode * |
node | ) |
|
◆ AgentUtXmlFlowThreshold
friend class AgentUtXmlFlowThreshold |
|
friend |
◆ agent_route_resync_walker_
◆ configured_
bool GlobalVrouter::configured_ |
|
private |
◆ crypt_mode_
◆ crypt_tunnels_map_
◆ ecmp_load_balance_
◆ fabric_dns_resolver_
◆ flow_aging_timeout_map_
◆ flow_export_rate_
int32_t GlobalVrouter::flow_export_rate_ |
|
private |
◆ forwarding_mode_
◆ kDefaultFlowExportRate
const int32_t GlobalVrouter::kDefaultFlowExportRate = 0 |
|
static |
◆ kDisableSampling
const int32_t GlobalVrouter::kDisableSampling = -1 |
|
static |
◆ kLoopBackIp
◆ kMetadataService
const std::string GlobalVrouter::kMetadataService = "metadata" |
|
static |
◆ kMetadataService6
const std::string GlobalVrouter::kMetadataService6 = "metadata6" |
|
static |
◆ linklocal_route_mgr_
◆ linklocal_services_map_
◆ protocol_port_set_
◆ slo_uuid_
The documentation for this class was generated from the following files: