
Arista CloudVision GetTasks
CertifiedEnterprise EditionList CloudVision tasks by status
Arista CloudVision GetTasks
List CloudVision tasks by status
Lists the CloudVision tasks (the work orders created by configlet or image bundle assignments) in one status. Tasks are not executed here: group them in a change control with ChangeControl.
fetchType chooses the output: FETCH (default) returns every task in tasks, FETCH_ONE the first one in task, STORE writes them to an Ion file in internal storage and returns uri, NONE returns only size.
type: io.kestra.plugin.ee.arista.cvp.GetTasksExamples
List the pending tasks of an on-prem CVP
id: arista_cvp_pending_tasks
namespace: company.network
tasks:
- id: pending
type: io.kestra.plugin.ee.arista.cvp.GetTasks
host: cvp.lab.example.com
token: "{{ secret('CVP_TOKEN') }}"
caCertificate: "{{ secret('CVP_CA_PEM') }}"
status: PENDING
Installation
This Enterprise plugin requires an Enterprise image and access to the plugin registry. Install it with the following command:
kestractl plugins get io.kestra.plugin.ee:plugin-ee-arista --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
host *string
CloudVision host
Host name or IP address of CloudVision. Use www.cv-prod-<region>.arista.io for CVaaS or the address of your on-prem CVP.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150authType string
SERVICE_ACCOUNT_TOKENUSER_PASSWORDAuthentication type
SERVICE_ACCOUNT_TOKEN (default, CVaaS and on-prem) sends token as a bearer token.
USER_PASSWORD (on-prem only) logs in with username and password, reuses the session cookie for the task run and logs out at the end.
caCertificate string
CA certificate
PEM encoded CA certificate(s) used to validate the CloudVision certificate. When set, only this CA is trusted. When empty, the JVM trust store is used. An on-prem CVP with a self-signed certificate needs this property.
connectTimeout string
Connect timeout
Maximum time to open the connection. Must be greater than zero. Defaults to 10 seconds.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch type
FETCH (default) returns the tasks in tasks, FETCH_ONE the first task in task, STORE writes them to an Ion file in internal storage and returns uri, NONE returns only size.
insecureTrustAllCertificates booleanstring
Trust any certificate
Disables certificate and host name validation. Only for labs with self-signed certificates. Defaults to false.
password string
Password
Required for USER_PASSWORD. Use {{ secret('CVP_PASSWORD') }}. The value is never logged nor returned in outputs.
port integerstring
Port
Between 1 and 65535. Defaults to 443.
requestTimeout string
Request timeout
Maximum time to wait for one CloudVision answer. Must be greater than zero. Defaults to 60 seconds.
status string
PENDINGFAILEDCOMPLETEDCANCELLEDTask status
PENDING (default), FAILED, COMPLETED or CANCELLED.
token string
Service account token
Required for SERVICE_ACCOUNT_TOKEN. Use {{ secret('CVP_TOKEN') }}. The value is never logged nor returned in outputs.
username string
Username
Required for USER_PASSWORD.
Outputs
size integer
Number of tasks
task
Task
First task. Only set with fetchType FETCH_ONE, and not when there is no task.
io.kestra.plugin.ee.arista.cvp.GetTasks-CvpTask
Created by
Description
Status
Task id
CloudVision work order id, usable in ChangeControl taskIds.
tasks array
Tasks
Only set with fetchType FETCH.
io.kestra.plugin.ee.arista.cvp.GetTasks-CvpTask
Created by
Description
Status
Task id
CloudVision work order id, usable in ChangeControl taskIds.
uri string
uriTasks file
Internal storage URI of an Ion file with one task per row. Only set with fetchType STORE.