Skip to content

Conversation

@mpontillo
Copy link
Contributor

@mpontillo mpontillo commented Jun 20, 2024

The hardware_info field returned from the machine read API is not currently represented in python-libmaas. This field should contain information such as the following:

  "hardware_info": {
    "system_vendor": "Canonical",
    "system_product": "ORANGE-BOX",
    "system_family": "C42",
    "system_version": "Unknown",
    "system_sku": "012345678",
    "system_serial": "C42-A",
    "cpu_model": "ARM64",
    "mainboard_vendor": "Canonical",
    "mainboard_product": "ORANGE-BOX",
    "mainboard_serial": "987654321",
    "mainboard_version": "1.05",
    "mainboard_firmware_vendor": "European Megatrends International, LLC.",
    "mainboard_firmware_date": "07/04/2023",
    "mainboard_firmware_version": "1.5",
    "chassis_vendor": "Canonical",
    "chassis_type": "Other",
    "chassis_serial": "654321",
    "chassis_version": "Unknown"
  },

In addition, the product field is missing from the Interface type.

@mpontillo mpontillo changed the title Add hardware_info dictionary to Machine Add missing fields to Machine and Interface Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant