Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing fields to Machine and Interface #304

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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