{"id":28772825,"url":"https://github.com/aristanetworks/sonic","last_synced_at":"2025-07-15T05:40:15.047Z","repository":{"id":5847150,"uuid":"53158664","full_name":"aristanetworks/sonic","owner":"aristanetworks","description":"Open source drivers and initialization library for Arista platforms running SONiC","archived":false,"fork":false,"pushed_at":"2025-06-19T22:46:26.000Z","size":2173,"stargazers_count":28,"open_issues_count":6,"forks_count":37,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-06-19T23:28:21.399Z","etag":null,"topics":["arista","drivers-library","kernel-drivers","sonic"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aristanetworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-03-04T18:59:14.000Z","updated_at":"2025-06-19T22:46:29.000Z","dependencies_parsed_at":"2024-04-11T12:23:57.555Z","dependency_job_id":"f12c9c50-d881-4e4c-8391-08eb81af444c","html_url":"https://github.com/aristanetworks/sonic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aristanetworks/sonic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristanetworks%2Fsonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristanetworks%2Fsonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristanetworks%2Fsonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristanetworks%2Fsonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aristanetworks","download_url":"https://codeload.github.com/aristanetworks/sonic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristanetworks%2Fsonic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265411565,"owners_count":23760636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arista","drivers-library","kernel-drivers","sonic"],"created_at":"2025-06-17T14:05:50.503Z","updated_at":"2025-07-15T05:40:15.036Z","avatar_url":"https://github.com/aristanetworks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Arista platform support for SONiC\n=================================\n\nCopyright (C) 2016 Arista Networks, Inc.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n## License\n\nAll linux kernel code is licensed under the GPLv2. All other code is\nlicensed under the GPLv3. Please see the LICENSE file for copies of\nboth licenses.\n\n## Purpose\n\nThis package provides open source hardware support for Arista products.\nIt is mainly targeted at SONiC OS (debian based) though this repository should\nbuild and work on any operating system.\nFor more details visit the [SONiC website](https://azure.github.io/SONiC/)\n\nDuring normal operations, the platform is initialized at boot time via a set of\nsystemd services. These services invoke commands using the `arista` tool.\n\nThis tool detects the platform on which it is running before loading and\ninitializing the appropriate drivers.\nOnce the initialization is complete, the system exposes various\ncomponents through the sysfs such as fans, leds, xcvrs, ...\n\n## API\n\nThe primary means to interact with the library is through the `sonic_platform`\nlibrary. This is SONiC's API for switch vendors to manage the platform.\nThe base classes of this API can be found in the\n[sonic-platform-common repository](https://github.com/Azure/sonic-platform-common)\n\nInternal APIs of this repository are subject to change without notice.\nWe try to avoid breaking the CLI but it can happen.\n\n## Supported platforms\n\nThe following platforms are currently supported,\n\n - CCS-720DT-48S\n - DCS-7050QX-32\n - DCS-7050QX-32S\n - DCS-7050CX3-32S\n - DCS-7060CX-32\n - DCS-7060CX2-32\n - DCS-7060PX4-32 and DCS-7060DX4-32\n - DCS-7060DX5-32\n - DCS-7060PX5-64 and DCS-7060DX5-64\n - DCS-7060DX5-64S\n - DCS-7170-32C\n - DCS-7170-32CD\n - DCS-7170-64C\n - DCS-7170B-64C\n - DCS-7260CX3-64\n - DCS-7280CR3-32P4 and DCS-7280CR3-32D4\n\nNote that the support in this package does not necessarily means that the\ndataplane is working in SONiC.\nThough most should be, some could face some ASIC/PHY bringup challenges.\n\nSONiC's [list of supported devices](https://azure.github.io/SONiC/Supported-Devices-and-Platforms.html)\nshould be crossed referenced though it might not be up to date either.\n\nSome product variants were omitted in the previous list but might be supported\nsee `arista platforms` for a detailed list of supported SKUs.\n\nSome platforms might require custom kernel patches and configs.\nA working configuration is maintained under the [SONiC kernel repository](https://github.com/Azure/sonic-linux-kernel).\n\n## Packaging\n\nThe current debian packaging mechanism creates 4 packages.\n - sonic-platform-arista : system configuration files\n - sonic-platform-arista-libs : shared libraries\n - drivers-sonic-platform-arista : kernel modules and drivers\n - python3-sonic-platform-arista : python3 library to manage the hardware\n\n## Usage\n\nAt boot time the systemd services under `systemd/` are loaded. When runnable they\nwill perform the platform initialization.\n\nThe central piece of the platform support is the `arista` entry point.\nIt is a python script that load the arista platform library to perform actions.\nThis library is python3 only, python2 support is now deprecated.\n\nFor more details on the available commands see the help message\n```\narista --help\n```\n\nThe arista python library also exposes other entry points for APIs.\nSONiC uses a few like `sonic_platform`, `sfputil`, `sonic_eeprom`, ...\n\n## Documentation\n\n - [More details about the sysfs on Arista devices](./README.sysfs.md)\n - [Download Portal for SONiC Images](https://sonic-build.azurewebsites.net/ui/sonic/pipelines)\n - [SONiC Main page](https://azure.github.io/SONiC/)\n - [SONiC Wiki](https://github.com/Azure/SONiC/wiki)\n - [SONiC Documentation](https://github.com/Azure/SONiC/tree/master/doc)\n - [SONiC Build Repository](https://github.com/Azure/sonic-buildimage)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faristanetworks%2Fsonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faristanetworks%2Fsonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faristanetworks%2Fsonic/lists"}