From 18ae3a3dbca98d4ee6600f44be76d99df0622670 Mon Sep 17 00:00:00 2001 From: Fabio Verboso Date: Tue, 5 Feb 2019 12:20:48 +0100 Subject: [PATCH] New board fields. Change-Id: I343c3a6ccede34ff6a19de65995bb791617098c2 --- iotronicclient/v1/resource_fields.py | 49 ++++------------------------ 1 file changed, 7 insertions(+), 42 deletions(-) diff --git a/iotronicclient/v1/resource_fields.py b/iotronicclient/v1/resource_fields.py index 26d68fe..62f8c02 100644 --- a/iotronicclient/v1/resource_fields.py +++ b/iotronicclient/v1/resource_fields.py @@ -69,47 +69,8 @@ class Resource(object): 'https_port': 'HTTPS Port', 'zone': 'Zone', 'dns': 'DNS', - - # - # 'address': 'Address', - # 'async': 'Async', - # 'attach': 'Response is attachment', - # 'chassis_uuid': 'Chassis UUID', - # 'clean_step': 'Clean Step', - # 'console_enabled': 'Console Enabled', - # 'http_methods': 'Supported HTTP methods', - # 'inspection_finished_at': 'Inspection Finished At', - # 'inspection_started_at': 'Inspection Started At', - # 'instance_info': 'Instance Info', - # 'instance_uuid': 'Instance UUID', - # 'internal_info': 'Internal Info', - # 'last_error': 'Last Error', - # 'maintenance': 'Maintenance', - # 'maintenance_reason': 'Maintenance Reason', - # 'mode': 'Mode', - # 'power_state': 'Power State', - # 'properties': 'Properties', - # 'provision_state': 'Provisioning State', - # 'provision_updated_at': 'Provision Updated At', - # 'raid_config': 'Current RAID configuration', - # 'reservation': 'Reservation', - # 'resource_class': 'Resource Class', - # 'target_power_state': 'Target Power State', - # 'target_provision_state': 'Target Provision State', - # 'target_raid_config': 'Target RAID configuration', - # 'local_link_connection': 'Local Link Connection', - # 'pxe_enabled': 'PXE boot enabled', - # 'portgroup_uuid': 'Portgroup UUID', - # 'boot_interface': 'Boot Interface', - # 'console_interface': 'Console Interface', - # 'deploy_interface': 'Deploy Interface', - # 'inspect_interface': 'Inspect Interface', - # 'management_interface': 'Management Interface', - # 'network_interface': 'Network Interface', - # 'power_interface': 'Power Interface', - # 'raid_interface': 'RAID Interface', - # 'vendor_interface': 'Vendor Interface', - # 'standalone_ports_supported': 'Standalone Ports Supported', + 'mac_addr': 'Mac Address', + 'lr_version': 'LR Version' } @@ -162,6 +123,8 @@ BOARD_DETAILED_RESOURCE = Resource( 'type', 'status', 'fleet', + 'lr_version', + 'mac_addr', 'code', 'session', 'mobile', @@ -170,7 +133,8 @@ BOARD_DETAILED_RESOURCE = Resource( 'updated_at', 'location', 'project', - 'owner' + 'owner', + ], sort_excluded=[ @@ -180,6 +144,7 @@ BOARD_RESOURCE = Resource( ['uuid', 'name', 'type', + 'lr_version', 'fleet', 'status', 'session',