Lines Matching full:hypervisor
44 * @brief Retrieves hypervisor state properties over dbus
46 * The hypervisor state object is optional so this function will only set the
56 BMCWEB_LOG_DEBUG("Get hypervisor state information."); in getHypervisorState()
58 "xyz.openbmc_project.State.Hypervisor", in getHypervisorState()
71 BMCWEB_LOG_DEBUG("Hypervisor state: {}", hostState); in getHypervisorState()
129 * @brief Populate Actions if any are valid for hypervisor object
131 * The hypervisor state object is optional so this function will only set the
141 BMCWEB_LOG_DEBUG("Get hypervisor actions."); in getHypervisorActions()
167 // More then one hypervisor object is not supported and is an in getHypervisorActions()
177 "/redfish/v1/Systems/hypervisor/Actions/ComputerSystem.Reset"; in getHypervisorActions()
179 "/redfish/v1/Systems/hypervisor/ResetActionInfo"; in getHypervisorActions()
194 "/xyz/openbmc_project/network/hypervisor/" + ethIfaceId) in extractHypervisorInterfaceData()
217 if (objpath.first == "/xyz/openbmc_project/network/hypervisor/" + in extractHypervisorInterfaceData()
286 if (objpath.first == "/xyz/openbmc_project/network/hypervisor") in extractHypervisorInterfaceData()
321 * Function that retrieves all properties for given Hypervisor Ethernet
323 * @param ethIfaceId Hypervisor ethernet interface id to query on DBus
350 BMCWEB_LOG_INFO("Hypervisor Interface not found"); in getHypervisorIfaceData()
357 * @brief Sets the Hypervisor Interface IPAddress DBUS
361 * @param[in] ethIfaceId Hypervisor Interface Id
369 BMCWEB_LOG_DEBUG("Setting the Hypervisor IPaddress : {} on Iface: {}", in setHypervisorIPv4Address()
375 "/xyz/openbmc_project/network/hypervisor/" + ethIfaceId + "/ipv4/addr0", in setHypervisorIPv4Address()
380 * @brief Sets the Hypervisor Interface SubnetMask DBUS
384 * @param[in] ethIfaceId Hypervisor Interface Id
392 BMCWEB_LOG_DEBUG("Setting the Hypervisor subnet : {} on Iface: {}", subnet, in setHypervisorIPv4Subnet()
398 "/xyz/openbmc_project/network/hypervisor/" + ethIfaceId + "/ipv4/addr0", in setHypervisorIPv4Subnet()
403 * @brief Sets the Hypervisor Interface Gateway DBUS
407 * @param[in] ethIfaceId Hypervisor Interface Id
421 "/xyz/openbmc_project/network/hypervisor"), in setHypervisorIPv4Gateway()
474 "/redfish/v1/Systems/hypervisor/EthernetInterfaces/{}", ifaceId); in parseInterfaceData()
511 "/xyz/openbmc_project/network/hypervisor") / in setDHCPEnabled()
533 "/xyz/openbmc_project/network/hypervisor/" + ifaceId + "/ipv4/addr0", in setDHCPEnabled()
542 // Hypervisor considers the first IP address in the array list in handleHypervisorIPv4StaticPatch()
543 // as the Hypervisor's virtual management interface supports single IPv4 in handleHypervisorIPv4StaticPatch()
615 "/xyz/openbmc_project/network/hypervisor"), in handleHypervisorHostnamePatch()
626 "/xyz/openbmc_project/network/hypervisor/" + ifaceId + "/ipv4/addr0", in setIPv4InterfaceEnabled()
642 "/xyz/openbmc_project/network/hypervisor", 0, interfaces, in handleHypervisorEthernetInterfaceCollectionGet()
649 "hypervisor"); in handleHypervisorEthernetInterfaceCollectionGet()
656 "/redfish/v1/Systems/hypervisor/EthernetInterfaces"; in handleHypervisorEthernetInterfaceCollectionGet()
657 asyncResp->res.jsonValue["Name"] = "Hypervisor Ethernet " in handleHypervisorEthernetInterfaceCollectionGet()
661 "Interfaces for the hypervisor"; in handleHypervisorEthernetInterfaceCollectionGet()
675 "/redfish/v1/Systems/hypervisor/EthernetInterfaces/{}", in handleHypervisorEthernetInterfaceCollectionGet()
703 asyncResp->res.jsonValue["Name"] = "Hypervisor Ethernet Interface"; in handleHypervisorEthernetInterfaceGet()
705 "Hypervisor's Virtual Management Ethernet Interface"; in handleHypervisorEthernetInterfaceGet()
716 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Systems/hypervisor"; in handleHypervisorSystemGet()
717 asyncResp->res.jsonValue["Description"] = "Hypervisor"; in handleHypervisorSystemGet()
718 asyncResp->res.jsonValue["Name"] = "Hypervisor"; in handleHypervisorSystemGet()
719 asyncResp->res.jsonValue["Id"] = "hypervisor"; in handleHypervisorSystemGet()
728 "/redfish/v1/Systems/hypervisor/EthernetInterfaces"; in handleHypervisorSystemGet()
731 // TODO: Add "SystemType" : "hypervisor" in handleHypervisorSystemGet()
793 // One and only one hypervisor instance supported in handleHypervisorEthernetInterfacePatch()
833 // to enabled/active by the pldm once the hypervisor in handleHypervisorEthernetInterfacePatch()
843 // Only return action info if hypervisor D-Bus object present in handleHypervisorResetActionGet()
856 // No hypervisor objects found by mapper in handleHypervisorResetActionGet()
859 messages::resourceNotFound(asyncResp->res, "hypervisor", in handleHypervisorResetActionGet()
868 // One and only one hypervisor instance supported in handleHypervisorResetActionGet()
875 // The hypervisor object only support the ability to in handleHypervisorResetActionGet()
882 "/redfish/v1/Systems/hypervisor/ResetActionInfo"; in handleHypervisorResetActionGet()
916 // Hypervisor object only support On operation in handleHypervisorSystemResetPost()
927 asyncResp, "xyz.openbmc_project.State.Hypervisor", in handleHypervisorSystemResetPost()
938 * Hypervisor Interface in requestRoutesHypervisorSystems()
941 BMCWEB_ROUTE(app, "/redfish/v1/Systems/hypervisor/EthernetInterfaces/") in requestRoutesHypervisorSystems()
947 "/redfish/v1/Systems/hypervisor/EthernetInterfaces/<str>/") in requestRoutesHypervisorSystems()
953 "/redfish/v1/Systems/hypervisor/EthernetInterfaces/<str>/") in requestRoutesHypervisorSystems()