Software development on Arista hardware

From PDP/Grid Wiki
Jump to navigationJump to search

Development platform

My development platform is an Arista 7148S switch and compatible devices. The firmware version used is EOS 4.7 which based on Fedora Core 12 (with some small exceptions).


Project: arp-2-bgp

https://github.com/okoeroo/arp-2-bgp

Helper tools

https://github.com/okoeroo/arista-EOS-rc


Unstructured notes

The flash disk is a FAT32 disk of 2GB and by default mounted on /mnt/flash

The /mnt/flash/persistent/ directory contains the system disk images.

The file /mnt/flash/rc.eos is executed at the end of the boot (switch reload) time. It has the file /etc/swi-version sourced, exposing the EOS version.

The switch CLI is executed by the python script:

/usr/bin/Cli

If you run this shell from the admin user on the switch, then this will not succeed for all switch-CLI commands. Perform a privilege upgrade on the bash shell with "su" or let a cron job run with root privileges.