@@ -42,25 +42,32 @@ type BMC interface {
4242 GetSystems (ctx context.Context ) ([]Server , error )
4343
4444 // GetManager returns the manager
45- GetManager () (* Manager , error )
45+ GetManager (UUID string ) (* redfish.Manager , error )
46+
47+ // Reset performs a reset on the Manager.
48+ ResetManager (ctx context.Context , UUID string , resetType redfish.ResetType ) error
4649
4750 GetBootOrder (ctx context.Context , systemUUID string ) ([]string , error )
4851
4952 GetBiosAttributeValues (ctx context.Context , systemUUID string , attributes []string ) (redfish.SettingsAttributes , error )
5053
51- GetBMCAttributeValues (ctx context.Context , attributes []string ) (redfish.SettingsAttributes , error )
54+ //(ctx context.Context, systemUUID string) (redfish.SettingsAttributes, error)
55+
56+ GetBMCAttributeValues (ctx context.Context , UUID string , attributes []string ) (redfish.SettingsAttributes , error )
57+
58+ GetBMCPendingAttributeValues (ctx context.Context , UUID string ) (redfish.SettingsAttributes , error )
5259
5360 CheckBiosAttributes (attrs map [string ]string ) (reset bool , err error )
5461
5562 CheckBMCAttributes (attrs redfish.SettingsAttributes ) (reset bool , err error )
5663
5764 SetBiosAttributesOnReset (ctx context.Context , systemUUID string , attributes map [string ]string ) (err error )
5865
59- SetBMCAttributesImediately (ctx context.Context , attributes redfish.SettingsAttributes ) (err error )
66+ SetBMCAttributesImediately (ctx context.Context , UUID string , attributes redfish.SettingsAttributes ) (err error )
6067
6168 GetBiosVersion (ctx context.Context , systemUUID string ) (string , error )
6269
63- GetBMCVersion (ctx context.Context ) (string , error )
70+ GetBMCVersion (ctx context.Context , UUID string ) (string , error )
6471
6572 SetBootOrder (ctx context.Context , systemUUID string , order []string ) error
6673
0 commit comments