-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Wrap the CIM_AssociatedPowerManagementService service.
This service has more details about the power state of the system then the existing PowerManagementService, for example, it has the AvailableRequestedPowerStates property, which contains the set of states the system can transition to.
Further documentation about this CIM_AssociatedPowerManagementService service is available at:
- https://github.com/intel/lms/blob/f7c374745ae7efb3ed7860fdc3f8abbb52dc9f8f/CIM_Framework/CIMFramework/CPPClasses/Include/CIM_AssociatedPowerManagementService.h#L143-L159
- https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_AssociatedPowerManagementService.html
- https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm?turl=HTMLDocuments%2FWS-Management_Class_Reference%2FCIM_AssociatedPowerManagementService.htm
It seems this repository already includes the required message type at https://github.com/open-amt-cloud-toolkit/go-wsman-messages/blob/v2.11.1/pkg/wsman/cim/models/types.go#L431-L434
I guess this should be wrapped in a similar way to PowerManagementService, which is used as:
messages := wsman.NewMessages(clientParameters)
response, err := messages.CIM.PowerManagementService.Get()So, I guess, something like this is needed:
messages := wsman.NewMessages(clientParameters)
response, err := messages.CIM.AssociatedPowerManagementService.Get()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Future Items