* Generates unique string from AFI and SAFI combination * * \param [in] afi Afi code from RFC * \param [in] safi Safi code form RFC * * \return string unique for AFI and SAFI combination */
| 59 | * \return string unique for AFI and SAFI combination |
| 60 | */ |
| 61 | std::string AddPathDataContainer::getAFiSafiKeyString(int afi, int safi) { |
| 62 | std::string result = std::to_string(static_cast<long long>(afi)); |
| 63 | result.append("_"); |
| 64 | result.append(std::to_string(static_cast<long long>(safi))); |
| 65 | return result; |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Is add path capability enabled for such AFI and SAFI |
no outgoing calls
no test coverage detected