arista.eos
Supported platform
- arista-eos
Description
Arista EOS resource
Fields
| ID | TYPE | DESCRIPTION |
|---|---|---|
| systemConfig | map[string]string | EOS system configuration |
| ipInterfaces | []arista.eos.ipInterface | IP interfaces |
| interfaces | []arista.eos.interface | Details related to interfaces |
| version | dict | Software and hardware versions |
| hostname | string | The system hostname |
| fqdn | string | The systems fqdn |
| users | []arista.eos.user | Local user configuration |
| roles | []arista.eos.role | All user-defined and built-in roles |
| snmp | arista.eos.snmpSetting | Details on SNMP operation |
| ntp | arista.eos.ntpSetting | Show NTP status |
Examples
Arista EOS Version
arista.eos.version
Verify that Arista EOS Version is 18.x
arista.eos.version['version'] == /18\./
Display EOS interfaces
arista.eos.interfaces { name mtu bandwidth status }
Display all connected EOS interfaces
arista.eos.interfaces.where ( status['linkStatus'] == "connected") { name mtu bandwidth status }
EOS Hostname
arista.eos.hostname