Compare commits

..

No commits in common. "838956bdb7fb280f3ea86360861d365671a804af" and "98d7492534736f36d68a37d76685246b36b08e1c" have entirely different histories.

View File

@ -2,8 +2,6 @@
Minimal Delegated License Service (DLS).
Compatibility tested with official DLS 2.0.1.
This service can be used without internet connection.
Only the clients need a connection to this service on configured port.
@ -15,27 +13,27 @@ Only the clients need a connection to this service on configured port.
## Endpoints
### `GET /`
### [`GET /`](/)
Redirect to `/-/readme`.
### `GET /status` (deprecated: use `/-/health`)
### [`GET /status`](/status) (deprecated: use `/-/health`)
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
### `GET /-/health`
### [`GET /-/health`](/-/health)
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
### `GET /-/readme`
### [`GET /-/readme`](/-/readme)
HTML rendered README.md.
### `GET /-/docs`, `GET /-/redoc`
### [`GET /-/docs`](/-/docs), [`GET /-/redoc`](/-/redoc)
OpenAPI specifications rendered from `GET /-/openapi.json`.
### `GET /-/manage`
### [`GET /-/manage`](/-/manage)
Shows a very basic UI to delete origins or leases.
@ -63,7 +61,7 @@ List current leases.
Deletes an lease.
### `GET /client-token` (deprecated: use `/-/client-token`)
### `GET /client-token`
Generate client token, (see [installation](#installation)).
@ -310,7 +308,7 @@ Successfully tested with this package versions:
## Linux
```shell
curl --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
curl --insecure -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
service nvidia-gridd restart
nvidia-smi -q | grep "License"
```
@ -323,7 +321,7 @@ Now restart `NvContainerLocalSystem` service.
**Power-Shell**
```Shell
curl.exe --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
curl.exe --insecure -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
Restart-Service NVDisplay.ContainerLocalSystem
'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License"
```