Skip to content

Commit

Permalink
Add hardware_info dictionary to Machine
Browse files Browse the repository at this point in the history
  • Loading branch information
mpontillo committed Jun 20, 2024
1 parent 410f9f9 commit bcfd581
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maas/client/viscera/machines.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ class Machine(Node, metaclass=MachineType):
cpus = ObjectField.Checked("cpu_count", check(int), check(int))
disable_ipv4 = ObjectField.Checked("disable_ipv4", check(bool), check(bool))
distro_series = ObjectField.Checked("distro_series", check(str), readonly=True)
hardware_info = ObjectField.Checked(
"hardware_info", check(dict), check(dict), readonly=True
)
hwe_kernel = ObjectField.Checked(
"hwe_kernel", check_optional(str), check_optional(str)
)
Expand Down

0 comments on commit bcfd581

Please sign in to comment.