diff options
Diffstat (limited to 'ironicclient/v1/resource_fields.py')
-rw-r--r-- | ironicclient/v1/resource_fields.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ironicclient/v1/resource_fields.py b/ironicclient/v1/resource_fields.py index 76cfaca..1c9aebe 100644 --- a/ironicclient/v1/resource_fields.py +++ b/ironicclient/v1/resource_fields.py @@ -79,6 +79,8 @@ class Resource(object): 'enabled_storage_interfaces': 'Enabled Storage Interfaces', 'enabled_vendor_interfaces': 'Enabled Vendor Interfaces', 'extra': 'Extra', + 'event': 'Description of the event', + 'event_type': 'Event Origin Type', 'hostname': 'Hostname', 'hosts': 'Active host(s)', 'http_methods': 'Supported HTTP methods', @@ -140,8 +142,10 @@ class Resource(object): 'raid_interface': 'RAID Interface', 'rescue_interface': 'Rescue Interface', 'storage_interface': 'Storage Interface', + 'severity': 'Severity', 'unique': 'Unique', 'upper_bound': 'Upper Bound', + 'user': 'User', 'vendor_interface': 'Vendor Interface', 'standalone_ports_supported': 'Standalone Ports Supported', 'physical_network': 'Physical Network', @@ -570,3 +574,21 @@ DEPLOY_TEMPLATE_RESOURCE = Resource( 'name', ], ) + + +NODE_HISTORY_RESOURCE = Resource( + ['uuid', + 'created_at', + 'severity', + 'event'] +) + +NODE_HISTORY_DETAILED_RESOURCE = Resource( + ['uuid', + 'created_at', + 'severity', + 'event_type', + 'event', + 'conductor', + 'user'] +) |