Schedulers
Disable Workload Scheduler
POST
https://$(tvm_address):8780/v1/$(tenant_id)/workloads/<workload_id>/pause
Disables the scheduler of a given Workload
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Enable Workload Scheduler
POST
https://$(tvm_address):8780/v1/$(tenant_id)/workloads/<workload_id>/resume
Enables the scheduler of a given Workload
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Scheduler Trust Status
GET
https://$(tvm_address):8780/v1/$(tenant_id)/trusts/validate/<workload_id>
Validates the Scheduler trust for a given Workload
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
All following API commands require an Authentication token against a user with admin-role in the authentication project.
Global Job Scheduler status
GET
https://$(tvm_address):8780/v1/$(tenant_id)/global_job_scheduler
Requests the status of the Global Job Scheduler
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Disable Global Job Scheduler
POST
https://$(tvm_address):8780/v1/$(tenant_id)/global_job_scheduler/disable
Requests disabling the Global Job Scheduler
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Enable Global Job Scheduler
POST
https://$(tvm_address):8780/v1/$(tenant_id)/global_job_scheduler/enable
Requests enabling the Global Job Scheduler
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of Tenant/Project the Workload is located in |
workload_id | string | ID of the Workload to disable the Scheduler in |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to authenticate against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Last updated