* 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
| 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected