https://github.com/criteo/sonic-saltstack
Saltstack modules for SONiC
https://github.com/criteo/sonic-saltstack
network saltstack sonic
Last synced: 8 months ago
JSON representation
Saltstack modules for SONiC
- Host: GitHub
- URL: https://github.com/criteo/sonic-saltstack
- Owner: criteo
- License: apache-2.0
- Created: 2022-10-10T15:46:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T11:48:28.000Z (over 1 year ago)
- Last Synced: 2025-01-31T07:03:58.432Z (over 1 year ago)
- Topics: network, saltstack, sonic
- Language: Python
- Homepage: https://criteo.github.io/AFK/SONiC-support/SONiC-modules/
- Size: 63.5 KB
- Stars: 3
- Watchers: 10
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# SONiC Saltstack modules
> This repository is part of [AFK](https://criteo.github.io/AFK).
The full documentation can be found here: [AFK documentation](https://criteo.github.io/AFK/SONiC-support/SONiC-modules/)
## Current supported versions
* 201911
* 202205
## BGP requirements
BGP configuration modules require a change to FRR implementation in SONiC.
It requires `/etc/frr` of the BGP container to be a mounted volume to `/etc/sonic/frr`:
* for SONiC >= 202205, you need to enable [split-unified](https://github.com/sonic-net/sonic-buildimage/commit/9d3814045bf950576bb274180ffec001abac1c32)
* for SONiC < 202205, you need to apply the [patch manually](https://github.com/criteo/criteo-sonic-utilities#frr-mounted-configuration).
## Installation
SONiC modules require some custom script to be installed:
* `/opt/salt/scripts/criteo_fdbshow`
* `/opt/salt/scripts/criteo_intf_information`
These scripts are available [SONiC utilities](https://github.com/criteo/criteo-sonic-utilities)
This code assumes some grains are set for each SONiC device:
```yaml
hwsku: some-hardware
nos: sonic
sonic_asic_type: some-asic
sonic_build_date: some-date
sonic_build_version: 201911
sonic_built_by: someone
sonic_commit_id: some-commit-id
```
This is automatically set by our [SONiC Salt Deployer](https://github.com/criteo/sonic-salt-deployer).
## How to contribute
See [CONTRIBUTING.md](CONTRIBUTING.md)