Skip to content

criteo/sonic-salt-deployer

Repository files navigation

SONiC Salt deployer

This repository is part of AFK.

The full documentation can be found here: AFK documentation

The goal of this program is to deploy and configure Salt minions on SONiC devices.

It includes:

  • DNS server configuration
  • Salt minion PEX
  • Update grains script
  • Systemd services / timers

Each part will be deployed only if necessary.

Once deployed, feel free to use our SONiC Salt modules!

Prepare your environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements/base.txt

How to use it

Settings

See settings.env

Usage

pip install -r requirements/base.txt
python ./start.py

Or build the PEX via tox -e bundle and run the executable.

You can use this systemd service and its timer.

How to contribute

see CONTRIBUTING.md