Lines Matching refs:ifaceId

422     createHypervisorIPv4(const std::string& ifaceId, uint8_t prefixLength,  in createHypervisorIPv4()  argument
426 setHypervisorIPv4Address(asyncResp, ifaceId, address); in createHypervisorIPv4()
428 setHypervisorIPv4Subnet(asyncResp, ifaceId, prefixLength); in createHypervisorIPv4()
440 deleteHypervisorIPv4(const std::string& ifaceId, in deleteHypervisorIPv4() argument
446 setHypervisorIPv4Address(asyncResp, ifaceId, address); in deleteHypervisorIPv4()
448 setHypervisorIPv4Subnet(asyncResp, ifaceId, prefixLength); in deleteHypervisorIPv4()
452 const std::string& ifaceId, in parseInterfaceData() argument
456 jsonResponse["Id"] = ifaceId; in parseInterfaceData()
458 "/redfish/v1/Systems/hypervisor/EthernetInterfaces/{}", ifaceId); in parseInterfaceData()
487 inline void setDHCPEnabled(const std::string& ifaceId, bool ipv4DHCPEnabled, in setDHCPEnabled() argument
496 ifaceId, in setDHCPEnabled()
510 deleteHypervisorIPv4(ifaceId, asyncResp); in setDHCPEnabled()
517 "/xyz/openbmc_project/network/hypervisor/" + ifaceId + "/ipv4/addr0", in setDHCPEnabled()
522 const std::string& ifaceId, in handleHypervisorIPv4StaticPatch() argument
534 deleteHypervisorIPv4(ifaceId, asyncResp); in handleHypervisorIPv4StaticPatch()
578 BMCWEB_LOG_DEBUG("Calling createHypervisorIPv4 on : {},{}", ifaceId, in handleHypervisorIPv4StaticPatch()
580 createHypervisorIPv4(ifaceId, prefixLength, gateway, address, asyncResp); in handleHypervisorIPv4StaticPatch()
582 setDHCPEnabled(ifaceId, false, asyncResp); in handleHypervisorIPv4StaticPatch()
605 setIPv4InterfaceEnabled(const std::string& ifaceId, bool isActive, in setIPv4InterfaceEnabled() argument
610 "/xyz/openbmc_project/network/hypervisor/" + ifaceId + "/ipv4/addr0", in setIPv4InterfaceEnabled()
676 id, [asyncResp, ifaceId{std::string(id)}]( in handleHypervisorEthernetInterfaceGet()
682 ifaceId); in handleHypervisorEthernetInterfaceGet()
690 parseInterfaceData(asyncResp->res.jsonValue, ifaceId, ethData, in handleHypervisorEthernetInterfaceGet()
721 const std::string& ifaceId) in handleHypervisorEthernetInterfacePatch() argument
752 ifaceId, in handleHypervisorEthernetInterfacePatch()
753 [asyncResp, ifaceId, hostName = std::move(hostName), in handleHypervisorEthernetInterfacePatch()
760 ifaceId); in handleHypervisorEthernetInterfacePatch()
801 handleHypervisorIPv4StaticPatch(ifaceId, ipv4Static, in handleHypervisorEthernetInterfacePatch()
813 setDHCPEnabled(ifaceId, *ipv4DHCPEnabled, asyncResp); in handleHypervisorEthernetInterfacePatch()
819 setIPv4InterfaceEnabled(ifaceId, false, asyncResp); in handleHypervisorEthernetInterfacePatch()