Lines Matching refs:ifaceId

734     const std::string& ifaceId, const std::string& gateway,  in updateIPv4DefaultGateway()  argument
740 ifaceId, in updateIPv4DefaultGateway()
754 inline void deleteIPAddress(const std::string& ifaceId, in deleteIPAddress() argument
767 "/xyz/openbmc_project/network/" + ifaceId + ipHash, in deleteIPAddress()
782 inline void createIPv4(const std::string& ifaceId, uint8_t prefixLength, in createIPv4() argument
787 [asyncResp, ifaceId, gateway](const boost::system::error_code& ec) { in createIPv4()
797 "/xyz/openbmc_project/network/" + ifaceId, in createIPv4()
818 IpVersion version, const std::string& ifaceId, const std::string& id, in deleteAndCreateIPAddress() argument
825 [asyncResp, version, ifaceId, address, prefixLength, in deleteAndCreateIPAddress()
842 "/xyz/openbmc_project/network/" + ifaceId, in deleteAndCreateIPAddress()
847 "/xyz/openbmc_project/network/" + ifaceId + id, in deleteAndCreateIPAddress()
899 inline void createIPv6(const std::string& ifaceId, uint8_t prefixLength, in createIPv6() argument
904 path /= ifaceId; in createIPv6()
940 std::string_view ifaceId, std::string_view gatewayId, in deleteIPv6Gateway() argument
944 path /= ifaceId; in deleteIPv6Gateway()
968 std::string_view ifaceId, const std::string& gateway, in createIPv6DefaultGateway() argument
972 path /= ifaceId; in createIPv6DefaultGateway()
998 std::string_view ifaceId, std::string_view gatewayId, in deleteAndCreateIPv6DefaultGateway() argument
1003 path /= ifaceId; in deleteAndCreateIPv6DefaultGateway()
1007 [asyncResp, ifaceId, gateway](const boost::system::error_code& ec) { in deleteAndCreateIPv6DefaultGateway()
1013 createIPv6DefaultGateway(ifaceId, gateway, asyncResp); in deleteAndCreateIPv6DefaultGateway()
1031 const std::string& ifaceId, in handleIPv6DefaultGateway() argument
1064 deleteIPv6Gateway(ifaceId, staticGatewayEntry->id, asyncResp); in handleIPv6DefaultGateway()
1100 deleteAndCreateIPv6DefaultGateway(ifaceId, staticGatewayEntry->id, in handleIPv6DefaultGateway()
1106 createIPv6DefaultGateway(ifaceId, *addr, asyncResp); in handleIPv6DefaultGateway()
1210 std::string ifaceId = objpath.first.filename(); in getEthernetIfaceList() local
1211 if (ifaceId.empty()) in getEthernetIfaceList()
1216 ifaceList.emplace_back(ifaceId); in getEthernetIfaceList()
1247 const std::string& ifaceId, const size_t mtuSize, in handleMTUSizePatch() argument
1251 objPath /= ifaceId; in handleMTUSizePatch()
1258 const std::string& ifaceId, const std::string& domainname, in handleDomainnamePatch() argument
1265 ifaceId, in handleDomainnamePatch()
1297 inline void handleFqdnPatch(const std::string& ifaceId, const std::string& fqdn, in handleFqdnPatch() argument
1326 handleDomainnamePatch(ifaceId, domainname, asyncResp); in handleFqdnPatch()
1330 const std::string& ifaceId, const std::string& macAddress, in handleMACAddressPatch() argument
1336 ifaceId, in handleMACAddressPatch()
1340 inline void setDHCPEnabled(const std::string& ifaceId, in setDHCPEnabled() argument
1349 ifaceId, in setDHCPEnabled()
1385 const std::string& ifaceId, bool ipv6AutoConfigEnabled, in handleSLAACAutoConfigPatch() argument
1389 path /= ifaceId; in handleSLAACAutoConfigPatch()
1398 const std::string& ifaceId, const EthernetInterfaceData& ethData, in handleDHCPPatch() argument
1407 updateIPv4DefaultGateway(ifaceId, "", asyncResp); in handleDHCPPatch()
1464 setDHCPEnabled(ifaceId, "DHCPEnabled", nextv4DHCPState, nextv6DHCPState, in handleDHCPPatch()
1467 setDHCPConfig("DNSEnabled", nextDNSv4, asyncResp, ifaceId, in handleDHCPPatch()
1470 setDHCPConfig("NTPEnabled", nextNTPv4, asyncResp, ifaceId, in handleDHCPPatch()
1473 setDHCPConfig("DomainEnabled", nextUsev4Domain, asyncResp, ifaceId, in handleDHCPPatch()
1476 setDHCPConfig("DNSEnabled", nextDNSv6, asyncResp, ifaceId, in handleDHCPPatch()
1479 setDHCPConfig("NTPEnabled", nextNTPv6, asyncResp, ifaceId, in handleDHCPPatch()
1482 setDHCPConfig("DomainEnabled", nextUsev6Domain, asyncResp, ifaceId, in handleDHCPPatch()
1683 const std::string& ifaceId, in handleIPv4StaticPatch() argument
1700 updateIPv4DefaultGateway(ifaceId, "", asyncResp); in handleIPv4StaticPatch()
1710 address.existingDbusId, ifaceId); in handleIPv4StaticPatch()
1711 deleteIPAddress(ifaceId, address.existingDbusId, asyncResp); in handleIPv4StaticPatch()
1721 address.existingDbusId, ifaceId); in handleIPv4StaticPatch()
1723 IpVersion::IpV4, ifaceId, address.existingDbusId, in handleIPv4StaticPatch()
1733 ifaceId); in handleIPv4StaticPatch()
1734 createIPv4(ifaceId, address.prefixLength, address.gateway, in handleIPv4StaticPatch()
1751 updateIPv4DefaultGateway(ifaceId, gatewayOut, asyncResp); in handleIPv4StaticPatch()
1756 const std::string& ifaceId, in handleStaticNameServersPatch() argument
1763 ifaceId, in handleStaticNameServersPatch()
1769 const std::string& ifaceId, in handleIPv6StaticAddressesPatch() argument
1828 deleteAndCreateIPAddress(IpVersion::IpV6, ifaceId, in handleIPv6StaticAddressesPatch()
1836 createIPv6(ifaceId, *prefixLength, *address, asyncResp); in handleIPv6StaticAddressesPatch()
1859 deleteIPAddress(ifaceId, nicIpEntry->id, asyncResp); in handleIPv6StaticAddressesPatch()
1871 inline std::string extractParentInterfaceName(const std::string& ifaceId) in extractParentInterfaceName() argument
1873 std::size_t pos = ifaceId.find('_'); in extractParentInterfaceName()
1874 return ifaceId.substr(0, pos); in extractParentInterfaceName()
1879 const std::string& ifaceId, const EthernetInterfaceData& ethData, in parseInterfaceData() argument
1885 jsonResponse["Id"] = ifaceId; in parseInterfaceData()
1888 BMCWEB_REDFISH_MANAGER_URI_NAME, ifaceId); in parseInterfaceData()
1953 extractParentInterfaceName(ifaceId)); in parseInterfaceData()
2035 const std::string& ifaceId, in afterDelete() argument
2055 ifaceId); in afterDelete()
2275 const std::string& managerId, const std::string& ifaceId) { in requestEthernetInterfacesRoutes() argument
2289 ifaceId, in requestEthernetInterfacesRoutes()
2290 [asyncResp, ifaceId]( in requestEthernetInterfacesRoutes()
2301 asyncResp->res, "EthernetInterface", ifaceId); in requestEthernetInterfacesRoutes()
2312 parseInterfaceData(asyncResp, ifaceId, ethData, in requestEthernetInterfacesRoutes()
2322 const std::string& managerId, const std::string& ifaceId) { in requestEthernetInterfacesRoutes() argument
2388 ifaceId, in requestEthernetInterfacesRoutes()
2389 [asyncResp, ifaceId, hostname = std::move(hostname), in requestEthernetInterfacesRoutes()
2412 asyncResp->res, "EthernetInterface", ifaceId); in requestEthernetInterfacesRoutes()
2416 handleDHCPPatch(ifaceId, ethData, v4dhcpParms, in requestEthernetInterfacesRoutes()
2427 ifaceId, *ipv6AutoConfigEnabled, asyncResp); in requestEthernetInterfacesRoutes()
2432 handleFqdnPatch(ifaceId, *fqdn, asyncResp); in requestEthernetInterfacesRoutes()
2437 handleMACAddressPatch(ifaceId, *macAddress, in requestEthernetInterfacesRoutes()
2443 handleIPv4StaticPatch(ifaceId, *ipv4StaticAddresses, in requestEthernetInterfacesRoutes()
2450 ifaceId, *staticNameServers, asyncResp); in requestEthernetInterfacesRoutes()
2461 handleIPv6StaticAddressesPatch(ifaceId, in requestEthernetInterfacesRoutes()
2469 ifaceId, *ipv6StaticDefaultGateway, in requestEthernetInterfacesRoutes()
2480 ifaceId, in requestEthernetInterfacesRoutes()
2487 handleMTUSizePatch(ifaceId, *mtuSize, asyncResp); in requestEthernetInterfacesRoutes()
2497 const std::string& managerId, const std::string& ifaceId) { in requestEthernetInterfacesRoutes() argument
2512 [asyncResp, ifaceId](const boost::system::error_code& ec, in requestEthernetInterfacesRoutes()
2514 afterDelete(asyncResp, ifaceId, ec, m); in requestEthernetInterfacesRoutes()
2517 std::string("/xyz/openbmc_project/network/") + ifaceId, in requestEthernetInterfacesRoutes()