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

HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Fri, 13 Nov 2020 11:52:56 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
X-Compute-Request-Id: req-99f51825-9b47-41ea-814f-8f8141157fc7

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

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

Was this helpful?