From 1af8f6bc52f3b70b84e1b4887c9e62f917ddfe3f Mon Sep 17 00:00:00 2001 From: Mike Pontillo Date: Thu, 20 Jun 2024 12:37:21 -0700 Subject: [PATCH] Add hardware_info dictionary to Machine --- maas/client/viscera/machines.py | 1 + 1 file changed, 1 insertion(+) diff --git a/maas/client/viscera/machines.py b/maas/client/viscera/machines.py index f9ac96d..a7663f4 100644 --- a/maas/client/viscera/machines.py +++ b/maas/client/viscera/machines.py @@ -363,6 +363,7 @@ class Machine(Node, metaclass=MachineType): netboot = ObjectField.Checked("netboot", check(bool), readonly=True) osystem = ObjectField.Checked("osystem", check(str), readonly=True) owner_data = ObjectField.Checked("owner_data", check(dict), check(dict)) + hardware_info = ObjectField.Checked("hardware_info", check(dict), check(dict), readonly=True) status = ObjectField.Checked("status", to(NodeStatus), readonly=True) status_action = ObjectField.Checked( "status_action", check_optional(str), readonly=True