diff options
author | Nikita Krishnia-INTERN <nkrishnia@nvidia.com> | 2017-12-12 05:08:25 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2018-01-04 10:29:38 -0800 |
commit | 2f557912102d3792b123de197c8e9fbe5ec6bc80 (patch) | |
tree | 81aa494d621d5970c724c3ac2ae822635ebedc0c /src/nv_grid_dbus.h | |
parent | 2fb5615fe0ce3d9182b7ac86629022497fec4081 (diff) |
Modified logic to update status/messages on 'Manage License Page' and rename "Tesla(unlicensed)" string to "GRID Virtual Apps"
Details:
- From nvidia-gridd, fetching license state from the state machine. Sending this
license state instead of license status to nvidia-settings.
- According to license state and featureType fetched from nvidia-gridd, setting
license status on nvidia-settings side.
- Updated all license status messages to latest reviewed strings.
- Renamed "Tesla(unlicensed)" string to "GRID Virtual Apps".
Diffstat (limited to 'src/nv_grid_dbus.h')
-rw-r--r-- | src/nv_grid_dbus.h | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/src/nv_grid_dbus.h b/src/nv_grid_dbus.h index 197ddaa..557c781 100644 --- a/src/nv_grid_dbus.h +++ b/src/nv_grid_dbus.h @@ -33,33 +33,27 @@ #define LICENSE_FEATURE_TYPE_REQUEST 3 /* - * List of grid license states + * GRID license states */ typedef enum { - NV_GRID_UNLICENSED = 0, // Your system does not have a valid GPU license. Enter license server details and apply. - NV_GRID_UNLICENSED_VGPU, // Your system does not have a valid vGPU license. Enter license server details and apply. - NV_GRID_UNLICENSED_TESLA, // Your system is currently running on Tesla (unlicensed). - NV_GRID_UNLICENSED_GVW_SELECTED, // Your system is currently running on Tesla (unlicensed). Enter license server details and apply. - NV_GRID_LICENSE_ACQUIRED_VGPU, // Your system is licensed for GRID vGPU. - NV_GRID_LICENSE_ACQUIRED_GVW, // Your system is licensed for Quadro Virtual Datacenter Workstation Edition. - NV_GRID_LICENSE_REQUESTING_VGPU, // Acquiring license for GRID vGPU Edition. Your system does not have a valid GRID vGPU license. - NV_GRID_LICENSE_REQUESTING_GVW, // Acquiring license for Quadro Virtual Datacenter Workstation Edition. Your system does not have a valid Quadro Virtual Datacenter Workstation license. - NV_GRID_LICENSE_FAILED_VGPU, // Failed to acquire NVIDIA vGPU license. - NV_GRID_LICENSE_FAILED_GVW, // Failed to acquire NVIDIA Quadro Virtual Datacenter Workstation license. - NV_GRID_LICENSE_EXPIRED_VGPU, // Failed to renew license for GRID vGPU Edition. Your system does not have a valid GRID vGPU license. - NV_GRID_LICENSE_EXPIRED_GVW, // License for Quadro Virtual Datacenter Workstation has expired. Your system does not have a valid Quadro Virtual Datacenter Workstation license. - NV_GRID_LICENSE_RESTART_REQUIRED, // Restart your system for Tesla Edition. Your system is currently running Quadro Virtual Datacenter Workstation Edition. -} gridLicenseStatus; + NV_GRID_UNLICENSED = 0, + NV_GRID_LICENSE_REQUESTING, + NV_GRID_LICENSE_FAILED, + NV_GRID_LICENSED, + NV_GRID_LICENSE_RENEWING, + NV_GRID_LICENSE_RENEW_FAILED, + NV_GRID_LICENSE_EXPIRED, +} gridLicenseState; /* - * List of grid license feature types + * GRID license feature types */ typedef enum { - NV_GRID_LICENSED_FEATURE_TYPE_TESLA = 0, - NV_GRID_LICENSED_FEATURE_TYPE_VGPU, - NV_GRID_LICENSED_FEATURE_TYPE_GVW, + NV_GRID_LICENSE_FEATURE_TYPE_VAPP = 0, + NV_GRID_LICENSE_FEATURE_TYPE_VGPU, + NV_GRID_LICENSE_FEATURE_TYPE_QDWS, } gridLicenseFeatureType; #endif // _NVIDIA_NV_GRID_DBUS_H_ |