#include <bgp_as_service.h>
|
| BgpAsAService (const Agent *agent) |
|
| ~BgpAsAService () |
|
bool | IsBgpService (const VmInterface *vm_intf, const IpAddress &source_ip, const IpAddress &dest_ip) const |
|
bool | GetBgpRouterServiceDestination (const VmInterface *vm_intf, const IpAddress &source, const IpAddress &dest, IpAddress *nat_server, uint32_t *sport, uint32_t *dport) const |
|
bool | GetBgpHealthCheck (const VmInterface *vm_intf, boost::uuids::uuid *health_check_uuid) const |
|
size_t | AllocateBgpVmiServicePortIndex (const uint32_t sport, const boost::uuids::uuid vm_uuid) |
|
void | FreeBgpVmiServicePortIndex (const uint32_t sport) |
|
uint32_t | AddBgpVmiServicePortIndex (const uint32_t source_port, const boost::uuids::uuid vm_uuid) |
|
void | ProcessConfig (const std::string &vrf_name, std::list< IFMapNode * > &bgp_router_node_list, std::list< IFMapNode * > &bgp_as_service_node_list, const boost::uuids::uuid &vmi_uuid) |
|
void | DeleteVmInterface (const boost::uuids::uuid &vmi_uuid) |
|
const BgpAsAService::BgpAsAServiceEntryMap & | bgp_as_a_service_map () const |
|
const BgpAsAService::BgpAsAServicePortMap & | bgp_as_a_service_port_map () const |
|
void | RegisterServiceDeleteCb (ServiceDeleteCb callback) |
|
void | RegisterHealthCheckCb (HealthCheckCb callback) |
|
bool | IsConfigured () |
|
BGPaaServiceParameters::BGPaaServicePortRangePair | bgp_as_a_service_port_range () const |
|
void | UpdateBgpAsAServiceSessionInfo () |
|
Definition at line 67 of file bgp_as_service.h.
◆ BgpAsAServiceEntryList
◆ BgpAsAServiceEntryListConstIterator
◆ BgpAsAServiceEntryListIterator
◆ BgpAsAServiceEntryMap
◆ BgpAsAServiceEntryMapConstIterator
◆ BgpAsAServiceEntryMapIterator
◆ BgpAsAServicePortMap
◆ BgpAsAServicePortMapConstIterator
◆ BgpAsAServicePortMapIterator
◆ HealthCheckCb
◆ ServiceDeleteCb
◆ BgpAsAService()
BgpAsAService::BgpAsAService |
( |
const Agent * |
agent | ) |
|
◆ ~BgpAsAService()
BgpAsAService::~BgpAsAService |
( |
| ) |
|
◆ AddBgpVmiServicePortIndex()
uint32_t BgpAsAService::AddBgpVmiServicePortIndex |
( |
const uint32_t |
source_port, |
|
|
const boost::uuids::uuid |
vm_uuid |
|
) |
| |
◆ AllocateBgpVmiServicePortIndex()
size_t BgpAsAService::AllocateBgpVmiServicePortIndex |
( |
const uint32_t |
sport, |
|
|
const boost::uuids::uuid |
vm_uuid |
|
) |
| |
◆ bgp_as_a_service_map()
◆ bgp_as_a_service_port_map()
◆ bgp_as_a_service_port_range()
◆ BuildBgpAsAServiceInfo()
◆ DeleteVmInterface()
◆ DISALLOW_COPY_AND_ASSIGN()
◆ FreeBgpVmiServicePortIndex()
void BgpAsAService::FreeBgpVmiServicePortIndex |
( |
const uint32_t |
sport | ) |
|
◆ GetBgpHealthCheck()
◆ GetBgpRouterServiceDestination()
bool BgpAsAService::GetBgpRouterServiceDestination |
( |
const VmInterface * |
vm_intf, |
|
|
const IpAddress & |
source, |
|
|
const IpAddress & |
dest, |
|
|
IpAddress * |
nat_server, |
|
|
uint32_t * |
sport, |
|
|
uint32_t * |
dport |
|
) |
| const |
◆ IsBgpService()
◆ IsConfigured()
bool BgpAsAService::IsConfigured |
( |
| ) |
|
|
inline |
◆ ProcessConfig()
void BgpAsAService::ProcessConfig |
( |
const std::string & |
vrf_name, |
|
|
std::list< IFMapNode * > & |
bgp_router_node_list, |
|
|
std::list< IFMapNode * > & |
bgp_as_service_node_list, |
|
|
const boost::uuids::uuid & |
vmi_uuid |
|
) |
| |
◆ RegisterHealthCheckCb()
void BgpAsAService::RegisterHealthCheckCb |
( |
HealthCheckCb |
callback | ) |
|
|
inline |
◆ RegisterServiceDeleteCb()
◆ StartHealthCheck()
◆ UpdateBgpAsAServiceSessionInfo()
void BgpAsAService::UpdateBgpAsAServiceSessionInfo |
( |
| ) |
|
◆ agent_
const Agent* BgpAsAService::agent_ |
|
private |
◆ bgp_as_a_service_entry_map_
◆ bgp_as_a_service_parameters_
◆ bgp_as_a_service_port_map_
◆ DefaultBgpPort
const uint32_t BgpAsAService::DefaultBgpPort = 179 |
|
static |
◆ health_check_cb_list_
◆ service_delete_cb_list_
The documentation for this class was generated from the following files: