
Arista EOS Reload
CertifiedEnterprise EditionReload an EOS switch once
Arista EOS Reload
Reload an EOS switch once
Saves the configuration (write memory) then sends reload now. A dropped connection or a timeout after the command was sent counts as success.
The reload is guarded and never sent twice: when the boot time is newer than the baseline (snapshot or previousBootupTimestamp), or the switch already runs targetVersion, nothing is sent and alreadyReloaded is true. Do not set a task level retry on this task. Follow it with WaitForReturn.
type: io.kestra.plugin.ee.arista.eos.ReloadExamples
Reload a switch after its image was staged
id: arista_reload
namespace: company.network
inputs:
- id: snapshot
type: URI
tasks:
- id: reload
type: io.kestra.plugin.ee.arista.eos.Reload
host: leaf1.lab.example.com
username: "{{ secret('ARISTA_USERNAME') }}"
password: "{{ secret('ARISTA_PASSWORD') }}"
snapshot: "{{ inputs.snapshot }}"
targetVersion: 4.36.0F
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
Switch host
Host name or IP address of the switch management interface serving eAPI.
password *string
Password
Use {{ secret('ARISTA_PASSWORD') }}. The value is never logged nor returned in outputs.
targetVersion *string
Target version
EOS version the switch must run after the reload, as printed by show version (for example 4.36.0F).
username *string
Username
Account allowed to run privileged commands over eAPI.
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
{}1150caCertificate string
CA certificate
PEM encoded CA certificate(s) used to validate the switch certificate. When set, only this CA is trusted. When empty, the JVM trust store is used.
connectTimeout string
Connect timeout
Maximum time to open the connection. Defaults to 10 seconds.
insecureTrustAllCertificates booleanstring
Trust any certificate
Disables certificate and host name validation. Only for labs with self-signed certificates. Defaults to false.
port integerstring
eAPI port
Defaults to 443.
previousBootupTimestamp numberstring
Previous boot timestamp
Baseline boot time (epoch seconds) when no snapshot is given.
requestTimeout string
Request timeout
Maximum time to wait for one eAPI answer. Defaults to 60 seconds. Tasks that run slow commands (image copy, checksum) expose their own timeout.
snapshot string
Snapshot
Internal storage URI of the PRE check snapshot. Its boot time is the guard baseline.
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
Outputs
alreadyReloaded boolean
Already reloaded
True when the guard found the switch already rebooted or on the target version, so no reload was sent.