MCPcopy Create free account
hub / github.com/SNAS/openbmp / EVPN

Method EVPN

Server/src/bgp/EVPN.cpp:17–24  ·  view source on GitHub ↗

* Constructor for class * * \details Handles bgp Extended Communities * * \param [in] logPtr Pointer to existing Logger for app logging * \param [in] peerAddr Printed form of peer address used for logging * \param [in] isUnreach True if MP UNREACH, false if MP REACH * \param [out] parsed_data Reference to parsed_update_data; will be u

Source from the content-addressed store, hash-verified

15 * \param [in] enable_debug Debug true to enable, false to disable
16 */
17 EVPN::EVPN(Logger *logPtr, std::string peerAddr, bool isUnreach,
18 UpdateMsg::parsed_update_data *parsed_data, bool enable_debug) {
19 logger = logPtr;
20 debug = enable_debug;
21 peer_addr = peerAddr;
22 this->parsed_data = parsed_data;
23 this->isUnreach = isUnreach;
24 }
25
26 EVPN::~EVPN() {
27 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected