New board fields.

Change-Id: I343c3a6ccede34ff6a19de65995bb791617098c2
This commit is contained in:
Fabio Verboso 2019-02-05 12:20:48 +01:00
parent 14c7d7c2c7
commit 18ae3a3dbc
1 changed files with 7 additions and 42 deletions

View File

@ -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',