Skip to content

Commit

Permalink
serverservice/consts: define various component firmware, status consts
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Oct 20, 2023
1 parent c7be192 commit 5046ff6
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions serverservice/consts.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
package serverservice

const (
// Serverservice attribute namespace for device vendor, model, serial attributes
// Serverservice attribute namespace for device vendor, model, serial attributes.
ServerAttributeNSVendor = "sh.hollow.alloy.server_vendor_attributes"

// Serverservice attribute namespace for the BMC address
// Serverservice attribute namespace for the BMC address.
ServerAttributeNSBmcAddress = "sh.hollow.bmc_info"

// Serverservice attribute namespace for firmware set labels
// Serverservice attribute namespace for firmware set labels.
FirmwareAttributeNSFirmwareSetLabels = "sh.hollow.firmware_set.labels"

// Serverservice attribute namespace for inband firmware information.
FirmwareVersionInbandNS = "sh.hollow.alloy.inband.firmware"

// Serverservice attribute namespace for outofband firmware information.
FirmwareVersionOutofbandNS = "sh.hollow.alloy.outofband.firmware"

// Serverservice attribute for installed firmware.
FirmwareVersionNSInstalledAttribute = "firmware.installed"

// Serverservice attribute namespace for inband component status information.
StatusInbandNS = "sh.hollow.alloy.inband.status"

// Serverservice attribute namespace for outofband component status information.
StatusOutofbandNS = "sh.hollow.alloy.outofband.status"

// Serverservice attribute for component health status.
StatusNSHealthAttribute = "status.health"
)

0 comments on commit 5046ff6

Please sign in to comment.